From a5fd36fa8a47238e67f1f645764e41bf43d96c05 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Thu, 16 Apr 2020 11:27:01 -0600 Subject: Update ack shortcuts to return to main screen after search --- plugin/vim-options.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index f2a5c41..87fc2a7 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -147,8 +147,8 @@ nnoremap cc :cclose " Ack Searching "----------------------------------------------------------------------------------------------------------------------- if !empty(glob($EditorDir.'plugged/ack.vim/plugin/ack.vim')) - nnoremap / :call AckSearch() - noremap ea :Ack + nnoremap / :call AckSearch() + noremap ea :Ack function! AckSearch() call inputsave() let term = input('Search: ') -- cgit v1.2.3