summaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 658bdf4..af11d10 100644
--- a/vimrc
+++ b/vimrc
@@ -94,6 +94,8 @@ noremap <Right> <Nop>
nmap <ESC>[5^ <C-PageUp>
nmap <ESC>[6^ <C-PageDown>
+" more convenient grepping
+command -nargs=+ Grep execute 'silent grep! <args>' | execute 'redraw!' | execute 'copen'
" folding settings; disabled for now because of performance problems
"set foldmethod=syntax " fold automatically by syntax rules