Feature: VimwikiRenameFile 1/ to other dir 2/ take argument (completable) (Issue #926)

This commit is contained in:
Tinmarino
2020-07-29 00:37:44 -04:00
parent e785c6f5b4
commit 369a64cdc8
3 changed files with 172 additions and 37 deletions

View File

@ -264,7 +264,8 @@ command! -buffer VimwikiDeleteFile call vimwiki#base#delete_link()
command! -buffer VimwikiDeleteLink
\ call vimwiki#base#deprecate("VimwikiDeleteLink", "VimwikiDeleteFile") |
\ call vimwiki#base#delete_link()
command! -buffer VimwikiRenameFile call vimwiki#base#rename_link()
command! -buffer -nargs=? -complete=customlist,vimwiki#base#complete_file
\ VimwikiRenameFile call vimwiki#base#rename_link(<f-args>)
command! -buffer VimwikiRenameLink
\ call vimwiki#base#deprecate("VimwikiRenameLink", "VimwikiRenameFile") |
\ call vimwiki#base#rename_link()