From a393a014629f9b768b442eb1d5af79a2575ea215 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Mon, 4 Dec 2017 10:18:41 -0700 Subject: Updating Ack vim. --- plugin/vim-options.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugin/vim-options.vim') 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 "----------------------------------------------------------------------------------------------------------------------- -- cgit v1.2.3