Refactor eshell-visual-commands (and add ncmpcpp)
This commit is contained in:
parent
d9944bfc7f
commit
2addfebf8e
1 changed files with 2 additions and 3 deletions
|
@ -53,9 +53,8 @@
|
||||||
(after! em-term
|
(after! em-term
|
||||||
;; Visual commands require a proper terminal. Eshell can't handle that, so
|
;; Visual commands require a proper terminal. Eshell can't handle that, so
|
||||||
;; it delegates these commands to a term buffer.
|
;; it delegates these commands to a term buffer.
|
||||||
(setq eshell-visual-commands
|
(dolist (cmd '("tmux" "htop" "bash" "zsh" "fish" "vim" "nvim" "ncmpcpp"))
|
||||||
(append eshell-visual-commands '("tmux" "htop" "bash" "zsh" "fish" "vim" "nvim"))
|
(cl-pushnew cmd eshell-visual-commands)))
|
||||||
eshell-visual-subcommands '(("git" "log" "l" "diff" "show"))))
|
|
||||||
|
|
||||||
(defun +eshell|init-evil ()
|
(defun +eshell|init-evil ()
|
||||||
"Replace `evil-collection-eshell-next-prompt-on-insert' with
|
"Replace `evil-collection-eshell-next-prompt-on-insert' with
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue