From 927870e7a49b0d307de1587dce8f7ce50b3271ad Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Thu, 5 Jul 2018 11:14:43 +0200 Subject: [PATCH] Update vim conf. --- vim/vimrc | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 95a7d8c..4a08f9c 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -45,13 +45,9 @@ cnoremap w!! w !sudo tee > /dev/null % " |_| |_____\___/ \____|___|_| \_|____/ " """"""""""""""""""""""""""""""""""""""""""" - - " Installing the Plug plugin manager source $HOME/.vim/plug.vim - - " start NERDTree if no file is pass as arg autocmd StdinReadPre * let s:std_in=1 autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif @@ -111,6 +107,31 @@ colorscheme dracula " |_| |___/ |___/ " """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" +" Markdown review +" let vim_markdown_preview_toggle=1 let vim_markdown_preview_toggle=2 -let vim_markdown_preview_browser='firefox' +let vim_markdown_preview_browser='chromium-browser' + +" +" UltiSnips +" +if has("python") + let g:UltiSnipsUsePythonVersion = 2 +elseif has("python3") + let g:UltiSnipsUsePythonVersion = 3 +endif + + + +"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" _ _________ ______ ___ _ _ ____ ___ _ _ ____ ____ +" | |/ / ____\ \ / / __ )_ _| \ | | _ \_ _| \ | |/ ___/ ___| +" | ' /| _| \ V /| _ \| || \| | | | | || \| | | _\___ \ +" | . \| |___ | | | |_) | || |\ | |_| | || |\ | |_| |___) | +" |_|\_\_____| |_| |____/___|_| \_|____/___|_| \_|\____|____/ +" +"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Load keybindings from file +source $HOME/.vim/keybindings.vim