status.vim


Ⅰ. 插件描述

Better status bar

Ⅱ. 基本信息

创建日期:  2010-12-09
使用用户:  2
Github星:  8
插件作者:  Jeff Dickey

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Statusline

Homepage: https://github.com/dickeytk/status.vim
Author: Jeff Dickey

About

Simple vim plugin to extend your statusline. Originally based on comments made
on
reddit.

Dependencies

All dependencies are optional, however they are expected to be installed by

  1. If either are not found you will see an error message. You can disable
  2. errors by setting some options in your ~/.vimrc.

Example:

"Load Fugitive
let g:statusline_fugitive = 1
"Load RVM
let g:statusline_rvm = 1
"Do Not Load Syntastic
let g:statusline_syntastic = 0
"Turn statusline off
let g:statusline_enabled = 0
"Turn on full paths
let g:statusline_fullpath = 1

Install

With pathogen it's recommended to install as a submodule.

cd ~/.vim
git submodule add git://github.com/dickeytk/status.vim.git bundle/status.vim

To install as a normal plugin grab a tarball
here and extract it.
Then just copy statusline.vim to your plugin directory.

cp plugin/status.vim ~/.vim/plugin/

添加新评论