emacs: document prot-emacs-window.el key bindings

This commit is contained in:
Protesilaos Stavrou 2023-12-19 19:37:47 +02:00
parent 708c9c6633
commit 7ad56793f8
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -4219,6 +4219,16 @@ case-by-case basis.
(add-hook 'calendar-mode-hook #'prot-common-truncate-lines-silently)
#+end_src
*** The =prot-emacs-window.el= section key bindings
:PROPERTIES:
:CUSTOM_ID: h:49ad5448-2ccd-4f47-82fd-17819ffdbdf3
:END:
Here I simply define some key bindings. The commands I use the most in
this list are ~delete-other-windows-vertically~, ~previous-buffer~,
and ~next-buffer~. I rarely resize windows, though I am happy to use
the mouse for such a case.
#+begin_src emacs-lisp :tangle "prot-emacs-modules/prot-emacs-window.el"
;; NOTE 2022-09-17: Also see `prot-simple-swap-window-buffers'.
(prot-emacs-keybind global-map