From b7916c11c9896565553a234e58b1a5e20097478a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Fri, 4 Sep 2020 12:09:43 +0200 Subject: [PATCH] Upated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- .vimrc | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.vimrc b/.vimrc index 66ba066..f6153a0 100644 --- a/.vimrc +++ b/.vimrc @@ -23,7 +23,6 @@ Plug 'prettier/vim-prettier', { 'do': 'npm install --force' } Plug 'iamcco/markdown-preview.nvim', { 'do': 'npm install --force' } Plug 'ycm-core/YouCompleteMe', { 'do': 'python3 install.py --clangd-completer --java-completer'} " Problem with vim-prettier -" " git checkout -b test origin/feature/issue-232-add-support-for-prettier-2.x; " npm install --force call plug#end() @@ -53,6 +52,10 @@ set encoding=utf-8 " livepreviewer let g:livepreview_previewer = 'mupdf' +" markdown preview +let g:mkdp_browser = '/home/yorune/.local/bin/browser-x' +let g:mkdp_echo_preview_url = 1 + " line numbers set number set ruler @@ -121,9 +124,4 @@ autocmd BufWritePre * %s/\s\+$//e autocmd BufWritepre * %s/\n\+\%$//e " Autoformating markdown -autocmd BufWritePost *.md :Prettier - -" Livedown -let g:livedown_browser = "browser-x" -let g:livedown_autorun = 0 -let g:livedown_open = 1 +"autocmd BufWritePost *.md :Prettier