tweak(eshell): bind C-l to clear-scrollback
Make C-l have the same behavior as the clear alias by clearing the scrollback.
This commit is contained in:
parent
5962db9f49
commit
012b97fafb
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ You should use `set-eshell-alias!' to change this.")
|
||||||
[remap evil-window-split] #'+eshell/split-below
|
[remap evil-window-split] #'+eshell/split-below
|
||||||
[remap evil-window-vsplit] #'+eshell/split-right
|
[remap evil-window-vsplit] #'+eshell/split-right
|
||||||
;; To emulate terminal keybinds
|
;; To emulate terminal keybinds
|
||||||
"C-l" #'eshell/clear
|
"C-l" (cmd! (eshell/clear-scrollback) (eshell-emit-prompt))
|
||||||
(:localleader
|
(:localleader
|
||||||
"b" #'eshell-insert-buffer-name
|
"b" #'eshell-insert-buffer-name
|
||||||
"e" #'eshell-insert-envvar
|
"e" #'eshell-insert-envvar
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue