This is my GNU Emacs configuration.
Note
|
Only tested on Emacs version 25+. |
The configuration is maintained using straight.el for package management and use-package for package initialization and configuration.
Everything is self-contained in init.el
and other elisp files. The package manager is bootstraped if needed. Simply clone and launch emacs:
mv -v ~/.emacs.d{,.old}
git clone https://github.com/kode9/conf-emacs.git ~/.emacs.d
emacs --debug-init &
Caution
|
The first start might take some time as dependencies are cloned and built. |
The configuration provides integration of external tools:
-
A spell checker such as Aspell or Hunspell for the built-in spell checker and Flycheck
TL;DR M-x describe-personal-keybindings RET
Keybinding | Function |
---|---|
C·h P |
|
C·h f |
|
C·h i |
|
C·h k |
|
C·h m |
|
C·h p |
|
C·h t |
|
C·h v |
|
C·h w |
|
Keybinding | Description | Function |
---|---|---|
C·c p p |
Switch to a known project |
|
C·c p q |
Switch to a project currently opened |
|
C·c p v |
Show VCS status ( |
|
C·c p f |
Jump to a project’s file |
|
C·c p o f |
Jump to a project’s file in other window |
|
C·c p e |
Jump to a project’s recent file |
|
C·c p l |
Jump to a file in a directory |
|
C·c p d |
Jump to a project’s directory |
|
C·c p b |
Switch to a project buffer |
|
C·c p o b |
Switch to a project buffer in other window |
|
C·c p o s |
Show a project buffer in other window |
|
C·c p o k |
Kills all project buffers |
|
C·c p a |
Switch between files with same name |
|
C·c p o a |
Switch between files with same name other window |
|
C·c p & |
Runs async-shell-command in the root directory |
|
C·c p C |
Run project configure command |
|
C·c p c |
Run project compilation command |
|
C·c p u |
Run project run command |
|
Keybinding | Description | Function |
---|---|---|
C·c p r |
Runs interactive query-replace on all files in the projects |
|
C·= |
Increase selected region by semantic units |
|
M·= |
Contract the selected region to its previous size |
|
Function | Description |
---|---|
|
Global mode that format & clean buffer before save |
|
Open the custom file |
|
Indent region or buffer |
|
Reopen the current file as root |
-
Hydra
-
Window management
-
Swap windows
-
Check existing searcher (ripgrep, ag, grep)
-
chmod
-
keymaps
-
use functions in abz/abz.el
-
compress backup-each-save ⇒ fork ⇒ gz/zst w/ auto-compression mode, see undo-tree source
-
elpy → gitignore → no littering
-
github.com/jwiegley/use-package#use-package-ensure-system-package