29 янв. 2024 г.
In this ~24 minute video I show how to define a prefix key in Emacs using built-in functionality. The idea is to organise our keys in an efficient way. Using this method, we can have nested key maps as well, meaning that the prefix key can have access to the contents of another map which holds more key bindings. Put simply, we can have “C-z“ as a prefix, “C-z b“ as a nested key maps for buffer-related commands, and “C-z f“ for file-related commands. This is a neat way to provide quick access to our most used commands.
* * *
Find all my publications on my website (Emacs, philsophy, Linux, etc.):
15 views
660
176
4 months ago 00:26:22 2
Emacs: abbreviations with abbrev-mode (quick text expansion)
4 months ago 00:23:17 15
Emacs: define prefix/leader key (nested key maps)
4 months ago 00:13:09 2
Emacs: the new Denote sort mechanism (Dired, Org dynamic blocks)