Show Menu
Cheatography

Micha's Vim Keys Cheat Sheet (DRAFT) by

My vim keybindings.

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Fireplace

cqq
Open form under cursor.
cqc
Open empty command line.
cpp
Eval innermost form.
cm
macroexpand-all
form under cursor.
c1m
macroe­xpand-1
form under cursor.
K
Look up symbol with
doc
.
[d
Look up symbol with
source
.
[<C­-D>
Jump to defini­tion.
gf
Go to file for namespace.
:Connect
Connect to nREPL server.
:Doc
clojur­e.r­epl/doc
:Eval
Eval a range.
:%Eval
Eval entire file.
:FindDoc
clojur­e.r­epl­/fi­nd-doc
:lopen
Show last stack trace.
:Require
Require
:reload
.
:Require!
Require
:reloa­d-all
.
:RunTests
clojur­e.t­est­/ru­n-tests
:Source
clojur­e.r­epl­/source
 

Buffers

ah
Go to previous buffer.
al
Go to next buffer
aT
Create a new buffer.
abq
Kill current buffer.
abl
List open buffers.

CtrlP

<C-­x>
Invoke CtrlP.
<C-­f>
Next mode.
<C-­b>
Previous mode.
<C-­d>
Switch to filename mode.
<C-­r>
Switch to regexp mode.
<C-­t>
Open selection in new tab.
<C-­v>
Open in new vertical split.
<C-­CR>
Open in new horizontal split.
<C-­n>
Prompt history next.