aboutsummaryrefslogtreecommitdiff
path: root/plugin/vim-options.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/vim-options.vim')
-rw-r--r--plugin/vim-options.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index 9e15213..5fa6f39 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -213,9 +213,12 @@ if !empty(glob($EditorDir.'plugged/ack.vim/plugin/ack.vim'))
let term = input('Search: ')
call inputrestore()
if !empty(term)
- execute "Ack! '" . term . "'"
+ execute "Ack! " . term
endif
endfunction
+ " Setting better default settings
+ let g:ackprg =
+ \ "ack -s -H --nocolor --nogroup --column --ignore-dir=.vimcache/ --ignore-dir=migrations/ --ignore-dir=.mypy_cache/ --ignore-file=is:tags --nojs --nocss --nosass"
endif
"-----------------------------------------------------------------------------------------------------------------------