16

GitHub - dstein64/vim-win: 🖼️ A Vim plugin for managing windows.

 4 years ago
source link: https://github.com/dstein64/vim-win
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.

vim-win

vim-win is a Vim plugin for managing windows. Built-in functionality includes window selection, window buffer swapping, and window resizing. The plugin is extensible, allowing additional functionality to be added (see Configuration below).

screenshot.png?raw=true

Requirements

  • Full functionality
    • vim>=8.1.2269 or nvim>=0.4.0
  • Limited functionality (no window labels)
    • vim>=8.1.1140

Installation

A package manager can be used to install vim-win.

Examples

Usage

Enter vim-win with <leader>w or :Win.

  • Arrows or hjkl keys are used for movement.
  • Change windows with movement keys or numbers.
  • Hold <shift> and use movement keys to resize the active window.
  • Press s or S followed by a movement key or window number, to swap buffers.
  • Press ? to show a help message.
  • Press <esc> to leave vim-win.

See :help win-usage for additional details.

Documentation

:help vim-win

The underlying markup is in win.txt.

screencast.gif?raw=true

License

The source code has an MIT License.

See LICENSE.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK