Added vimwiki plugin

This commit is contained in:
2019-03-13 15:18:11 -04:00
parent 070383e9a4
commit c6be766c65

14
.vimrc
View File

@@ -63,6 +63,12 @@ Plug 'tpope/vim-markdown'
" one stop shop for vim colorschemes. " one stop shop for vim colorschemes.
Plug 'flazz/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 """ General Functionality
"Plug 'scrooloose/syntastic' "Plug 'scrooloose/syntastic'
"Plug 'tpope/vim-commentary' "Plug 'tpope/vim-commentary'
@@ -80,6 +86,11 @@ Plug 'tpope/vim-fugitive'
call plug#end() 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 " ==> Colors
@@ -151,7 +162,8 @@ nnoremap <Leader>w :w <enter>
nnoremap <Leader>q :bd <enter> nnoremap <Leader>q :bd <enter>
" bring up the copy buffer " bring up the copy buffer
noremap <Leader>x "+ noremap <Leader>x "+
" <F5> to refresh buffer
nnoremap <F5> <C-R>:checktime <CR>
" ----------------------------------------------------------------------------------------------------- " -----------------------------------------------------------------------------------------------------
" ===> Keymaps: With ripgrep and FZF " ===> Keymaps: With ripgrep and FZF