Skip to content

Commit

Permalink
use arrow keys with ackpreview=1
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Joachim authored and ches committed Jun 6, 2015
1 parent d9e23d1 commit 309b35a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions autoload/ack.vim
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ function! s:ApplyMappings() "{{{
if exists("g:ackpreview") " if auto preview in on, remap j and k keys
nnoremap <buffer> <silent> j j<CR><C-W><C-W>
nnoremap <buffer> <silent> k k<CR><C-W><C-W>
nnoremap <buffer> <silent> <Down> j<CR><C-W><C-W>
nnoremap <buffer> <silent> <Up> k<CR><C-W><C-W>
endif
endfunction "}}}

Expand Down

0 comments on commit 309b35a

Please sign in to comment.