<leader>ww opens the currently active wiki.

The previous behavior was to open the index of the first wiki. This
change makes the command more consistent with similar mappings.
Closes #741.
This commit is contained in:
Rane Brown
2019-08-25 14:25:31 -06:00
parent a17a9826bd
commit 4458216760
2 changed files with 5 additions and 4 deletions

View File

@ -374,9 +374,9 @@ command! VimwikiShowVersion call s:get_version()
" <Plug> global definitions
nnoremap <silent><script> <Plug>VimwikiIndex
\ :<C-U>call vimwiki#base#goto_index(v:count1)<CR>
\ :<C-U>call vimwiki#base#goto_index(v:count)<CR>
nnoremap <silent><script> <Plug>VimwikiTabIndex
\ :<C-U>call vimwiki#base#goto_index(v:count1, 1)<CR>
\ :<C-U>call vimwiki#base#goto_index(v:count, 1)<CR>
nnoremap <silent><script> <Plug>VimwikiUISelect
\ :VimwikiUISelect<CR>
nnoremap <silent><script> <Plug>VimwikiDiaryIndex