largefile


Ⅰ. 插件描述

GOAL: do personalized tuning

Ⅱ. 基本信息

创建日期:  2006-03-30
使用用户:  3
Github星:  0
插件作者:  Eric Liu

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'musicx/largefile-the-heights'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'musicx/largefile-the-heights'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'musicx/largefile-the-heights'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/musicx/largefile

Ⅳ. 文档说明

This is a mirror of http://www.vim.org/scripts/script.php?script_id=1506

Editing large files can be a time consuming process as Vim is working on a number of things behind the scenes, such as maintaining an undo database, searching for a syntax highlighting synchronization point, etc. LargeFile.vim is a very small "plugin"; mostly, its just an autocmd that disables certain features of vim in the interests of speed.

There's an option: g:LargeFile (by default, its 100). It describes the minimum size of a file needed for it to be considered as a "LargeFile", in megabytes. You may set that option in your <.vimrc>.

The plugin is based on vimtip#611.

添加新评论