From a219024e13f754887cbbe1481823765bc2802263 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 23 Dec 2018 00:03:34 -0500 Subject: [PATCH 1/1] [emacs/multi-term] toggle between char and line mode with C-c C-j --- init.org | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 -- 2.20.1