We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f183a34 commit c1ba93dCopy full SHA for c1ba93d
plugin/ack.vim
@@ -76,6 +76,12 @@ function! s:Ack(cmd, args)
76
exec "nnoremap <silent> <buffer> H <C-W><CR><C-W>K<C-W>b"
77
exec "nnoremap <silent> <buffer> v <C-W><CR><C-W>H<C-W>b<C-W>J<C-W>t"
78
exec "nnoremap <silent> <buffer> gv <C-W><CR><C-W>H<C-W>b<C-W>J"
79
+
80
+ " If auto preview in on, remap j and k keys
81
+ if exists("g:ackpreview")
82
+ exec "nnoremap <silent> <buffer> j j<CR><C-W><C-W>"
83
+ exec "nnoremap <silent> <buffer> k k<CR><C-W><C-W>"
84
+ endif
85
endif
86
87
" If highlighting is on, highlight the search keyword.
0 commit comments