From c24b07132d2dbe827d29f395a15370e24c6c5235 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 2 Apr 2020 14:41:26 -0400 Subject: auto push --- modules/vim_wiki.vim | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 modules/vim_wiki.vim (limited to 'modules/vim_wiki.vim') diff --git a/modules/vim_wiki.vim b/modules/vim_wiki.vim new file mode 100644 index 00000000..4bce4f0e --- /dev/null +++ b/modules/vim_wiki.vim @@ -0,0 +1,32 @@ +let g:vimwiki_list = [{'path': '~/wiki/', + \ 'syntax': 'markdown', 'ext': '.md'}] + +" TAB in general mode will move to text buffer +nnoremap :bnext +" SHIFT-TAB will go back +nnoremap :bprevious + + + +"let g:vimwiki_list = [{'path': '~/wiki/', 'index': 'main'}] +"Key bindings +"Normal mode: + +"ww -- Open default wiki index file. +"wt -- Open default wiki index file in a new tab. +"ws -- Select and open wiki index file. +"wd -- Delete wiki file you are in. +"wr -- Rename wiki file you are in. +" -- Follow/Create wiki link +" -- Split and follow/create wiki link +" -- Vertical split and follow/create wiki link +" -- Go back to parent(previous) wiki link +" -- Find next wiki link +" -- Find previous wiki link +"For more keys, see :h vimwiki-mappings + +"Commands +":Vimwiki2HTML -- Convert current wiki link to HTML +":VimwikiAll2HTML -- Convert all your wiki links to HTML +":help vimwiki-commands -- list all commands +":help vimwiki -- General vimwiki help docs -- cgit v1.2.3