X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.vimrc;h=44871db88402fcd903e7d3ead58825e3188ec18b;hp=c9cb6c6f0462d5a7f879cd2a58192e7b426ede9c;hb=7b23910dbcdaeb405a2e0cfbed28c0df4269e1eb;hpb=e7c4c4765d26dc6ecff58434f0a1c770f5d59744 diff --git a/.vimrc b/.vimrc index c9cb6c6..44871db 100644 --- a/.vimrc +++ b/.vimrc @@ -68,6 +68,10 @@ set fo=tcq1 "set textwidth=78 set viminfo='100,\"1000,:100,/40 let g:netrw_home = $HOME +" https://bugzilla.redhat.com/show_bug.cgi?id=970190 +if &term=="xterm" || &term=="xterm-256color" + set t_Co=8 +endif " FIXME: Learn how to do :tag instead of :tselect with :cstag (used by :tag and CTRL-] if set cst) set nocst @@ -83,6 +87,7 @@ noremap N :tnzz noremap P :tpzz noremap M :cnzz noremap L :cpzz +noremap f "myiw:grep-Ew'm'`git ls-files` noremap g "myiw:grep-rEw'm'. noremap zz noremap zz @@ -94,5 +99,6 @@ noremap * :let ic_save=&ic:set noic*:let &ic=ic_save noremap # :let ic_save=&ic:set noic#:let &ic=ic_save noremap :w:!aspell --check '%':e noremap gq] gq/^. \?$ +noremap 1 :w:make -j1 endif "!exists("g:_kratochvil_vimrc")