set shortmess=aoOtI
set highlight-=v:Visual
set highlight+=vr
+set highlight+=sr
set cpoptions+=$
set showcmd
set showmatch
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
" }}}
" }}}
" Fugitive {{{
-let g:fugitive_git_executable = "LANG=en.UTF-8 git"
nmap <F7> "cyiw:execute "Gvsplit " . @c<CR>zR
nmap <F9> :diffupdate<CR>:syntax off<CR>:syntax on<CR>
" }}}
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<CR>
nmap ]ob :set textwidth=0<CR>