From 4874cd82e94ae05e98742dd270d9dfbe66ceb00c Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 20 Dec 2018 13:58:41 +0100 Subject: Minor vimrc updates --- vim/.vimrc | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/vim/.vimrc b/vim/.vimrc index 5e928af..87d2916 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -41,7 +41,6 @@ call vundle#end() " Source some special files on writing autocmd! bufwritepost .vimrc source % -autocmd! bufwritepost .bashrc !source % autocmd! bufwritepost .Xresources !xrdb -merge % " Common settings @@ -52,7 +51,7 @@ set nu set dir=~/.swp set listchars=nbsp:¬,tab:▸\ ,extends:»,precedes:«,trail:• set nolist -set tabpagemax=30 +set tabpagemax=100 set nrformats=hex,alpha set fillchars+=fold:\ set statusline= @@ -78,17 +77,8 @@ endif map s :syn sync fromstart " Move through long lines as they were short multiple lines -map j gj -map j -map k gk -map k - -command! -nargs=1 Silent - \ | execute ':silent '. - \ | execute ':redraw!' - -command! -nargs=0 Smake - \ | execute ':Silent make' +map gj +map gk " Don't let match-up mess up the statusline let g:matchup_matchparen_status_offscreen=0 @@ -113,7 +103,7 @@ let g:syntastic_python_pylint_args = '--guess' let g:syntastic_mode_map = { \ "mode": "passive", - \ "passive_filetpyes": [] } + \ "passive_filetypes": [] } " Git gutter set updatetime=300 -- cgit v1.2.3