Closed knowler closed 4 years ago
For now, using the GUI seems to be easier than the terminal since there is a lot of shortcut conflicts. For example, Alacritty doesn’t seems to register Meta
as alt
in emacs. I did figure out the Alacritty config to handle this, but then I had issues with some of my tmux navigation commands conflicting.
So, compared to vim:
Quit: C-x C-c
I could be wrong, but the window related shortcuts seem to use the prefix: C-x
.
https://github.com/knowler/dotfiles/pull/8#issuecomment-735556471
If for whatever reason, alt
cannot be used as the modifier, then Emacs will use Escape
.
A goal I have in learning here is to not waste a ton of time on rebinding the keys.
By default, the prefix keys in Emacs are ‘C-c’, ‘C-h’, ‘C-x’, ‘C-x
’, ‘C-x @’, ‘C-x a’, ‘C-x n’, ‘C-x r’, ‘C-x t’, ‘C-x v’, ‘C-x 4’, ‘C-x 5’, ‘C-x 6’, , ‘M-g’, and ‘M-o’. Typing the help character (‘C-h’ or ) after a prefix key displays a list of the commands starting with that prefix
M-x
- execute-extended-command
C-g
- keyboard-quit
(like quit the half-baked action)C-/
- undo
C-x C-c
- save-buffers-kill-terminal
(quits emacs)C-x C-s
- save-buffer
C-y
- yank
(yank the last kill into buffer, at point)C-x 1
- Close all other windowsC-x 2
- Vertical splitC-x 3
- Horizontal split
If my vim-brain can handle this. Will dump notes here.