nvim-tree-preview.lua icon indicating copy to clipboard operation
nvim-tree-preview.lua copied to clipboard

[Feature] update preview on CursorHold

Open gbcreation opened this issue 1 year ago • 1 comments

Hi! Thank for this very useful plugin.

When navigating with j/k, the preview window is updated immediately. When holding down j/k to navigate quickly among files, it makes the navigation lag.

Could you please add an option to update the preview only on CursorHold?

gbcreation avatar Sep 07 '24 20:09 gbcreation

I would happily accept a PR for this! Should be simple to add a config option and use it to determine what autocommand to use.

b0o avatar Sep 08 '24 00:09 b0o