Open thorlucas opened 3 years ago
I use the two following shorthands to do most of what you're looking for. I didn't try out the polling version, but hopefully you find it useful.
nmap <Leader>zmv <Plug>VimwikiRenameFile
nmap <Leader>zrn :let @*=zettel#vimwiki#new_zettel_name(zettel#vimwiki#get_title(expand("%")))<cr>:VimwikiRenameFile<cr>
If I have a filename format such as
201129-0158-foobar
andtitle: foobar
, if I change the title it should also change the filename. Alternatively, there should be a:ZettelRename
command that does that (if polling for changes to the title field is too intensive).