aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-12-04 10:18:41 -0700
committerCody Hiar <codyfh@gmail.com>2017-12-04 10:18:41 -0700
commita393a014629f9b768b442eb1d5af79a2575ea215 (patch)
treecf84e087af72645fb4677e6faa17f3a76b9a8ca4 /plugin
parenta010d42b1ea9dd41bfa9f9059fc62b2a9e355257 (diff)
Updating Ack vim.
Diffstat (limited to 'plugin')
-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
"-----------------------------------------------------------------------------------------------------------------------