# obvious-resize **Repository Path**: bon-ami/obvious-resize ## Basic Information - **Project Name**: obvious-resize - **Description**: vim plugin 不定期同步自github - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-19 - **Last Updated**: 2022-06-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Obvious Resize This plugin aims to provide an easy way of resizing Vim windows/splits. It may also seamlessly integrate with tmux, when the same resize keys are used. ![Alt text](obviousresize.gif?raw=true "Obvious-resize with tmux integration") Just add the following into your .vimrc file: ``` noremap :ObviousResizeUp noremap :ObviousResizeDown noremap :ObviousResizeLeft noremap :ObviousResizeRight ``` ## Specifying the Resize Amount Windows get resized 1 line by default, which you can change in your .vimrc file: ``` let g:obvious_resize_default = 2 ``` Like most Vim commands, you can prefix your command with an optional count: `5` will resize by 5 lines. You can also specify a count in your remap: ``` noremap :ObviousResizeUp 5 ``` If you'd like to have tmux integration (by default is disabled), then you may use the following variable: ``` let g:obvious_resize_run_tmux = 1 ```