vim_wiki.vim 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. let wiki_1 = {}
  2. let wiki_1.syntax = 'markdown'
  3. let wiki_1.ext = '.md'
  4. "set concealcursor=nc
  5. let g:vimwiki_list = [{'path': '~/wiki/',
  6. \ 'syntax': 'markdown', 'ext': '.md'}]
  7. " TAB in general mode will move to text buffer
  8. "nnoremap <TAB> :bnext<CR>
  9. " SHIFT-TAB will go back
  10. "nnoremap <S-TAB> :bprevious<CR>
  11. let g:indentLine_setConceal = 0
  12. let g:indentLine_concealcursor = ""
  13. set conceallevel=0
  14. "let g:vimwiki_list = [{'path': '~/wiki/', 'index': 'main'}]
  15. "Key bindings
  16. "Normal mode:
  17. "<Leader>ww -- Open default wiki index file.
  18. "<Leader>wt -- Open default wiki index file in a new tab.
  19. "<Leader>ws -- Select and open wiki index file.
  20. "<Leader>wd -- Delete wiki file you are in.
  21. "<Leader>wr -- Rename wiki file you are in.
  22. "<Enter> -- Follow/Create wiki link
  23. "<Shift-Enter> -- Split and follow/create wiki link
  24. "<Ctrl-Enter> -- Vertical split and follow/create wiki link
  25. "<Backspace> -- Go back to parent(previous) wiki link
  26. "<Tab> -- Find next wiki link
  27. "<Shift-Tab> -- Find previous wiki link
  28. "For more keys, see :h vimwiki-mappings
  29. "Commands
  30. ":Vimwiki2HTML -- Convert current wiki link to HTML
  31. ":VimwikiAll2HTML -- Convert all your wiki links to HTML
  32. ":help vimwiki-commands -- list all commands
  33. ":help vimwiki -- General vimwiki help docs