Browse Source

add a stub vimrc_justvimwiki for testing vimwiki

main
Brennen Bearnes 10 months ago
parent
commit
07aa93ec09
1 changed files with 69 additions and 0 deletions
  1. +69
    -0
      home/.vim/vimrc_justvimwiki

+ 69
- 0
home/.vim/vimrc_justvimwiki View File

@ -0,0 +1,69 @@
" a stub vimrc for just running vimwiki on an otherwise stock setup
set nocompatible
set nomodeline
let mapleader = ","
" vundle setup & vundle-managed plugins {{{
filetype off
set rtp+=~/.vim/bundle/Vundle.vim/
call vundle#begin()
" let Vundle manage Vundle - required:
Plugin 'VundleVim/Vundle.vim'
" CUSTOMIZE: vimwikis - for notes, daily logs, etc. {{{
" main personal wiki
let wiki = {}
let wiki.path = '~/notes/vimwiki/'
let wiki.path_html = '~/notes/html/'
let wiki.auto_tags = 1
let wiki.auto_diary_index = 1
let wiki.automatic_nested_syntaxes = 1
" a markdown wiki for testing purposes
let markdownwiki = {}
let markdownwiki.path = '~/notes/markdownwiki'
let markdownwiki.path_html = '~/notes/markdownwiki/html/'
let markdownwiki.auto_tags = 1
let markdownwiki.auto_diary_index = 1
let markdownwiki.automatic_nested_syntaxes = 1
let markdownwiki.syntax = 'markdown'
let markdownwiki.ext = '.md'
" there can be many of these
let g:vimwiki_list = [wiki, markdownwiki]
" don't make temporary wikis based on file extensions in the list - this
" is necessary to avoid .md files getting a filetype of vimwiki instead of
" markdown:
let g:vimwiki_global_ext = 0
let g:vimwiki_folding = 'expr'
" let g:vimwiki_folding = 'syntax'
" let g:vimwiki_folding = 'list'
" links concealing, etc.
" let g:vimwiki_conceallevel = 0
" don't obscure URLs in links
" let g:vimwiki_url_maxsave = 0
" make links clickable and such
let g:vimwiki_use_mouse = 1
" use colors in header highlighting
let g:vimwiki_hl_headers = 1
Plugin 'vimwiki/vimwiki'
" }}}
call vundle#end()
filetype plugin on
filetype indent on
" }}}

Loading…
Cancel
Save