Dotfiles, utilities, and other apparatus.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
2.3 KiB

  1. " a stub vimrc for just running vimwiki on an otherwise stock setup
  2. set nocompatible
  3. set nomodeline
  4. let mapleader = ","
  5. " vundle setup & vundle-managed plugins {{{
  6. filetype off
  7. set rtp+=~/.vim/bundle/Vundle.vim/
  8. call vundle#begin()
  9. " let Vundle manage Vundle - required:
  10. Plugin 'VundleVim/Vundle.vim'
  11. " CUSTOMIZE: vimwikis - for notes, daily logs, etc. {{{
  12. " main personal wiki
  13. let wiki = {}
  14. let wiki.path = '~/notes/vimwiki/'
  15. let wiki.path_html = '~/notes/html/'
  16. let wiki.auto_tags = 1
  17. let wiki.auto_diary_index = 1
  18. let wiki.automatic_nested_syntaxes = 1
  19. " a markdown wiki for testing purposes
  20. let markdownwiki = {}
  21. let markdownwiki.path = '~/notes/markdownwiki'
  22. let markdownwiki.path_html = '~/notes/markdownwiki/html/'
  23. let markdownwiki.auto_tags = 1
  24. let markdownwiki.auto_diary_index = 1
  25. let markdownwiki.automatic_nested_syntaxes = 1
  26. let markdownwiki.syntax = 'markdown'
  27. let markdownwiki.ext = '.md'
  28. " a third wiki for testing https://github.com/vimwiki/vimwiki/issues/1146
  29. let thirdwiki = {}
  30. let thirdwiki.path = '/tmp/thirdwiki'
  31. let thirdwiki.path_html = '/tmp/thirdwiki/html/'
  32. let thirdwiki.auto_tags = 1
  33. let thirdwiki.auto_diary_index = 1
  34. let thirdwiki.automatic_nested_syntaxes = 1
  35. let thirdwiki.syntax = 'markdown'
  36. let thirdwiki.ext = '.md'
  37. " there can be many of these
  38. " let g:vimwiki_list = [wiki, markdownwiki, thirdwiki]
  39. let g:vimwiki_list = [markdownwiki, thirdwiki]
  40. " don't make temporary wikis based on file extensions in the list - this
  41. " is necessary to avoid .md files getting a filetype of vimwiki instead of
  42. " markdown:
  43. let g:vimwiki_global_ext = 0
  44. " XXX: Seeing what the default is here...
  45. " let g:vimwiki_folding = 'expr'
  46. " let g:vimwiki_folding = 'syntax'
  47. " let g:vimwiki_folding = 'list'
  48. " links concealing, etc.
  49. " let g:vimwiki_conceallevel = 0
  50. " don't obscure URLs in links
  51. " let g:vimwiki_url_maxsave = 0
  52. " make links clickable and such
  53. let g:vimwiki_use_mouse = 1
  54. " use colors in header highlighting
  55. let g:vimwiki_hl_headers = 1
  56. Plugin 'vimwiki/vimwiki'
  57. " }}}
  58. call vundle#end()
  59. filetype plugin on
  60. filetype indent on
  61. " Turn on syntax
  62. syntax on
  63. " }}}