oil.nvim
oil.nvim copied to clipboard
feature request: options disable preview for large files
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