Logseq Vim Plugin is amazing, but has a LOT of options so here's my cheatsheet to help memorize them.
|
Move to next line
|
j
|
|
Move to previous line
|
k
|
|
Highlight focus out to parent level
|
h
|
|
Highlight focus into child level
|
l
|
|
Move to next sibling
|
J
|
|
Move to previous Sibling
|
K
|
|
Go to top of page
|
T
|
|
Go to bottom of page
|
G
|
|
Unfold block
|
zo
|
|
Fold block
|
zc
|
|
Unfold hierarchically
|
zO
|
|
Fold hierarchically
|
zC
|
|
Follow first link in block
|
CTR+SHIFT+Enter
|
|
Save current page or block as mark to NUMBER
|
N+m
|
|
Go to saved mark
|
N+'
|
|
Load saved mark on sidebar
|
N+ctrl+'
|
|
Baidu
|
sb
|
|
Wikipedia
|
se
|
|
Google
|
sg
|
|
Github
|
sh
|
|
Stackoverflow
|
ss
|
|
Youtube
|
sy
|
|
Edit end of line
|
a or A
|
|
Edit begin of line
|
i or I
|
|
Insert block below
|
o
|
|
Insert block above
|
O
|
|
Undo
|
u
|
|
Redo
|
ctrl+r
|
|
Change block to lowercase
|
gu
|
|
Change block to UPPERCASE
|
gU
|
|
Outdent
|
H
|
|
Indent
|
L
|
|
Copy Current Block
|
yy
|
|
Copy Current Block ref
|
Y
|
|
Cut Current Block
|
dd
|
|
Paste to next sibling
|
p
|
|
Paste to previous sibling
|
P
|
|
Search page
|
/
|
|
Next match
|
n
|
|
Previous match
|
N
|
|
Insert Emoji
|
/Insert Emoji
|
|
Sort children from a to z
|
/Sort Blocks
|
|
Sort children from z to a
|
/Reverse Sort Blocks
|
|
Random block background color
|
/Random Bg Color
|
|
Random block color to children
|
/Children Random Bg Color
|
|
:s
|
Replace current block according regex, e.g. s/foo/bar/gi, Notice it support Regex modifiers.
|
|
:marks
|
Show marks
|
|
:delm
|
Delete specific mark ids, e.g. :delm 1 2 3
|
|
:delm!
|
Delete all marks
|
|
:m
|
Go to merk, e.g. :m1
|
|
:go
|
Go to page or block
|
|
:re
|
Rename current page, if exists, it will merge
|
|
:undo
|
Undo
|
|
:redo
|
Redo
|
|
:lorem
|
Lorem Ipsom generator
|
|
:emoji
|
Emoji picker
|
|
:sort
|
Sort child blocks
|
|
:bg
|
Set background color
|
|
:bg-random
|
Set random bg color
|
|
:bg-clear
|
Remove bg color
|
|
:copy-path
|
Get absolute path for use outside logseq
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.