Basics
- C-z To unfuck my shit up
- C-c p a Projectile find file
- C-x Read e(X)ecute
- b Backward
- f Forward
- p Previous (line)
- n Next (line)
- a Begin
- e End
- Arrows On helm list buffer navigate, opens file if press right?
- You don’t want to do buffer management, just use C-c p
Buffer
- C-x C-b Opens buffer list in split window
- d To flag buffer for deletion
- x To remove flagged buffers
- C-x b Opens buffer list on helm
- Ctrl C D Deletes buffer
- Ctrl C a Opens hidden buffers configured with helm-boring-buffer-regexp-list
- Ctrl SPC Flag buffer for deletion
- Alt Shift D Delete flagged buffers
Dired
- C-j Enter file dir
- C-h Go up a level back a dir
- neotree command
- ** f t** Toggle neotree
- Shift+R
Important
- SPC-Tab Switch to last open buffer
- C-c d Close buffer on helm buffer list
- C-x C-b List buffers
- C-x b Quick buffer switch
- C-x k Kill buffer
- C-x C-<left/right> Quick switch buffers
- C-x 1 Closes all windows except the one in focus
- C-x 0 Closes current window, only use when on split
- C-h f Get help with function under cursor
- C-h k CMD Display CMD help
- C-h c CMD Display CMD short help
- C-h m Display docs on current major mode
Config
- # Highlights the word under the cursor and its other ocurrencences
- SPC-s-e iedit enable
- n Navigate to next occurrence of the word
- C-V g r I Multi cursor line begin
- Cl-V g r A Multi cursor line end
Origami folding
- z o Open node
- z c Close node
- z O Open node recursively
- z C Close node recursively
- z p Previous fold
- z n Next fold
- z r Open all nodes
- z m Close all nodes
- z s Show only node
- z a Forward toggle node
- z TAB Recursively toggle-node
Go
- C-c C-j Jump to definition
- C-c C-d Show short description
- , h h
My Keybinds
Commands
- projectile-switch-project -> C-c C-p
- Describe-mode C-h m
I’m good
????
- Start editing line above
- Start editing line below
- Start editing end of word
- Start editing begin word
- Replace word
- Move to line X
- Move X lines down
- Navigate window
- Rename, Delete, Move file & folder
Not Important
- C-a & C-e Move cursor in the line (begin & end)
-
**C-b |
f |
p |
n** Move cursor |
-
**M-b |
f |
p |
n** Move cursor by word |
- C-x C-s Save file
- C-u NUMBER CMD Adds a number to the next command
- M-f & M-b Move cursor by word (forward & backward)
- C-f & C-b Move cursor (forward & backward)
- M-a & M-e Move cursor a paragraph (begin & end)
- M-d Delete word under the cursor
- C-k Kill from cursor to the end of line
- C-o Create line above
- C-/ Undo
- C-g C-/ Redo
- C-x z Repeat last command, hit z to keep repeating
- **C- C-w** Selects text and deletes selection
- C-a C-k C-y Move to the begin of line kill line and yank
- C-x C-f Find file
- C-x s Save buffer
- C-z leave emacs temporarily
- C-h m Show docs on current mode
- C-s C-r Search
- C-x o Move cursor to the “other” window
- C-x C-c End session
- C-V & M-v Scroll entire screen up and down respectively
- C-l Bring the cursor to mid window
Spacemacs
- ** f e d** Open config
- ** f e R** Reload config