Ⅰ. 插件描述
Comprehensive, dynamically resizing statuslineⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'avakarev/watchdog-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'avakarev/watchdog-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'avakarev/watchdog-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/avakarev/vim-watchdog
Ⅳ. 文档说明
# watchdog.vim #
Statusline with comprehensive information about current vim buffer.
Depends on vim window size, watchdog will show most important information:
e.g. filename, how vim detected filetype, current line/cursor position.
If there are would be enough space to show additional information,
watchdog will show it. For instance file encoding of last modification date/time.