Change Ag key bindings: CTRL-{A,D} -> ALT-{A,D} (#54)

This commit is contained in:
Junegunn Choi 2015-12-14 12:14:40 +09:00
parent 0ad88dd4e8
commit 8ea2e872d7

View file

@ -409,7 +409,7 @@ function! fzf#vim#ag(query, ...)
\ escape(empty(a:query) ? '^(?=.)' : a:query, '"\-')), \ escape(empty(a:query) ? '^(?=.)' : a:query, '"\-')),
\ 'sink*': s:function('s:ag_handler'), \ 'sink*': s:function('s:ag_handler'),
\ 'options': '--ansi --delimiter : --nth 4..,.. --prompt "Ag> " '. \ 'options': '--ansi --delimiter : --nth 4..,.. --prompt "Ag> " '.
\ '--multi --bind ctrl-a:select-all,ctrl-d:deselect-all '. \ '--multi --bind alt-a:select-all,alt-d:deselect-all '.
\ '--color hl:68,hl+:110'}), args) \ '--color hl:68,hl+:110'}), args)
endfunction endfunction