From 0af1e91a41552561fc54cf23c6fd6a84a28b4f1e Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 12 May 2019 13:27:03 -0400 Subject: [PATCH] emacs: fix multi-term C-c C-j binding --- .emacs.d/init.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 8d93b33..87199e9 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1385,9 +1385,7 @@ For disabling the behaviour for certain buffers and/or modes." ("C-c a s m p" . multi-term-prev) ("C-c a s m n" . multi-term-next) :map term-mode-map - ("C-c C-j" . term-char-mode) - :map term-raw-map - ("C-c C-j" . term-line-mode)) + ("C-c C-j" . term-char-mode)) :config (setq multi-term-program "screen" multi-term-program-switches (concat "-c" @@ -1401,6 +1399,7 @@ For disabling the behaviour for certain buffers and/or modes." term-bind-key-alist '(("C-c C-c" . term-interrupt-subjob) ("C-c C-e" . term-send-esc) + ("C-c C-j" . term-line-mode) ("C-k" . kill-line) ;; ("C-y" . term-paste) ("C-y" . term-send-raw) -- 2.20.1