vim-clap icon indicating copy to clipboard operation
vim-clap copied to clipboard

Scroll Preview

Open sphynx79 opened this issue 5 years ago • 6 comments

Please can you implement or tell me how can i scroll the preview.

Thanks

sphynx79 avatar Oct 28 '20 17:10 sphynx79

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.73. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Oct 28 '20 17:10 issue-label-bot[bot]

https://github.com/liuchengxu/vim-clap#keybindings

polyzen avatar Oct 28 '20 19:10 polyzen

good but i don't want scroll the file list, but the preview file window

sphynx79 avatar Oct 29 '20 00:10 sphynx79

That can be done, but need a bit more work as the current preview implementation does not read the whole file but the neccessary lines for being performant. When you scroll the preview window, we have to keep reading more of the origin file.

liuchengxu avatar Oct 29 '20 01:10 liuchengxu

This would be great, since fzf is able to do it (seemingly without a performance penalty).

comfortablynick avatar Nov 05 '20 22:11 comfortablynick

The preview of vim-clap will also be enhanced once #798 is merged, which is to extract and show the current context symbol using ctags. Maybe helpful for those who are interested in this issue.

liuchengxu avatar Feb 07 '22 08:02 liuchengxu

I finally find some time to implement this feature that I'm also looking forward to for a long time. Feel free to try out #933, don't forget to recompile the binary before the next release is available.

liuchengxu avatar Feb 19 '23 15:02 liuchengxu