32

GitHub - dhruvasagar/vim-zoom: Toggle zoom in / out individual windows (splits)

 5 years ago
source link: https://github.com/dhruvasagar/vim-zoom
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

VIM Zoom v0.3

A simple plugin to toggle zoom of current window within the current tab.

This is heavily inspired from tmux's zoom pane feature.

Installation

Use your favorite plugin manager to install this plugin (recommended).

If however you don't use a plugin manager such as pathogen, vundle, neobundle, vim-plug then you can copy all files within this repository directly within your ~/.vim folder. (not recommended)

Usage

Simply use the provided mapping <C-W>m to toggle zoom in and out for the current window

Statusline

VIM Zoom provides zoom#statusline() API to be used for adding 'zoomed' status to your statusline while your window is zoomed. You may add this to your statusline like this :

set statusline+=${zoom#statusline()}

If you're using some complex statusline plugin, you may need to refer to it's documentation to figure out how to add this to your statusline.

Contributing

Reporting an Issue :

Use Github Issue Tracker

Contributing to code :

  • Fork it.
  • Commit your changes and give your commit message some love.
  • Push to your fork on github.
  • Open a Pull Request.

Credits

This plugin was heavily inspired by tmux's zoom pane feature.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK