Add scroll keybind to popup windows
This commit is contained in:
parent
e082832c00
commit
d7f5811ada
|
@ -117,6 +117,16 @@ nnoremap <leader>fg <cmd>Telescope live_grep<cr>
|
|||
nnoremap <leader>fb <cmd>Telescope buffers<cr>
|
||||
nnoremap <leader>fh <cmd>Telescope help_tags<cr>
|
||||
|
||||
" -------------------------------------------------------------------------------------------------
|
||||
" coc.nvim scroll popup definition
|
||||
"
|
||||
" -------------------------------------------------------------------------------------------------
|
||||
|
||||
nnoremap <nowait><expr> <C-f> coc#float#has_scroll() ? coc#float#scroll(1) : "\<C-f>"
|
||||
nnoremap <nowait><expr> <C-b> coc#float#has_scroll() ? coc#float#scroll(0) : "\<C-b>"
|
||||
inoremap <nowait><expr> <C-f> coc#float#has_scroll() ? "\<c-r>=coc#float#scroll(1)\<cr>" : "\<Right>"
|
||||
inoremap <nowait><expr> <C-b> coc#float#has_scroll() ? "\<c-r>=coc#float#scroll(0)\<cr>" : "\<Left>"
|
||||
|
||||
" -------------------------------------------------------------------------------------------------
|
||||
" coc.nvim default settings
|
||||
"
|
||||
|
|
Loading…
Reference in New Issue