commit 95d4c095d0a615c9586df49d3bc0eedec8e4ea4d
parent 734d0143675e64966881ee62f89391d3c2b4c06d
Author: Daniel <danetrata@gmail.com>
Date: Sun, 18 Dec 2016 13:02:51 -0600
Added the option to open vimwiki in a pane.
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)
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/autoload/vimwiki/base.vim b/autoload/vimwiki/base.vim
@@ -1335,8 +1335,6 @@ function! vimwiki#base#goto_index(wnum, ...) "{{{
let cmd = 'edit'
endif
- echomsg 'Passed argument '.a:0.'. Using cmd '.cmd
-
call Validate_wiki_options(idx)
call vimwiki#base#edit_file(cmd,
\ VimwikiGet('path', idx).VimwikiGet('index', idx).