From 3e359c4820f3b44a5dd89ccfac54183ec48c4ef8 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Tue, 27 Mar 2018 14:37:35 -0600 Subject: Adding ack search --- plugin/vim-options.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugin/vim-options.vim') 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 `>op`]o`<:call WordsToChoices() "----------------------------------------------------------------------------------------------------------------------- if !empty(glob($EditorDir.'plugged/ack.vim/plugin/ack.vim')) nnoremap / :call AckSearch() + noremap a :Ack function! AckSearch() call inputsave() let term = input('Search: ') @@ -384,7 +385,7 @@ EOF endif endfunction " nnoremap a :call ToggleSyntasticMode() - nnoremap a :SyntasticCheck + " nnoremap a :SyntasticCheck endif "----------------------------------------------------------------------------------------------------------------------- -- cgit v1.2.3