git://git.jankratochvil.net
/
nethome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
+aladin
[nethome.git]
/
.vimrc
diff --git
a/.vimrc
b/.vimrc
index
c9cb6c6
..
00b77d7
100644
(file)
--- 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
"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
" 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 <Esc>N :tn<cr>zz<C-g>
noremap <Esc>P :tp<cr>zz<C-g>
noremap <Esc>M :cn<cr>zz<C-g>
noremap <Esc>L :cp<cr>zz<C-g>
noremap <Esc>P :tp<cr>zz<C-g>
noremap <Esc>M :cn<cr>zz<C-g>
noremap <Esc>L :cp<cr>zz<C-g>
+noremap <Esc>f "myiw:grep<Space>-Ew<Space>'<C-r>m'<Space>`git ls-files`
noremap <Esc>g "myiw:grep<Space>-rEw<Space>'<C-r>m'<Space>.
noremap <C-]> <C-]>zz<C-g>
noremap <C-t> <C-t>zz<C-g>
noremap <Esc>g "myiw:grep<Space>-rEw<Space>'<C-r>m'<Space>.
noremap <C-]> <C-]>zz<C-g>
noremap <C-t> <C-t>zz<C-g>