Cheatography
https://cheatography.com
NavigationUp | k
| Down | j
| Left | h
| Right | l
| Down a page | C-d
| Up a page | C-u
| Up to next paragraph | {
| Down to next paragraph | }
| Prev. function | [[
| Next function | ]]
| Up to outer brace | [{
| Down to outer brace | ]}
| Right a word | w
| Left a word | b
| Beginning of file | gg
| End of file | G
| End of line | $
| First non-whitespace char of line | ^
| Jump to any word | SPC SPC <first letter of word>
| Jump back | C-o
| Center buffer | zz
| Last place edited | g;
| Last file path under cursor | gf
|
| | EditorToggle line numbers | SPC t n
| Toggle auto complete | SPC t a
| Highlight mode | v
| Undo | u
| Redo | C-r
| Comment out line | g c c
| Comment out highlighted | g c
| Copy | y
| Paste | p
| Paste above | P
| Delete | d
| Delete char | x
| Delete until right paren | d f )
| Replace Mode | R
| Replace char | r
| Change | c
| Change all between quotes | c i "
| Previous thing copied | SPC r y
| Indent highlighted text | > and < (also 2> ...
| Show whitespace | SPC t w
| Tabs to spaces | SPC : untabify
|
| | SearchFind in buffer | /<search term> Enter
n (next) N(prev)
| Find next instance (word under cursor) | *
| Find prev instance (word under cursor) | #
| Turn off highlighting | :nohl ENTER
| Find in project | SPC /
| Find (under cursor) in project | SPC *
| Find and replace (all lines) | :%s/foo/bar/gc (gci case-insensitive)
| Find and replace (curr line) | :s/foo/bar/gc
|
LayoutsSplit window vertical | SPC w v
| Split window horizontal | SPC w s
| Switch window | SPC <no of window>
| Layout help | SPC l ?
|
| | CiderJack In | ,'
| Open REPL | C-c C-z
| Set REPL ns | C-c M-n
| Eval Buffer | ,eb
| Eval curr. func | ,ef
| Eval curr. func in REPL | ,se
| Show docs | ,hh
| Reformat buffer | ,=
| Require missing ns | ,ram
| Add project dependency | ,rap
| Add require to ns | ,rar
| Goto source code | ,gg
| Inspect last result | M-x 'cider-inspect-last-result'
| Inspect last result (drill down) | ENTER
| Inspect last result (back out) | C-z (exit evil) l
| Run all tests | ,ta
|
|
Help Us Go Positive!
We offset our carbon usage with Ecologi. Click the link below to help us!
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment