From: Amin Bandali Date: Sun, 23 Dec 2018 05:03:34 +0000 (-0500) Subject: [emacs/multi-term] toggle between char and line mode with C-c C-j X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/a219024e13f754887cbbe1481823765bc2802263?ds=inline [emacs/multi-term] toggle between char and line mode with C-c C-j --- diff --git a/init.org b/init.org index 31c7a86..045845d 100644 --- a/init.org +++ b/init.org @@ -1930,9 +1930,12 @@ Hopefully temporary. #+begin_src emacs-lisp (use-package multi-term :defer 1 - :bind (("C-c C-j" . term-line-mode) - ("C-c a s m m" . multi-term) - ("C-c a s m p" . multi-term-dedicated-toggle)) + :bind (("C-c a s m m" . multi-term) + ("C-c a s m p" . multi-term-dedicated-toggle) + :map term-mode-map + ("C-c C-j" . term-char-mode) + :map term-raw-map + ("C-c C-j" . term-line-mode)) :config (setq multi-term-program "/bin/screen" ;; TODO: add separate bindings for connecting to existing