commit 7de61d56be35dd1b256adcf2aec1538ae659b801 parent b02ae4d296c34dc3a3dcff758767d906ef85b7ba Author: Alex Balgavy <alex@balgavy.eu> Date: Thu, 12 Aug 2021 15:45:34 +0200 emacs: some more useful mappings Diffstat:
M | emacs/config.org | | | 14 | ++++++++++++++ |
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org @@ -653,6 +653,20 @@ macOS doesn't have dbus. So I use terminal-notifier for functions like org-notif "-sender" "org.gnu.Emacs")))) #+end_src +** Kill this buffer +I like to be able to kill a buffer instantly: + +#+begin_src emacs-lisp + (global-set-key (kbd "s-<backspace>") 'kill-current-buffer) +#+end_src + +** Toggle fullscreen +I'll use the keybinding that's standard on macOS: + +#+begin_src emacs-lisp + (global-set-key (kbd "C-s-f") #'toggle-frame-fullscreen) +#+end_src + * Notmuch Define some saved searches (i.e. mailboxes):