Add markdown preview plugin

This commit is contained in:
Yash Karandikar 2022-06-24 20:49:55 +05:30
parent cedaa5d1b4
commit 015b546ee6
1 changed files with 4 additions and 0 deletions

4
.vimrc
View File

@ -27,6 +27,7 @@ Plug 'vim-airline/vim-airline-themes'
Plug 'tpope/vim-fugitive'
Plug 'valloric/MatchTagAlways'
Plug 'preservim/nerdcommenter'
Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app && yarn install' } " requires nodejs and yarn installed
call plug#end()
@ -73,3 +74,6 @@ let g:NERDCreateDefaultMappings = 0
let g:NERDSpaceDelims = 1
nnoremap <C-_> :call nerdcommenter#Comment('n', 'invert')<CR>
nnoremap <C-S-a> :call nerdcommenter#Comment('n', 'append')<CR>
" markdown preview settings
nnoremap <C-p> :MarkdownPreviewToggle<CR>