diff --git a/.vimrc b/.vimrc index 55bd6ff..6b73a5c 100644 --- a/.vimrc +++ b/.vimrc @@ -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 :call nerdcommenter#Comment('n', 'invert') nnoremap :call nerdcommenter#Comment('n', 'append') + +" markdown preview settings +nnoremap :MarkdownPreviewToggle