All Projects → simeji → Winresizer

simeji / Winresizer

Licence: mit
very simple vim plugin for easy resizing of your vim windows

Projects that are alternatives of or similar to Winresizer

Vim Search Pulse
Easily locate the cursor after a search
Stars: ✭ 91 (-74.22%)
Mutual labels:  viml, vim-plugins
Vim Follow My Lead
Vim plugin for showing all your <Leader> mappings in a readable table including the descriptions.
Stars: ✭ 100 (-71.67%)
Mutual labels:  viml, vim-plugins
Vimcompletesme
You don't Complete Me; Vim Completes Me! A super simple, super minimal, super light-weight tab completion plugin for Vim.
Stars: ✭ 752 (+113.03%)
Mutual labels:  viml, vim-plugins
Vim Devicons
Adds file type icons to Vim plugins such as: NERDTree, vim-airline, CtrlP, unite, Denite, lightline, vim-startify and many more
Stars: ✭ 4,473 (+1167.14%)
Mutual labels:  viml, vim-plugins
Stackanswers.vim
Vim plugin to fetch and display answers from Stack Overflow
Stars: ✭ 165 (-53.26%)
Mutual labels:  viml, vim-plugins
Pear Tree
A Vim auto-pair plugin that supports multi-character pairs, intelligent matching, and more
Stars: ✭ 327 (-7.37%)
Mutual labels:  viml, vim-plugins
Vim Ruby Minitest
Vim highlighting & completion for MiniTest
Stars: ✭ 97 (-72.52%)
Mutual labels:  viml, vim-plugins
Vim Todo Lists
Vim plugin for TODO lists
Stars: ✭ 126 (-64.31%)
Mutual labels:  viml, vim-plugins
Vim Dadbod Ui
Simple UI for https://github.com/tpope/vim-dadbod
Stars: ✭ 315 (-10.76%)
Mutual labels:  viml, vim-plugins
Vim Operator User
Vim plugin: Define your own operator easily
Stars: ✭ 161 (-54.39%)
Mutual labels:  viml, vim-plugins
Vifm.vim
Vim plugin that allows use of vifm as a file picker
Stars: ✭ 197 (-44.19%)
Mutual labels:  viml, vim-plugins
Vim Packager
Vim plugin manager that utilizes "jobs" and "pack" features.
Stars: ✭ 197 (-44.19%)
Mutual labels:  viml, vim-plugins
Vim Go
Go development plugin for Vim
Stars: ✭ 14,085 (+3890.08%)
Mutual labels:  viml, vim-plugins
Vim Buffet
IDE-like Vim tabline
Stars: ✭ 304 (-13.88%)
Mutual labels:  viml
Vim Phpqa
PHP QA tools for Vim
Stars: ✭ 296 (-16.15%)
Mutual labels:  viml
Blamer.nvim
A git blame plugin for neovim inspired by VS Code's GitLens plugin
Stars: ✭ 283 (-19.83%)
Mutual labels:  viml
Rainbow csv
🌈Rainbow CSV - Vim plugin: Highlight columns in CSV and TSV files and run queries in SQL-like language
Stars: ✭ 337 (-4.53%)
Mutual labels:  vim-plugins
Taskpaper.vim
This package contains a syntax file and a file-type plugin for the simple format used by the TaskPaper application.
Stars: ✭ 325 (-7.93%)
Mutual labels:  viml
Rust.vim
Vim support for Rust file detection and syntax highlighting.
Stars: ✭ 288 (-18.41%)
Mutual labels:  viml
Elm.vim
Vim plugin for the Elm programming language
Stars: ✭ 286 (-18.98%)
Mutual labels:  viml

winresizer.vim

Very simple vim plugin for easy resizing of your vim windows.

You can resize windows continuously by using typical keymaps of Vim. (h, j, k, l)
The WindowResize mode makes your operation more quickly and more naturally.

Demo

For terminal vim

Resize mode

demo-for-terminal

Window Move mode

You can move windows.
demo-move

Change the focus & resize window

Focus mode -> Resize mode
demo-focus

For MacVim(gui vim)

  • MacVim Window resize
  • Vim window resize

demo-for-macvim

In default setting

  1. You press keys Ctrl + E or execute :WinResizerStartResize on vim(in normal mode), to run this plugin

  2. Start 'window resize mode', and you can resize current vim windows using 'h', 'j', 'k', 'l' keys

  3. You want to finish resize mode, then press "Enter" key

  4. If you cancel window resize, then press "q" key. You will get window size of before change

  5. You can change the mode if you press "e" in 'window resize mode'

Customize options

You can change setting and key mappings by using below options.(in your vimrc)

variable name default value description
g:winresizer_enable 1 Use winresizer (If this value is 0, this plugin will not work)
g:winresizer_gui_enable 0 Use winresizer in GUI Vim (If this value is 0, this plugin will not work in GUI Vim such as Mac Vim)
g:winresizer_finish_with_escape 1 If this value is 1, window resize mode is finished(fixed) by Esc
g:winresizer_vert_resize 10 The change width of window size when left or right key is pressed
g:winresizer_horiz_resize 3 The change height of window size when down or up key is pressed
g:winresizer_start_key Ctrl + e Start window resize mode
g:winresizer_gui_start_key Ctrl + a Start window resize mode (in GUI Vim)
g:winresizer_keycode_left 104(h) Expand window size to left
g:winresizer_keycode_right 108(l) Expand window size to right
g:winresizer_keycode_down 106(j) Expand window size to down
g:winresizer_keycode_up 107(k) Expand window size to up
g:winresizer_keycode_focus 102(f) Change a mode to Focus mode
g:winresizer_keycode_move 109(m) Change a mode to Move mode
g:winresizer_keycode_resize 114(r) Change a mode to Resize mode
g:winresizer_keycode_mode 101(e) Rotate a mode (Resize -> Move -> Focus -> Resize ...)
g:winresizer_keycode_finish 13(Enter) Fix and escape from window resize mode
g:winresizer_keycode_cancel 113(q) Cancel and quit window resize mode

If you want to resize MacVim window itself, you must set below.

let g:winresizer_gui_enable = 1

Example in your .vimrc

📝 If you use winresizer with default settings. Don't have to do any settings.

" If you want to start window resize mode by `Ctrl+T`
let g:winresizer_start_key = '<C-T>'

" If you cancel and quit window resize mode by `z` (keycode 122)
let g:winresizer_keycode_cancel = 122
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].