Show Menu
Cheatography
  • Building New PDFs

Quick Cheatsheet I setup for all the Logseq shortcuts I keep forgetting

Basics Global

shift+­click
Open link in sidebar
shift+­right click
Open block context menu
ctrl+[
Backwards
ctrl+]
Forwards
ctrl+k
Full text search
ctrl+s­hift+k
Search current page
ctrl+z
Undo
shift+­ctrl+z or ctrl+y
Redo
ctrl+x
Cut
ctrl+c
Copy selection or block reference
ctrl+s­hift+c
Copy selection as text
ctrl+v
Paste

Navigation Go To

g h
Go to home
g j
Go to journals
g a
Go to all pages
g g
Go to graph view
g f
Go to flashcards
g t
Go to tomorrow
g n
Go to next journal entry
g p
Go to previous journal entry
g s
Go to keyboard shortcuts

Toggle

?
Toggle help
t o
Toggle open blocks
t w
Toggle wide mode
t c
Toggle cards
t d
Toggle Document Mode
ctrl+c ctrl+b
Toggle display brackets
t t
Toggle Dark/Light mode
t l
Toggle left sidebar
t r
Toggle right sidebar
t s
Toggle settings
alt+sh­ift+c
Toggle contents in sidebar
 

Block Navigation Editing Mode

Enter
Enter edit mode
ESC
Exit edit mode
Up a line
Down a line
alt+
Zoom into block
alt+
Zoom out editing block

Block Navigation Block mode

ESC
Go to block mode
Enter
Go to edit mode
Up a block
Down a block
alt+
Backwards
alt+
Forwards

Move blocks

tab
Indent block
shift+tab
Outdent block
alt+shift+
Move block up
alt+shift+
Move block down

Select Text

click & drag
Select text
double click & drag
Select words
triple click & drag
Select lines
shift+­arrow
Select text
ctrl+s­hif­t+arrow
Select words
ctrl+a
Select full line in edit mode
ctrl+a
Select full page in block mode

Specials

ctrl+s­hift+p
Open command palette
ctrl+s­hift+j
Open todays page in sidebar
ctrl+c ctrl+c
Clear right sidebar
ctrl+d ctrl+a
Open file in default app
ctrl+d ctrl+i
Open file in parent directory
ctrl+c ctrl+s
Rebuild search index
ctrl+s­hift+f
Add/Remove favorites
ctrl+s­hift+y
Insert youtube timestamp
ctrl+s­hift+1
Run git command
 

Simple Queries

/query
Start Query
(and A B)
Both need to be true
(or A B)
One needs to be true
(not A)
A should not be true
(task A B)
Get all tasks with state A or B
(task TODO)
Find all tasks TODO
(namespace A)
Get everything from namespace A
(page-­pro­perty A)
page property A exists
(page-­pro­perty A B)
page property A equals B
(property A)
Find anything with property A
(priority A)
Filter on priority A
(page-tags A)
Filter on page tags A
(between :-1d :-3d)
Filter journal entries between yesterday and 3 days ago
(block­-co­ntent abc)
Does a block contain the string abc
(page abc)
Get page abc
(page-ref abc)
All blocks that refer to page abc

Favorite Queries

Get all tasks that are open en tagged with ABC
{{query (and (task TODO DOING) [[ABC]]) }}
Query subsection of a page
{{query (and (page <% current page %>) [[tag]] )}}
Find all templates
{{query (property template) }}
All tasks related to current page
{{query (and <% current page %> (task TODO DOING DONE) )}}
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          sqlite3 Cheat Sheet
          JQL (JIRA Query Language) Cheat Sheet