-
Notifications
You must be signed in to change notification settings - Fork 1
vimwiki
Christopher P. Brown edited this page Jan 25, 2022
·
2 revisions
You should definitely just read :help vimwiki, but here are some tips and tricks in the meantime to get you started
- open index -
<Leader>ww - diary
- open today -
<Leader>w <Leader>w - open yesterday -
<Leader>w <Leader>y - open tomorrow -
<Leader>w <Leader>m - open index -
<Leader>wi - reindex index page -
<Leader>w <Leader>i
- open today -
- create link (normal mode) (cursor on text) - Enter
- follow link (nomal mode) (cursor on link) - Enter
- go back - backspace
- jump between links - tab / shift tab
- jump between headers -
]]/[[
- select a wiki:
<Leader>ws - You can use a prefix with any of the "open" commands #quick access and navigating. e.g.
2<Leader>wwto open the home page of wiki #2. - interwiki linking:
[[wn.knowledge:Home.md|Wiki1 homepage]]
- mark a task as complete/incomplete -
C-Space - increase / decrease doneness (normal mode):
gln/glp - search for all open tasks:
:VWS /- \[ \] /then:lope, etc. (:VWS:VimwikiSearch)
what links here?
run :VWB (which is short for :VimwikiBacklinks) and then :lope to see all references
you can go back and forth with :lnext and :lprevious
tag syntax is like such: :tag-example:
Then :VimwikiRebuildTags and then you can :tag <autocomplete> to create a location list, or :VimiwikiGenerateTagLinks to create an index page of all tags