Skip to content

MisanthropicBit/vim-yank-window

Repository files navigation

vim-yank-window

Move windows around using yank and paste

Coverage Status

Simple usage:

  1. Use <c-w>yy to yank the current window or <c-w>yq to yank and quit the current window.

  2. Navigate to another window and paste the yanked window relative to it:

    • <c-w>yh (left)
    • <c-w>yj (down)
    • <c-w>yk (up)
    • <c-w>yl (right)
    • <c-w>yt (a new tab page after the current one)
    • <c-w>yT (a new tab page before the current one)

Installation

  • NeoBundle: NeoBundle 'MisanthropicBit/vim-yank-window'
  • VAM: call vam#ActivateAddons(['MisanthropicBit/vim-yank-window'])
  • Vundle: Plugin 'MisanthropicBit/vim-yank-window'
  • vim-plug: Plug 'MisanthropicBit/vim-yank-window'