Vimwiki

  • [ ] Find how to include taskwarrior tasks from title filters #ff0a7f33

    • Check this issue for markdown viewport functionality #32288bd0

    Having two way syncronization should be a must.

  • [ ] Find a way to automatically include mardkwon partials. #0e0bbf42
    Something like mardkown pp can be the key to achieve this

Cheatsheet

http://thedarnedestthing.com/vimwiki%20cheatsheet

Wiki management

1
2
3
4
5
6
7
8
9
|----------------------|---------------------------------|
| Action | Description |
|----------------------|---------------------------------|
| [number] <leader> ww | open wiki index file |
| [number] <leader> wt | open wiki index file in new tab |
| <leader> ws | list and select available wikis |
| <leader> wd | delete wiki page |
| <leader> wr | rename wiki page |
|----------------------|---------------------------------|

number is relative wiki order as defined in .vimrc, default 1.

Diary management

1
2
3
4
5
6
7
8
9
10
|--------------------------------|---------------------------------------------|
| Action | Description |
|--------------------------------|---------------------------------------------|
| [number] <leader> wi | open diary index file for wiki |
| <leader> w <leader> i | update current diary index |
| [number] <leader> w <leader> w | open today’s diary file for wiki |
| [number] <leader> w <leader> t | open today’s diary file for wiki in new tab |
| <C-Up> | open previous day’s diary |
| <C-Down> | open next day’s diary |
|--------------------------------|---------------------------------------------|

number is relative wiki order as defined in .vimrc, default 1.

1
2
3
4
5
6
7
8
9
|-------------|-------------------------------------|
| Action | Description |
|-------------|-------------------------------------|
| <CR> | follow/create wiki link |
| <C-S-CR> | follow/create wiki link in new tab |
| <backspace> | go back to previous wiki page |
| <Tab> | go to next link on current page |
| <S-Tab> | go to previous link on current page |
|-------------|-------------------------------------|

Editing shortcuts

1
2
3
4
5
6
7
8
9
10
11
12
13
14
|------------|------------------------------------|
| Action | Description |
|------------|------------------------------------|
| <C-Space> | toggle list item on/off |
| = | add header level |
| - | remove header level |
| + | create/decorate links |
| glm | increase indent of list item |
| gll | decrease indent of list item |
| gl* | or gl8 switch or insert “*” symbol |
| gl# or gl3 | switch or insert “#” symbol |
| gl- | switch or insert “-“ symbol |
| gl1 | switch or insert “1.” symbol |
|------------|------------------------------------|

Table shortcuts

1
2
3
4
5
6
7
8
9
|------------|-----------------------------------|
| action | Description |
|------------|-----------------------------------|
| <A-Left> | move column left |
| <A-right> | move column right |
| <CR> | (insert mode) go down/create cell |
| <Tab> | (insert mode) go next/create cell |
| gqq or gww | reformat table |
|------------|-----------------------------------|

text objects

1
2
3
4
5
6
7
8
9
10
|--------|-----------------------------------------------------------|
| object | Description |
|--------|-----------------------------------------------------------|
| ah | section between 2 headings including empty trailing lines |
| ih | section between 2 headings excluding empty trailing lines |
| a\ | table cell |
| i\ | inner table cell |
| ac | table column |
| ic | inner table column |
|--------|-----------------------------------------------------------|

Commands

Create a table

1
:VimwikiTable

Comments

⬆︎TOP