Refactor eshell-visual-commands (and add ncmpcpp)

This commit is contained in:
Henrik Lissner 2018-06-16 16:42:26 +02:00
parent d9944bfc7f
commit 2addfebf8e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -53,9 +53,8 @@
(after! em-term
;; Visual commands require a proper terminal. Eshell can't handle that, so
;; it delegates these commands to a term buffer.
(setq eshell-visual-commands
(append eshell-visual-commands '("tmux" "htop" "bash" "zsh" "fish" "vim" "nvim"))
eshell-visual-subcommands '(("git" "log" "l" "diff" "show"))))
(dolist (cmd '("tmux" "htop" "bash" "zsh" "fish" "vim" "nvim" "ncmpcpp"))
(cl-pushnew cmd eshell-visual-commands)))
(defun +eshell|init-evil ()
"Replace `evil-collection-eshell-next-prompt-on-insert' with