emacs: Enable with-editor in terminals
This commit is contained in:
@@ -226,10 +226,13 @@ nice for pinning a dired buffer to the side to use as a file browser.
|
|||||||
Install magit, the emacs porcelain for git.
|
Install magit, the emacs porcelain for git.
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package magit
|
(use-package magit
|
||||||
:custom (magit-bury-buffer-function 'magit-mode-quit-window))
|
:custom (magit-bury-buffer-function 'magit-mode-quit-window))
|
||||||
|
|
||||||
(use-package with-editor)
|
(use-package with-editor
|
||||||
|
:init (add-hook 'shell-mode-hook 'with-editor-export-editor)
|
||||||
|
(add-hook 'term-exec-hook 'with-editor-export-editor)
|
||||||
|
(add-hook 'eshell-mode-hook 'with-editor-export-editor))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Terminals (=multi-Term=)
|
*** Terminals (=multi-Term=)
|
||||||
|
|||||||
Reference in New Issue
Block a user