Skip to content

Commit a901e92

Browse files
committed
ag -> ack -> grep for speed
1 parent 423e113 commit a901e92

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

config/pluginconfig.vim

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,19 @@ let g:NERDTreeDirArrows = 1 " Enable directory arrows
1111

1212
" use special powerline font
1313
let g:Powerline_symbols = 'fancy'
14+
15+
" unite searching stuff
16+
if executable('ag')
17+
" Use ag in unite grep source.
18+
let g:unite_source_grep_command = 'ag'
19+
let g:unite_source_grep_default_opts = '--nocolor --nogroup --hidden'
20+
let g:unite_source_grep_recursive_opt = ''
21+
elseif executable('ack-grep')
22+
" Use ack in unite grep source.
23+
let g:unite_source_grep_command = 'ack-grep'
24+
let g:unite_source_grep_default_opts =
25+
\ '--no-heading --no-color -a -H'
26+
let g:unite_source_grep_recursive_opt = ''
27+
endif
28+
29+
runtime macros/matchit.vim

0 commit comments

Comments
 (0)