doom

My literate doom emacs config
git clone https://github.com/michaelneuper/doom.git
Files | Log | Refs

commit b39a80233a2ae75f46b6325cdef33f1b199dd188
parent fa00de5fb73c3ff94e9ccc1749408bf245bcf46b
Author: Michael Neuper <michael@michaelneuper.com>
Date:   Wed,  3 Sep 2025 19:22:36 +0200

enable vim and emacs bindings in vterm

Diffstat:
Mconfig.org | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/config.org b/config.org @@ -755,6 +755,19 @@ Formats as: propertized \" at <icon> on  <branch-name>\"" (map! :map eshell-mode-map :ni "C-r" #'+eshell/search-history)) #+end_src +*** vterm +Some settings in my =.zshrc= cause issues in vterm, +so I use this environment variable to disable them when running inside vterm. +#+begin_src emacs-lisp +(after! vterm + (setq vterm-environment '("VTERM=1")) + + (map! :map vterm-mode-map + :ni "C-j" #'vterm-send-down + :ni "C-k" #'vterm-send-up + :i "C-b" #'backward-char + :i "C-f" #'forward-char)) +#+end_src ** :tools *** debugger #+begin_src emacs-lisp