blob: 5fa52a1bd696f6158c1b20574493e5aedb28b983 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
big\_file\_options.vim
======================
This plugin adds an `autocmd` hook to check the file size of an incoming
buffer, and if it's over a certain threshold, disables certain options in order
to make the file a bit easier to edit. It makes the buffer read-only, and
disables filetypes, swap files, undo files, and syntax highlighting.
License
-------
Copyright (c) [Tom Ryder][1]. Distributed under the same terms as Vim itself.
See `:help license`.
[1]: https://sanctum.geek.nz/
|