X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.vimrc;h=00b77d7d5e0e1a41f6c00f3465936558b3363459;hp=c9cb6c6f0462d5a7f879cd2a58192e7b426ede9c;hb=603a7c02633bf8e9f67fdf972806803b3f533de5;hpb=e7c4c4765d26dc6ecff58434f0a1c770f5d59744 diff --git a/.vimrc b/.vimrc index c9cb6c6..00b77d7 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