Show Menu
Cheatography

vim-orgmode Cheat Sheet by

vim org mode

Editing structure

<lo­cal­lea­der­>hN
insert heading above
<lo­cal­lea­der­>hh
insert heading below, taking over children
<lo­cal­lea­der­>hn
insert heading above, after children
m}
move heading down
m{
move heading up
m]]
move subtree down
m[[
move subtree up
yah
yank heading
dah
delete heading
yar
yank subtree
dar
delete subtree
p
paste subtree
>> or >ah
demote header
<< or <ah
promote heading
>ar
demote subtree
<ar
promote subtree

Tags and properties

<lo­cal­lea­der­>st
set tag
 

Hyperlinks

gl
goto link
gyl
yank link
gil
insert link
gn
next link
go
prev link

Using TODO states

Any headline becomes a TODO item when it starts with the word ‘TODO’,
for example: * TODO Write letter to Sam Fortune

<Lo­cal­Lea­der­>ct: Rotate the TODO state of the current item among.
,-> (unmarked) -> TODO -> DONE --.
'-----­---­---­---­---­---­---­---­------'

Multi-­state workflows

You can use TODO keywords to indicate different 'seque­ntial' states in
the process of working on an item, for example:
:let g:org_­tod­o_k­eyw­ord­s=[­'TODO', 'FEEDB­ACK', 'VERIFY', '|', 'DONE', 'DELEG­ATED']


The vertical bar separates the TODO keywords (states that 'need action')
from the DONE states (which need 'no further action'). If you don’t
provide the separator bar, the last state is used as the DONE state.
With this setup, the command <S-­Rig­ht> will cycle an entry from TODO to
FEEDBACK, then to VERIFY, and finally to DONE and DELEGATED.
 

Plain lists

<lo­cal­lea­der­>cl or <CR>
insert plainlist item below
<lo­cal­lea­der­>cL or <C-­S-C­R>
insert plainlist item above

TODO lists

<lo­cal­lea­der­>d
select keyword
<S-­Lef­t>
prev keyword
<S-­Rig­ht>
next keyword
<C-­S-L­eft>
previous keyword set
<C-­S-R­igh­t>
next keyword set

Checkbox lists

<lo­cal­lea­der­>cc
toggle checkbox
<lo­cal­lea­der­>cn or <CR>
insert checkbox below
<lo­cal­lea­der­>cN or <C-­S-C­R>
insert checkbox above

Breaking tasks down into subtasks

To keep the overview over the
fraction of subtasks that are already completed, insert either ‘[/]’ or
‘[%]’ anywhere in the headline. These cookies will be updated each time
the TODO status of a child changes. For example:
* Organize Party [33%]

    ** TODO Call people [1/2]

    * TODO Peter

    * DONE Sarah

    ** TODO Buy food

    ** DONE Talk to neighbor


<lo­cal­lea­der­>c# Update the checkboxes status of current heading. It
also update the heading status too.
 

Export

<lo­cal­lea­der­>ep
export as PDF
<lo­cal­lea­der­>eb
export as beamer PDF
<lo­cal­lea­der­>eh
export as HTML
<lo­cal­lea­der­>el
export as LaTeX

Dates

<lo­cal­lea­der­>sa
insert date
<lo­cal­lea­der­>si
insert inactive date
<lo­cal­lea­der­>pa
insert date by using calendar selection
<lo­cal­lea­der­>pi
insert inactive date by using calendar selection

Agenda

<lo­cal­lea­der­>caa
agenda for the week
<lo­cal­lea­der­>cat
agenda of all TODOs
<lo­cal­lea­der­>caA
agenda for the week for current buffer
<lo­cal­lea­der­>caT
agenda of all TODOs for current buffer
   
 

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

          VI Editor Cheat Sheet
          Vim NERDTree Cheat Sheet
          Helix Keyboard Shortcuts