Added vimwiki plugin
This commit is contained in:
14
.vimrc
14
.vimrc
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user