projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
63c1969
)
emacs: multi-term: add some bindings, send more raw keys
author
Amin Bandali
<bandali@gnu.org>
Sun, 12 May 2019 04:42:14 +0000
(
00:42
-0400)
committer
Amin Bandali
<bandali@gnu.org>
Sun, 12 May 2019 04:42:14 +0000
(
00:42
-0400)
in particular makes using weechat more pleasant
.emacs.d/init.el
patch
|
blob
|
blame
|
history
diff --git
a/.emacs.d/init.el
b/.emacs.d/init.el
index
6e435fd
..
e1f1262
100644
(file)
--- a/
.emacs.d/init.el
+++ b/
.emacs.d/init.el
@@
-1368,7
+1368,10
@@
For disabling the behaviour for certain buffers and/or modes."
(use-package multi-term
:defer 0.6
(use-package multi-term
:defer 0.6
- :bind (("C-c a s m" . multi-term-dedicated-toggle)
+ :bind (("C-c a s m m" . multi-term)
+ ("C-c a s m d" . multi-term-dedicated-toggle)
+ ("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
:map term-mode-map
("C-c C-j" . term-char-mode)
:map term-raw-map
@@
-1387,18
+1390,34
@@
For disabling the behaviour for certain buffers and/or modes."
'(("C-c C-c" . term-interrupt-subjob)
("C-c C-e" . term-send-esc)
("C-k" . kill-line)
'(("C-c C-c" . term-interrupt-subjob)
("C-c C-e" . term-send-esc)
("C-k" . kill-line)
- ("C-y" . term-paste)
+ ;; ("C-y" . term-paste)
+ ("C-y" . term-send-raw)
("M-f" . term-send-forward-word)
("M-b" . term-send-backward-word)
("M-p" . term-send-up)
("M-n" . term-send-down)
("M-f" . term-send-forward-word)
("M-b" . term-send-backward-word)
("M-p" . term-send-up)
("M-n" . term-send-down)
+ ("M-j" . term-send-raw-meta)
+ ("M-y" . term-send-raw-meta)
+ ("M-/" . term-send-raw-meta)
+ ("M-0" . term-send-raw-meta)
+ ("M-1" . term-send-raw-meta)
+ ("M-2" . term-send-raw-meta)
+ ("M-3" . term-send-raw-meta)
+ ("M-4" . term-send-raw-meta)
+ ("M-5" . term-send-raw-meta)
+ ("M-6" . term-send-raw-meta)
+ ("M-7" . term-send-raw-meta)
+ ("M-8" . term-send-raw-meta)
+ ("M-9" . term-send-raw-meta)
("<C-backspace>" . term-send-backward-kill-word)
("<M-DEL>" . term-send-backward-kill-word)
("M-d" . term-send-delete-word)
("M-," . term-send-raw)
("M-." . comint-dynamic-complete))
term-unbind-key-alist
("<C-backspace>" . term-send-backward-kill-word)
("<M-DEL>" . term-send-backward-kill-word)
("M-d" . term-send-delete-word)
("M-," . term-send-raw)
("M-." . comint-dynamic-complete))
term-unbind-key-alist
- '("C-z" "C-x" "C-c" "C-h" "C-y" "<ESC>")))
+ '("C-z" "C-x" "C-c" "C-h"
+ ;; "C-y"
+ "<ESC>")))
(use-package page-break-lines
:defer 0.5
(use-package page-break-lines
:defer 0.5