Make C-c {h,j,k,l} eshell keybinds evil-only
The h,j,k,l paradigm is distinctly vim's, and should not be bound for vanilla users, so now it's only available to evil users. Also, since C-c l is the vanilla localleader prefix, this causes "Key sequence C-c l b starts with non-prefix key C-c l" errors. Fixes #3224
This commit is contained in:
parent
cb016f21be
commit
2d3eab7a35
1 changed files with 4 additions and 4 deletions
|
@ -137,6 +137,10 @@ You should use `set-eshell-alias!' to change this.")
|
|||
:ni "C-j" #'eshell-next-matching-input-from-input
|
||||
:ni "C-k" #'eshell-previous-matching-input-from-input
|
||||
:ig "C-d" #'+eshell/quit-or-delete-char
|
||||
:i "C-c h" #'evil-window-left
|
||||
:i "C-c j" #'evil-window-down
|
||||
:i "C-c k" #'evil-window-up
|
||||
:i "C-c l" #'evil-window-right
|
||||
"C-s" #'+eshell/search-history
|
||||
;; Emacs bindings
|
||||
"C-e" #'end-of-line
|
||||
|
@ -144,10 +148,6 @@ You should use `set-eshell-alias!' to change this.")
|
|||
"C-c s" #'+eshell/split-below
|
||||
"C-c v" #'+eshell/split-right
|
||||
"C-c x" #'+eshell/kill-and-close
|
||||
"C-c h" #'windmove-left
|
||||
"C-c j" #'windmove-down
|
||||
"C-c k" #'windmove-up
|
||||
"C-c l" #'windmove-right
|
||||
[remap split-window-below] #'+eshell/split-below
|
||||
[remap split-window-right] #'+eshell/split-right
|
||||
[remap doom/backward-to-bol-or-indent] #'eshell-bol
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue