Fix keybindings

This commit is contained in:
Derek Taylor
2024-10-04 12:31:59 -05:00
parent 29644e8cba
commit c0a0464b5a
2 changed files with 9 additions and 0 deletions

View File

@@ -664,6 +664,10 @@
;; Disabling company mode in eshell, because it's annoying.
(setq company-global-modes '(not eshell-mode))
(add-hook 'eshell-mode-hook
(lambda ()
(define-key eshell-mode-map (kbd "<f9>") #'pcomplete-list)))
(use-package eshell-toggle
:custom
(eshell-toggle-size-fraction 3)

View File

@@ -960,6 +960,11 @@ Eshell is an Emacs 'shell' that is written in Elisp.
;; Disabling company mode in eshell, because it's annoying.
(setq company-global-modes '(not eshell-mode))
;; Adding a keybinding for 'pcomplete-list' on F9 key.
(add-hook 'eshell-mode-hook
(lambda ()
(define-key eshell-mode-map (kbd "<f9>") #'pcomplete-list)))
(use-package eshell-toggle
:custom
(eshell-toggle-size-fraction 3)