Is your feature request related to a problem? Please describe.
I currently use the below mapping to scroll inside the floating window, but I feel like the experience is clunky.
nnoremap <expr><C-f> coc#util#has_float() ? coc#util#float_scroll(1) : "\<C-f>"
nnoremap <expr><C-b> coc#util#has_float() ? coc#util#float_scroll(0) : "\<C-b>"
Describe the solution you'd like
I would like to have the same behavior as git-messenger, where I can focus the floating window and use standard vim navigation commands inside the floating window.
<Plug>coc-float-jump
You can use wincmd api
Current answer: <C-w><C-p>. Gets you in and out. And, as far as I know, undocumented.
There is coc-float-jump provided
There's insert mode scroll now, which should be better anyway than moving inside the floating window for that.
@oblitum can you please elaborate?
@shinzui update to latest and check :h coc#float#has_scroll(). Follow PR #2532 if visual mode scroll is also needed.
Most helpful comment
Current answer:
<C-w><C-p>. Gets you in and out. And, as far as I know, undocumented.