emacs: change key bindings for window rotation

This commit is contained in:
Protesilaos Stavrou 2025-03-28 06:44:11 +02:00
parent 3d1c039280
commit bc3e345179
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
2 changed files with 4 additions and 2 deletions

View file

@ -136,7 +136,8 @@
;; Commands for windows and pages
("C-x o" . prot-simple-other-window)
("C-x n k" . prot-simple-delete-page-delimiters)
("C-x M-r" . prot-simple-swap-window-buffers)
("M-r" . rotate-windows) ; Emacs 31 override `move-to-window-line-top-bottom'
("M-S-r" . rotate-windows-back) ; Emacs 31
;; Commands for buffers
("<C-f2>" . prot-simple-rename-file-and-buffer)
("C-x k" . prot-simple-kill-buffer-current)

View file

@ -2530,7 +2530,8 @@ this via some hook.
;; Commands for windows and pages
("C-x o" . prot-simple-other-window)
("C-x n k" . prot-simple-delete-page-delimiters)
("C-x M-r" . prot-simple-swap-window-buffers)
("M-r" . rotate-windows) ; Emacs 31 override `move-to-window-line-top-bottom'
("M-S-r" . rotate-windows-back) ; Emacs 31
;; Commands for buffers
("<C-f2>" . prot-simple-rename-file-and-buffer)
("C-x k" . prot-simple-kill-buffer-current)