big_file_options.vim : Automatically set options to speed up working with big files
script karma |
Rating -1/5,
Downloaded by 681 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Tom Ryder |
|
script type |
utility |
|
description |
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.
It's similar to the much older and more sophisticated LargeFile plugin by Charles Campbell, which is based on vimtip #611.
If you want more options and bells and whistles, you should definitely use that instead. I'm intentionally keeping this very small and simple; it should be install-and-forget.
https://sanctum.geek.nz/cgit/vim-big-file-options.git |
|
install details |
Drop plugin/big_file_options.vim in your ~/.vim/plugin directory. Add doc/big_file_options.txt in ~/.vim/doc if you want the help file. Otherwise, use your favourite Vim plugin package manager. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|