<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:
parent
a17a9826bd
commit
4458216760
@ -153,8 +153,9 @@ course.
|
|||||||
[count]<Leader>ww
|
[count]<Leader>ww
|
||||||
Open index file of the [count]'s wiki.
|
Open index file of the [count]'s wiki.
|
||||||
|
|
||||||
<Leader>ww opens the first wiki from |g:vimwiki_list|.
|
<Leader>ww opens the first wiki from |g:vimwiki_list| if no wiki is
|
||||||
1<Leader>ww as above, opens the first wiki from |g:vimwiki_list|.
|
open. Otherwise the index of the currently active wiki is opened.
|
||||||
|
1<Leader>ww opens the first wiki from |g:vimwiki_list|.
|
||||||
2<Leader>ww opens the second wiki from |g:vimwiki_list|.
|
2<Leader>ww opens the second wiki from |g:vimwiki_list|.
|
||||||
3<Leader>ww opens the third wiki from |g:vimwiki_list|.
|
3<Leader>ww opens the third wiki from |g:vimwiki_list|.
|
||||||
etc.
|
etc.
|
||||||
|
@ -374,9 +374,9 @@ command! VimwikiShowVersion call s:get_version()
|
|||||||
|
|
||||||
" <Plug> global definitions
|
" <Plug> global definitions
|
||||||
nnoremap <silent><script> <Plug>VimwikiIndex
|
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
|
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
|
nnoremap <silent><script> <Plug>VimwikiUISelect
|
||||||
\ :VimwikiUISelect<CR>
|
\ :VimwikiUISelect<CR>
|
||||||
nnoremap <silent><script> <Plug>VimwikiDiaryIndex
|
nnoremap <silent><script> <Plug>VimwikiDiaryIndex
|
||||||
|
Loading…
Reference in New Issue
Block a user