eighties.vim


Ⅰ. 插件描述

Automatically resizes your windows

Ⅱ. 基本信息

创建日期:  2013-03-29
使用用户:  60
Github星:  63
插件作者:  Justin Campbell

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# eighties.vim

Automatically resizes your windows

Demo

Features

  • Resizes the width of the current window when switching
  • Calculates the minimum width (80 by default) + line numbers/signs/etc
  • Won't shrink the current window
  • Won't resize side panels (supports NERDTree and vimpanel)

Installation

If you don't already use a plugin manager, I recommend
vim-plug

vim-plug

Plug 'justincampbell/vim-eighties'

Vundle

Plugin 'justincampbell/vim-eighties'

Pathogen

cd ~/.vim/bundle
git clone git://github.com/justincampbell/vim-eighties.git

Configuration & Defaults

let g:eighties_enabled = 1
let g:eighties_minimum_width = 80
let g:eighties_extra_width = 0 " Increase this if you want some extra room
let g:eighties_compute = 1 " Disable this if you just want the minimum + extra
let g:eighties_bufname_additional_patterns = ['fugitiveblame'] " Defaults to [], 'fugitiveblame' is only an example. Takes a comma delimited list of bufnames as strings.

添加新评论