all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Keybinding excluding specific modes
@ 2022-08-29 20:37 uzibalqa
  2022-08-29 21:24 ` wilnerthomas--- via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 3+ messages in thread
From: uzibalqa @ 2022-08-29 20:37 UTC (permalink / raw)
  To: uzibalqa via Users list for the GNU Emacs text editor


Whilst I can set a keybinding according to mode (e.g. emacs-lisp-mode-map)

 (define-key emacs-lisp-mode-map (kbd "H-e") #'eval-last-sexp)

how can I use the same key combination for eval-last-sexp when not in lisp type modes?



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-29 23:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-29 20:37 Keybinding excluding specific modes uzibalqa
2022-08-29 21:24 ` wilnerthomas--- via Users list for the GNU Emacs text editor
2022-08-29 23:13   ` Michael Heerdegen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.