From 2bdfcec9b6d0adb638de3f39f060746bdd385681 Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Wed, 9 Jul 2025 21:07:18 +0100 Subject: Add next and previous buffer global keybindings --- emacs-config.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/emacs-config.org b/emacs-config.org index 5460911..6a4c345 100644 --- a/emacs-config.org +++ b/emacs-config.org @@ -97,12 +97,15 @@ File actions. Window actions. #+begin_src elisp - (keymap-global-set "M-O" #'window-swap-states) (keymap-global-set "M-o" #'other-window) + (keymap-global-set "M-O" #'window-swap-states) (keymap-global-set "M-V" #'scroll-other-window-down) (keymap-global-set "C-S-V" #'scroll-other-window) (keymap-global-set "C-M-<" #'beginning-of-buffer-other-window) (keymap-global-set "C-M->" #'end-of-buffer-other-window) + (keymap-global-set "C-M-]" #'next-buffer) + (keymap-global-set "M-ESC" #'previous-buffer) ; C-M-[ translates to M-ESC +#+end_src Set meta-key quick actions to mirror =C-x DIGIT= bindings, therefore reducing the need for additional keypresses. These bindings override their corresponding numerical argument, however these can be can be alternatively called with =C-u DIGIT= or =C-DIGIT=. -- cgit