X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=vim%2F.vimrc;h=b4da21a29d39464f5afa4500e98f3204ce59328a;hb=faebfb44ee92d9050ae609184901471ab3690220;hp=65870e15898dbb90e865f205f409cbd3e267f61d;hpb=a20f37a39501c6cb94943a18a7f0e81c97dd6189;p=dotfiles.git diff --git a/vim/.vimrc b/vim/.vimrc index 65870e1..b4da21a 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -28,6 +28,7 @@ set backspace=indent,eol set shortmess=aoOtI set highlight-=v:Visual set highlight+=vr +set highlight+=sr set cpoptions+=$ set showcmd set showmatch @@ -79,7 +80,7 @@ set statusline+=%3*[%c%V:0x%B] set statusline+=%4*%{LintStatus()} set statusline+=%*\ %P -function! LintStatus() " it is overrided in ftplugin/python/pylint.vim +function! LintStatus() " it is overrided in ftplugins return "" endfunction " }}} @@ -107,7 +108,6 @@ autocmd BufEnter * let &titlestring = expand("%:t") " }}} " Fugitive {{{ -let g:fugitive_git_executable = "LANG=en.UTF-8 git" nmap "cyiw:execute "Gvsplit " . @czR nmap :diffupdate:syntax off:syntax on " }}} @@ -123,11 +123,6 @@ set spelllang=ru,en_gb highlight SpellBad cterm=inverse ctermfg=red ctermbg=black " }}} -" Netrw {{{ -let g:netrw_banner = 0 -let g:netrw_bufsettings = "noma nomod nowrap ro nobl" -" }}} - " Unimpaired-like textwidth switching {{{ nmap [ob :set textwidth=72 nmap ]ob :set textwidth=0