diff options
author | Amin Bandali <bandali@gnu.org> | 2018-12-23 00:03:34 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2018-12-23 00:03:34 -0500 |
commit | a219024e13f754887cbbe1481823765bc2802263 (patch) | |
tree | 8870e500adf7f6cf34b1f7924cc31d14f76c29bb | |
parent | 23cd3185f768c68aed6d8035a72502e95587db1d (diff) | |
download | configs-a219024e13f754887cbbe1481823765bc2802263.tar.gz configs-a219024e13f754887cbbe1481823765bc2802263.tar.xz configs-a219024e13f754887cbbe1481823765bc2802263.zip |
[emacs/multi-term] toggle between char and line mode with C-c C-j
-rw-r--r-- | init.org | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 |