From c6be766c65c10f660c9d267265b2d4ebe7d216d5 Mon Sep 17 00:00:00 2001 From: "chawley (chawley-HP-EliteBook-840-G3)" Date: Wed, 13 Mar 2019 15:18:11 -0400 Subject: [PATCH] Added vimwiki plugin --- .vimrc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index e484564..9a661d0 100644 --- a/.vimrc +++ b/.vimrc @@ -63,6 +63,12 @@ Plug 'tpope/vim-markdown' " one stop shop for vim colorschemes. Plug 'flazz/vim-colorschemes' +" vim instant markdown - preview md in browser +Plug 'suan/vim-instant-markdown' + +" Vim Wiki (about time) +Plug 'vimwiki/vimwiki' + """ General Functionality "Plug 'scrooloose/syntastic' "Plug 'tpope/vim-commentary' @@ -80,6 +86,11 @@ Plug 'tpope/vim-fugitive' call plug#end() +" ---------------------------------------------------------------------------------------------------- +" ==> VimWiki (https://www.youtube.com/watch?v=ONh95PNBW-Q) + let g:vimwiki_ext2syntax = {'.md': 'markdown', '.markdown': 'markdown'} + filetype plugin on + syntax on " ---------------------------------------------------------------------------------------------------- " ==> Colors @@ -151,7 +162,8 @@ nnoremap w :w nnoremap q :bd " bring up the copy buffer noremap x "+ - +" to refresh buffer +nnoremap :checktime " ----------------------------------------------------------------------------------------------------- " ===> Keymaps: With ripgrep and FZF