项目作者: justincampbell

项目描述 :
Automatically resizes your windows
高级语言: VimL
项目地址: git://github.com/justincampbell/vim-eighties.git
创建时间: 2013-03-29T19:29:05Z
项目社区:https://github.com/justincampbell/vim-eighties

开源协议:MIT License

下载


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

  1. Plug 'justincampbell/vim-eighties'

Vundle

  1. Plugin 'justincampbell/vim-eighties'

Pathogen

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

Configuration & Defaults

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