Skip to content

justincampbell/vim-eighties

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
doc
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.