mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 03:50:24 +10:00
Fix keybindings
This commit is contained in:
@@ -664,6 +664,10 @@
|
|||||||
;; Disabling company mode in eshell, because it's annoying.
|
;; Disabling company mode in eshell, because it's annoying.
|
||||||
(setq company-global-modes '(not eshell-mode))
|
(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
|
(use-package eshell-toggle
|
||||||
:custom
|
:custom
|
||||||
(eshell-toggle-size-fraction 3)
|
(eshell-toggle-size-fraction 3)
|
||||||
|
|||||||
@@ -960,6 +960,11 @@ Eshell is an Emacs 'shell' that is written in Elisp.
|
|||||||
;; Disabling company mode in eshell, because it's annoying.
|
;; Disabling company mode in eshell, because it's annoying.
|
||||||
(setq company-global-modes '(not eshell-mode))
|
(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
|
(use-package eshell-toggle
|
||||||
:custom
|
:custom
|
||||||
(eshell-toggle-size-fraction 3)
|
(eshell-toggle-size-fraction 3)
|
||||||
|
|||||||
Reference in New Issue
Block a user