mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -147,7 +147,7 @@ You should use `set-eshell-alias!' to change this.")
|
||||
[remap evil-window-split] #'+eshell/split-below
|
||||
[remap evil-window-vsplit] #'+eshell/split-right
|
||||
;; To emulate terminal keybinds
|
||||
"C-l" #'eshell/clear
|
||||
"C-l" (cmd! (eshell/clear-scrollback) (eshell-emit-prompt))
|
||||
(:localleader
|
||||
"b" #'eshell-insert-buffer-name
|
||||
"e" #'eshell-insert-envvar
|
||||
|
Reference in New Issue
Block a user