X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=vim%2F.vimrc;h=a76c813ab70448816b9c0174fc21750ca58a55ab;hb=b0d8af3d2bfe5ecc15d0f49538fbf8ffe62979ef;hp=1ce1198a16d01ea6941485d8c0e9a0c2b89ad4ac;hpb=186eaedf7efb0a13c539de03a0b7601dc54f450b;p=dotfiles.git diff --git a/vim/.vimrc b/vim/.vimrc index 1ce1198..a76c813 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -73,7 +73,7 @@ highlight CursorColumn ctermfg=cyan ctermbg=red " }}} " Statusline {{{ -let LintStatus = {-> exists("b:lint_status_func") ? b:lint_status_func() : ""} +let MeinStatus = {-> exists("b:mein_status_func") ? b:mein_status_func() : ""} set laststatus=2 set statusline=%F\ %m%r%h%w%k set statusline+=%{len(getqflist())?'[Q]':''} @@ -84,7 +84,7 @@ set statusline+=%#DiffChange#%{strlen(&fenc)?&fenc:&enc}%{&bomb?'-bom':''}\ %{&f set statusline+=%#DiffAdd#%l/%L set statusline+=%#Todo#%c%V:0x%B set statusline+=%#Comment#%o -set statusline+=%#Error#%{LintStatus()} +set statusline+=%#Error#%{MeinStatus()} set statusline+=%*\ %P " }}} @@ -165,9 +165,17 @@ nmap ' yiwciw""" nmap h1 yypVr=o nmap sc 024i-a >8 24a- nmap :vertical wincmd ] +nmap [oc :copen +nmap ]oc :cclose nnoremap +nmap ZQ :qall +nmap ZZ :wall:mksession!:qall + command! E Explore command! Ch cd %:p:h command! -bar -nargs=? -bang Tmp :silent vnew|setlocal buftype=nofile bufhidden=hide noswapfile buflisted filetype= modifiable -command! Gcommit Git commit + +execute "digraphs Ru" .. 0x20BD + +runtime ftplugin/man.vim