X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vimrc;h=26f5383566b9652a1ecb983b7ff092ede8c41e30;hb=4df30ae3686b6b1152a821f8cd1c6a481bf103a5;hp=732941ae20f8cc35c74dad34832af7e222304f52;hpb=ec8f28407574099220c8a6f459df2a4a004d02b5;p=config%2Fdotfiles.git diff --git a/vimrc b/vimrc index 732941a..26f5383 100644 --- a/vimrc +++ b/vimrc @@ -235,6 +235,14 @@ if v:version >= 700 set listchars+=nbsp:! endif +" Don't draw the vertical split separator by using space as character. Thanks +" to scp1 in #vim on Freenode (2012-06-16 16:12 CEST) for the idea to use a +" non-breakable space. But a simple space works as well, as long as the +" current color scheme is not reset. +if has('windows') && has('folding') + set fillchars+=vert:\ " comment to prevent trailing whitespace +endif + if has('statusline') " Always display the status line even if there is only one window. set laststatus=2 @@ -365,7 +373,7 @@ nmap - " Go to next and previous buffer. Thanks to elik in #vim on Freenode " (2010-05-16 18:38 CEST) for this idea. nnoremap gb :bnext -nnoremap gB :bprev +nnoremap gB :bprevious " Fast access to buffers. nnoremap 1 :1buffer @@ -593,6 +601,8 @@ if has('syntax') " Settings for specific filetypes. + " C + let g:c_no_if0_fold = 1 " fix weird double fold in #if0 in recent versions " Haskell. let g:hs_highlight_delimiters = 1 let g:hs_highlight_boolean = 1