I would like to be able to scroll the YouComplete GetDoc
popup with the keyboard in cases where the docstring is too large to fit within the popup. Currently I invoke the popup with <leader>yD
. Here is the relevant snippet from my .vimrc
:
nmap <leader>yd <plug>(YCMHover)
nnoremap <leader>yD :YcmCompleter GetDoc<CR>
let g:ycm_auto_hover = '' " disable auto popups
Here is an example of a docstring that is too large to fit within the popup:
Note that I am using mouse mode in tmux so my mouse scroll is bound to tmux and I'm after a keyboard-based solution. I am using vim 8.2
.