Closed kevinhwang91 closed 2 years ago
👍🏻
Feel free to share your idea. about UI.
If you using the magic window feature in nvim-bqf, I think you will like the trace
action fired by double click with mouse.
done
in 98b07fc2606c40ae5bf0eaf67e74d8b82a69f040
Great job, thanks Kevin!
For those who might find this issue later about usage:
The programmatic API to open the preview window (configure your own mappings):
require('ufo').peekFoldedLinesUnderCursor()
require('ufo').peekFoldedLinesUnderCursor(maxHeight, nextLineIncluded, enter)
Keys like q
, <Tab>
will work as per the configuration. Window options (winblend, highlight, etc.) are also supported.
ufo-peek.mp4
@kevinhwang91 Sorry if this is a silly question but how can I scroll in peek folded line? In the video, it seems that to scroll, I have to use the mouse
@grassleaf99 see https://github.com/kevinhwang91/nvim-ufo#preview-function-table
Feature description
high priority for this feature if the document is improved.
Describe the solution you'd like
using a floating window and show the rendered code.
Additional context
No response