diff options
author | Cody Hiar <cody@hiar.ca> | 2020-04-16 11:27:01 -0600 |
---|---|---|
committer | Cody Hiar <cody@hiar.ca> | 2020-04-16 11:27:01 -0600 |
commit | a5fd36fa8a47238e67f1f645764e41bf43d96c05 (patch) | |
tree | 1ddbbc619280672a31f9725e45d963cc6a825d7e /plugin | |
parent | 7fdb507cd3902b6ddc6b4d65900471f50b6ee128 (diff) |
Update ack shortcuts to return to main screen after search
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/vim-options.vim | 4 |
1 files 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 <leader>cc :cclose<CR> " Ack Searching "----------------------------------------------------------------------------------------------------------------------- if !empty(glob($EditorDir.'plugged/ack.vim/plugin/ack.vim')) - nnoremap <leader>/ :call AckSearch()<CR> - noremap <leader>ea :Ack <cword><cr><c-w><c-p> + nnoremap <leader>/ :call AckSearch()<CR><c-w><c-p> + noremap <leader>ea :Ack <cword><CR><c-w><c-p> function! AckSearch() call inputsave() let term = input('Search: ') |