summaryrefslogtreecommitdiff
path: root/emacs-config.org
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2025-07-09 21:07:18 +0100
committerBlake Romero <blake@blkrom.com>2025-07-09 21:07:18 +0100
commit2bdfcec9b6d0adb638de3f39f060746bdd385681 (patch)
tree619561b246e84d4fca55815a2b6e24efacd12578 /emacs-config.org
parent1d8edf41dabb379cae1f5a52b16497e686c76940 (diff)
Add next and previous buffer global keybindings
Diffstat (limited to 'emacs-config.org')
-rw-r--r--emacs-config.org5
1 files changed, 4 insertions, 1 deletions
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=.