Ⅰ. 插件描述
A simple vim plugin for displaying texts of an excel file.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'yakiang/excel-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'yakiang/excel-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'yakiang/excel-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/yakiang/excel.vim
Ⅳ. 文档说明
excel.vim
A simple vim plugin for displaying data from an excel file.
Requirements
- It is required that vim is compiled with python support.
- Python module
xlrdis also required. (This can be installed usingpip install xlrd). - For
vim 7.3and earlier, support is good for many file formats, including:.xls,.xlam,.xla,.xlsx,.xlsm,.xltx,.xltm,.xltetc For
vim 7.4, please add the following to your.vimrcfile:let g:zipPlugin_ext = '*.zip,*.jar,*.xpi,*.ja,*.war,*.ear,*.celzip,*.oxt,*.kmz,*.wsz,*.xap,*.docx,*.docm,*.dotx,*.dotm,*.potx,*.potm,*.ppsx,*.ppsm,*.pptx,*.pptm,*.ppam,*.sldx,*.thmx,*.crtx,*.vdw,*.glox,*.gcsx,*.gqsx'
Limitations
- You can only read data from a file, any modifications will NOT be saved to the original excel file.
- Works best on excel files that contain ASCII characters only.
Note
- All sheets will be parsed by default, displaying them in different tabs.