about summary refs log tree commit diff
path: root/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2021-11-20T20·26-0800
committerclbot <clbot@tvl.fyi>2022-01-08T05·47+0000
commitff6e1adb8aa19b6dc8789dea4a4009617ebf1164 (patch)
treec51b0b426faef9796e6a41557cd5ae1db7060e62 /users/wpcarro/emacs/.emacs.d/wpc/keybindings.el
parentf1fbddb12138284c1e27569efa68e2da36c0354f (diff)
fix(wpcarro/emacs): Support inserting "+" in a vterm terminal r/3545
Much better :)

Change-Id: Ib8efd5db04ae011f634dcd952fdd5875905ec3e6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4814
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'users/wpcarro/emacs/.emacs.d/wpc/keybindings.el')
-rw-r--r--users/wpcarro/emacs/.emacs.d/wpc/keybindings.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el b/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el
index 531e5ed4ead7..d55c8f6258ab 100644
--- a/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el
+++ b/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el
@@ -255,7 +255,10 @@
  "C-S-w" #'vterm-mgt-kill
  "<C-tab>" #'vterm-mgt-next
  "<C-S-iso-lefttab>" #'vterm-mgt-prev
- "<s-backspace>" #'vterm-mgt-rename-buffer)
+ "<s-backspace>" #'vterm-mgt-rename-buffer
+ ;; Without this, typing "+" is effectively no-op. Try for yourself:
+ ;; (vterm-send-key "<kp-add>")
+ "<kp-add>" "+")
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Displays