Add binding for EOF (^D) in term
Bind term-send-eof only in insert mode This is a useful binding to have, and is bound similarly to term-send-esc (`C-c C-e`) and term-interrupt-subjob (`C-c C-c`).
This commit is contained in:
parent
6a9225299d
commit
8180feff89
1 changed files with 2 additions and 1 deletions
|
@ -1980,7 +1980,8 @@ Put (global-hungry-delete-mode) in dotspacemacs/config to enable by default."
|
|||
(interactive)
|
||||
(term-send-raw-string "\t"))
|
||||
|
||||
(add-to-list 'term-bind-key-alist '("<tab>" . term-send-tab)))))
|
||||
(add-to-list 'term-bind-key-alist '("<tab>" . term-send-tab))
|
||||
(evil-define-key 'insert term-raw-map (kbd "C-c C-d") 'term-send-eof))))
|
||||
|
||||
(defun spacemacs/init-neotree ()
|
||||
(use-package neotree
|
||||
|
|
Reference in a new issue