@@ -84,6 +84,7 @@ function! s:custom_mappings() abort
84
84
nnoremap <buffer> <silent> <C-n> :exec "normal! nzz"<CR> :call <SID> preview_main()<CR>
85
85
nnoremap <buffer> <silent> <C-p> :exec "normal! Nzz"<CR> :call <SID> preview_main()<CR>
86
86
nnoremap <buffer> <silent> <CR> :call <SID> preview_main()<CR>
87
+ nnoremap <buffer> <silent> <2-LeftMouse> :call <SID> preview_main()<CR>
87
88
nnoremap <buffer> <silent> <C-w><CR> :call <SID> open_main()<CR>
88
89
nnoremap <buffer> <silent> qf :silent exec 'grep!' b:escaped_query<CR>
89
90
endfunction
@@ -92,11 +93,11 @@ endfunction
92
93
function ! s: append_guide () abort
93
94
call append (0 , [
94
95
\ ' # Buffer Mappings:' ,
95
- \ ' # n/N - Cursor to next/prev' ,
96
- \ ' # <C-n>/<C-p> - Open next/prev' ,
97
- \ ' # <CR> - Open at cursor' ,
98
- \ ' # <C-w><CR> - Open and jump to window' ,
99
- \ ' # qf - :grep! to Quickfix' ,
96
+ \ ' # n/N - Cursor to next/prev' ,
97
+ \ ' # <C-n>/<C-p> - Open next/prev' ,
98
+ \ ' # <CR>|<DblClick> - Open at cursor' ,
99
+ \ ' # <C-w><CR> - Open and jump to window' ,
100
+ \ ' # qf - :grep! to Quickfix' ,
100
101
\ ])
101
102
" jump to last
102
103
call cursor (line (' $' ), 0 )
0 commit comments