aboutsummaryrefslogtreecommitdiff
path: root/plugin/vim-options.vim
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2018-03-27 14:37:35 -0600
committerCody Hiar <codyfh@gmail.com>2018-03-27 14:37:35 -0600
commit3e359c4820f3b44a5dd89ccfac54183ec48c4ef8 (patch)
treeca19e7dd961cf211f56ea113dfffb1cd981867e3 /plugin/vim-options.vim
parent87f9c9fe3d2fb17bc824484f9c14d264022169d2 (diff)
Adding ack search
Diffstat (limited to 'plugin/vim-options.vim')
-rw-r--r--plugin/vim-options.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index a74ee98..1ce38de 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -245,6 +245,7 @@ nnoremap <F4> `>o<ESC>p`]o<ESC>`<:call WordsToChoices()<CR>
"-----------------------------------------------------------------------------------------------------------------------
if !empty(glob($EditorDir.'plugged/ack.vim/plugin/ack.vim'))
nnoremap <leader>/ :call AckSearch()<CR>
+ noremap <leader>a :Ack <cword><cr>
function! AckSearch()
call inputsave()
let term = input('Search: ')
@@ -384,7 +385,7 @@ EOF
endif
endfunction
" nnoremap <leader>a :call ToggleSyntasticMode()<CR>
- nnoremap <leader>a :SyntasticCheck<CR>
+ " nnoremap <leader>a :SyntasticCheck<CR>
endif
"-----------------------------------------------------------------------------------------------------------------------