Skip to content

amikai/VimResizeMe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VimResizeMe

Resize window with ease.

Usage

vert

Window/Action :VrmResizeRight :VrmResizeLeft
A move alpha right move alpha left
B move beta right move alpha left
C move beta right move beta left

horiz

Window/Action :VrmResizeUp :VrmResizeDown
D move gamma up move gamma down
E move gamma up move delta down
F move delta up move delta down

See the :help vimresizeme for details.

Installation

For vim-plug:

Plug 'amikai/VimResizeMe'

For dein.vim:

call dein#add('amikai/VimResizeMe')

For Vundle.vim:

Plugin 'amikai/VimResizeMe'

Key mapping

In macOS:

  • <fn> + <Up> = <PageUp>
  • <fn> + <Down> = <PageDown>
  • <fn> + <Right> = <Home>
  • <fn> + <Left> = <End>

So I suggest following mapping:

nnoremap <PageUp> :VrmResizeUp<CR>
nnoremap <PageDown> :VrmResizeDown<CR>
nnoremap <Home> :VrmResizeRight<CR>
nnoremap <End> :VrmResizeLeft<CR>

Others:

nnoremap <C-Up> :VrmResizeUp<CR>
nnoremap <C-Down>:VrmResizeDown<CR>
nnoremap <C-Right> :VrmResizeRight<CR>
nnoremap <C-Left> :VrmResizeLeft<CR>

About

Resize window with ease

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published