Spacemacs Hotkeys
emacs
###Open file
Name | Command |
---|---|
open-file | C-x C-f |
open-file-in-other-window | C-x 4 f |
###Undo
Name | Command |
---|---|
undo-tree-undo | C-_ |
undo-tree-redo | M-_ |
###Window
Name | Command |
---|---|
delete-window | C-x 0 |
split-window-below | C-x 2 |
split-window-right | C-x 3 |
open-file-in-other-window | C-x 4 |
switch-to-window-1 | M-1 |
switch-to-window-2 | M-2 |
###Search
Name | Command |
---|---|
search-forward | C-s RET keyword RET |
search-backward | C-r RET keyword RET |
search-in-project | M-m / |
###Buffer
Name | Command |
---|---|
kill-buffer | C-x k |
kill-this-buffer | s-k |
###Move
Name | Command |
---|---|
next-function | M-} |
previous-function | M-{ |
next-line | C-n |
previous-line | C-p |
###Select
Name | Command |
---|---|
select-all | C-x h |
###Paste
Name | Command |
---|---|
paste | C-y |
copy | s-c |
###Replace
Name | Command |
---|---|
match-replace | M-% |
###Ready Only | Name | Command| |—|—| |toggle-ready-only-mode | C-x C-q|
###Buffer
| Name | Command|
|—|—|
|open-buffer | C-x b|
|change-buffer-major-mode | M-x text-mode
RET|
###Erlang Mode | Name | Command| |—|—| |begin-of-function | M-a| |end-of-function | M-e| |comment-dwim | M-;|
###Error | Name | Command| |—|—| |fly-check-next-error | C-c ! n|
###Switch Frame | Name | Command| |—|—| |switch-frame | s-`` |