LargeFile


Ⅰ. 插件描述

Edit large files quickly (keywords: large huge speed)

Ⅱ. 基本信息

创建日期:  2006-03-30
使用用户:  250
Github星:  50
插件作者:  Charles Campbell

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

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.

(alpha/beta version available at http://www.drchip.org/astronaut/vim/index.html#LARGEFILE)

添加新评论