Skip to content

Commit

Permalink
Vim: Use pt for grepping, should be fine.
Browse files Browse the repository at this point in the history
  • Loading branch information
StanAngeloff committed Sep 4, 2015
1 parent 70c1a58 commit 7d2472c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .vimrc
Expand Up @@ -136,8 +136,8 @@ let g:is_posix = 1
let g:omni_sql_no_default_maps = 1

" Use our customised `grep` script for powerful searches.
set grepprg=$HOME/bin/search\ $*
set grepformat=%f:%l:%m
set grepprg=pt\ --nogroup\ --nocolor\ --column\ --smart-case\ -e
set grepformat=%f:%l:%c:%m

command! -nargs=+ -complete=dir Search if len([<f-args>]) |
\ execute 'silent grep! ' . <q-args> |
Expand Down

0 comments on commit 7d2472c

Please sign in to comment.