summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2018-12-23 00:03:34 -0500
committerAmin Bandali <bandali@gnu.org>2018-12-23 00:03:34 -0500
commita219024e13f754887cbbe1481823765bc2802263 (patch)
tree8870e500adf7f6cf34b1f7924cc31d14f76c29bb
parent23cd3185f768c68aed6d8035a72502e95587db1d (diff)
downloadconfigs-a219024e13f754887cbbe1481823765bc2802263.tar.gz
configs-a219024e13f754887cbbe1481823765bc2802263.tar.xz
configs-a219024e13f754887cbbe1481823765bc2802263.zip
[emacs/multi-term] toggle between char and line mode with C-c C-j
Diffstat (limited to '')
-rw-r--r--init.org9
1 files 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