My custom keybinds for DOOM Emacs (config.el).
Made to be normie-core and using keybinds I already like using. I really dislike the idea of an efficient text editor being the the one that enables you to learn the most esoteric keybind configurations in the name of »optimization«.
What I like about Emacs is that you get everything in the same context. Editor, compiling, terminal without having to alt+tab all the time in window orderings that are dynamic. So I've forced it accomodate itself to my way of working. It has also been fun to set things up and being deliberate with my choice of config.
| Keybind | Action |
|---|
M-↑ / M-↓ | Move line/selection up/down |
C-c | Copy (yank) |
C-v | Paste (paste after) |
C-x | Cut (delete) |
C-s | Save |
C-a | Select all |
C-z | Undo |
C-y | Redo |
C-k | Toggle comment on line |
C-S-p | Format buffer (LSP) |
| Keybind | Action |
|---|
C-f | Search (swiper) |
C-S-w | Close buffer |
C-ø | Toggle vterm |
| Keybind | Action |
|---|
C-M-↓ | Select next match |
C-M-↑ | Select previous match |
C-M-c | Edit all marked lines |
C-M-a | Select all matches |
| Keybind | Action |
|---|
SPC p c | Compile project |
SPC m r r | Reload config |
| Keybind | Action |
|---|
SPC m b b | cargo build |
SPC m b r | cargo run |
SPC m b t | cargo test |
SPC m b c | cargo check |
Open with C-S-SPC.
| Keybind | Action |
|---|
+ | New directory |
d | Mark for deletion |
x | Confirm deletion |