if executable('ag')
" Use ag in unite grep source.
let g:unite_source_grep_command = 'ag'
- let g:unite_source_grep_default_opts = '--smart-case -w --vimgrep --hidden --ignore ''.hg'' --ignore ''.svn'' --ignore ''.git'' --ignore ''.bzr'''
+ let g:unite_source_grep_default_opts = '--smart-case --vimgrep --hidden --ignore ''.hg'' --ignore ''.svn'' --ignore ''.git'' --ignore ''.bzr'''
let g:unite_source_grep_recursive_opt = ''
end
nnoremap <silent> [unite]a :<C-u>Unite grep:.::\12\17<CR>
-command! -nargs=1 Ag Unite grep -input=<args>
+command! -nargs=1 Ag Unite grep:.::<args>
" unite-file_rec {{{3
if executable('ag')