This change introduces a new global diary command "VimwikiMakeTomorrowDiaryNote". The purpose is the
same as VimwikiMakeYesterdayDiaryNote, except it allows
you to create a diary note in the future.
I find this useful when trying to plan my day the night before.
- make it work for markdown and media syntax as well
- don't find headers in preformatted text or headers of the form = foo ==
- introduce iH and aH text objects for headers plus subheaders
- add a count to include parent headers
Inspired by #462
This was committed by accident. Since 53745e8 had to be done by machine
this it not a real revert, but a redo of 53745e8. Due to the matter of
53745e8 it's slightly different.
* Allow HTML-style comment syntax
Allow <!-- HTML comments --> in vimwiki's highlight for markdown.
* Avoid matching "TODO" on word boundaries
Do not match e.g. "xTODO:" as if it were "TODO:".
This also lifts the requirement of ":" after these keywords
(it is more flexible to just require a word boundary regardless of what).
The list of diary entries now is not indented according to the vim
`shiftwidth` setting, but gets the indentation from list_margin (as is
the case for `vimwiki#base#generate_links`).
If this variable is present, then for some reason the complete ftplugin
file is sourced everytime a Vimwiki buffer is entered, even if the
buffer has been entered before, i.e. the guard b:did_ftplugin has no
effect. (See /usr/share/vimXX/ftplugin.vim)
Deleting these lines. I don't think undoing the settings is a common use
case, anyway.
1 tabedit
2 split
3 vsplit
Similar to opening a tab,::
vimwiki#base#goto_index(v:count1, 1)
we can now open a split with::
vimwiki#base#goto_index(v:count1, 2)
and a vertical split with::
vimwiki#base#goto_index(v:count1, 3)
1 tabedit
2 split
3 vsplit
Similar to opening a tab,::
vimwiki#base#goto_index(v:count1, 1)
we can now open a split with::
vimwiki#base#goto_index(v:count1, 2)
and a vertical split with::
vimwiki#base#goto_index(v:count1, 3)