oil.nvim icon indicating copy to clipboard operation
oil.nvim copied to clipboard

feature request: options disable preview for large files

Open Bekaboo opened this issue 9 months ago • 0 comments

Did you check existing requests?

  • [X] I have searched the existing issues

Describe the feature

Add an option, e.g. max_preview_size so that preview is not enabled for files that exceeds the limit

Provide background

I frequently have preview enabled on the right side of oil buffer and just moves the cursor down to skim through a directory. In most cases this works fine, but occasionally there are large files in the directory and previewing them make the current nvim session freeze.

Additional details

No response

Bekaboo avatar Nov 03 '23 02:11 Bekaboo