Skip to content

Commit

Permalink
Preserve default binding of M-w in eat-semi-char-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Nov 8, 2023
1 parent bab418c commit 0fec996
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lisp/init-terminals.el
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
(delete-window))))
(add-hook 'eat-exit-hook 'sanityinc/on-eat-exit)

(with-eval-after-load 'eat
(add-to-list 'eat-semi-char-non-bound-keys [?\e ?w])
(eat-update-semi-char-mode-map)
(eat-reload))

(defcustom sanityinc/eat-map
(let ((map (make-sparse-keymap)))
(define-key map (kbd "t") 'eat-other-window)
Expand Down

0 comments on commit 0fec996

Please sign in to comment.