https://github.com/justincampbell/vim-eighties
Automatically resizes your windows
https://github.com/justincampbell/vim-eighties
vim
Last synced: 3 months ago
JSON representation
Automatically resizes your windows
- Host: GitHub
- URL: https://github.com/justincampbell/vim-eighties
- Owner: justincampbell
- License: mit
- Created: 2013-03-29T19:29:05.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2016-12-15T18:02:13.000Z (over 9 years ago)
- Last Synced: 2024-04-16T00:03:46.661Z (about 2 years ago)
- Topics: vim
- Language: VimL
- Homepage: http://www.vim.org/scripts/script.php?script_id=4502
- Size: 15.6 KB
- Stars: 64
- Watchers: 3
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# eighties.vim
> Automatically resizes your windows

## 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)
* Additional bufname entries can be specified as an array. See [Configuration & Defaults](#configuration--defaults)
## Installation
If you don't already use a plugin manager, I recommend
[vim-plug](https://github.com/junegunn/vim-plug)
### [vim-plug](https://github.com/junegunn/vim-plug)
```viml
Plug 'justincampbell/vim-eighties'
```
### [Vundle](https://github.com/gmarik/vundle)
```viml
Plugin 'justincampbell/vim-eighties'
```
### [Pathogen](https://github.com/tpope/vim-pathogen)
```
cd ~/.vim/bundle
git clone git://github.com/justincampbell/vim-eighties.git
```
## Configuration & Defaults
```viml
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.
```