vim-tinyline


Ⅰ. 插件描述

Tiny great looking statusline for Vim.

Ⅱ. 基本信息

创建日期:  2014-08-07
使用用户:  4
Github星:  17
插件作者:  Rafael Bodill

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# vim-tinyline

A tiny fast statusline for vim. Easy to hack and great for
learning Vim's statusline.

Screenshot

An active statusline:
tinyline active screenshot

An in-active statusline:
tinyline inactive screenshot

Features

  • Tiny. ~150LoC
  • Super filepath: Limits number of directories and characters
  • Branch name, using [Fugitive]
  • Detects [ChooseWin] active, and [Fugitive]'s blobs
  • Fast! Caches the filepath per buffer
  • Easy to hack and change

Installation

Use your favorite plugin manager to add 'rafi/vim-tinyline' to your .vimrc.

Customization

Options

Put any of the following options into your ~/.vimrc in order to overwrite the default behaviour.

OptionDefaultDescription
let g:tinyline_max_dirs = 23Limit number of shown directories in path
let g:tinyline_max_dir_chars = 43Limit characters in each directory name

Credits & Contribution

This plugin was developed by Rafael Bodill under the MIT License. Pull requests are very welcome.

添加新评论