diff --git a/vim/.vimrc b/vim/.vimrc index 5d779e6..75f368c 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -20,8 +20,6 @@ set history=1000 " Remap the to , nnoremap -" let mapleader=',' -" let maplocalleader = ',' let mapleader=' ' " Includes ftplugin.vim which is responsible for filetype detection @@ -92,6 +90,8 @@ Plug 'tpope/vim-vinegar' " ======== Experimental ================================= Plug 'w0rp/ale' +Plug 'iamcco/markdown-preview.nvim', + \ { 'do': ':call mkdp#util#install()', 'for': 'markdown', 'on': 'MarkdownPreview' } call plug#end() @@ -360,6 +360,8 @@ if has("autocmd") au filetype help nnoremap au filetype help set nonumber + au filetype markdown nnoremap :MarkdownPreview + au BufNewFile,BufRead Capfile,Gemfile,Vagrantfile setl ft=ruby au BufNewFile,BufRead *.rabl,*.jbuilder setl ft=ruby @@ -636,7 +638,7 @@ xmap \ Commentary nmap \ Commentary nmap \\ CommentaryLine -nnoremap :tabnew ~/iCloud/Notebook/index.md +nnoremap :tabnew ~/iCloud/Notebook/index.md nnoremap vv v " nnoremap ss s TODO: