aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2018-12-20 13:58:41 +0100
committerCamil Staps2018-12-20 13:58:41 +0100
commit4874cd82e94ae05e98742dd270d9dfbe66ceb00c (patch)
tree7909f688e8da7746ffb148a7248e94d446d92bb5
parentAdd Zotero to path (diff)
Minor vimrc updates
-rw-r--r--vim/.vimrc18
1 files 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 <LocalLeader>s :syn sync fromstart<CR>
" Move through long lines as they were short multiple lines
-map j gj
-map <down> j
-map k gk
-map <up> k
-
-command! -nargs=1 Silent
- \ | execute ':silent '.<q-args>
- \ | execute ':redraw!'
-
-command! -nargs=0 Smake
- \ | execute ':Silent make'
+map <down> gj
+map <up> 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