Make terminal support Alt + Backspace.

master
Andy Stewart 6 years ago
parent 8208d53177
commit 2fde36ccc8
  1. 5
      eaf.el

@ -459,6 +459,7 @@ Try not to modify this alist directly. Use `eaf-setq' to modify instead."
("C-y" . "yank_text")
("C-S-a" . "select_all")
("C-S-l" . "clear_selection")
("M-DEL" . "eaf-send-alt-backspace-sequence")
)
"The keybinding of EAF Terminal."
:type 'cons)
@ -1139,6 +1140,10 @@ to edit EAF keybindings!" fun fun)))
(interactive)
(eaf-call "send_key_sequence" eaf--buffer-id "C-RET"))
(defun eaf-send-alt-backspace-sequence ()
(interactive)
(eaf-call "send_key_sequence" eaf--buffer-id "M-<backspace>"))
(defun eaf-send-second-key-sequence ()
"Send second part of key sequence to terminal."
(interactive)

Loading…
Cancel
Save