Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: options disable preview for large files #213

Open
1 task done
Bekaboo opened this issue Nov 3, 2023 · 0 comments
Open
1 task done

feature request: options disable preview for large files #213

Bekaboo opened this issue Nov 3, 2023 · 0 comments
Labels
enhancement New feature or request P1 May get worked on if I get free time. PRs welcome

Comments

@Bekaboo
Copy link
Contributor

Bekaboo commented Nov 3, 2023

Did you check existing requests?

  • 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 Bekaboo added the enhancement New feature or request label Nov 3, 2023
@stevearc stevearc added the P1 May get worked on if I get free time. PRs welcome label Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P1 May get worked on if I get free time. PRs welcome
Projects
None yet
Development

No branches or pull requests

2 participants