aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-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
"-----------------------------------------------------------------------------------------------------------------------