Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Automatic resizing of Vim windows to the golden ratio

License

NotificationsYou must be signed in to change notification settings

roman/golden-ratio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

When working with many windows at the same time, each window has a size that isnot convenient for editing.

golden-ratio helps on this issue by resizing automatically the windows you areworking on to the size specified in the "Golden Ratio". The window that has themain focus will have the perfect size for editing, while the ones that are notbeing actively edited will be re-sized to a smaller size that doesn't get inthe way, but at the same time will be readable enough to know it's content.

Example of autocmd resizing.

You can also disable the automatic resizing and use a mapping to resize ondemand.

For more info about the golden ratio check outGolden Ratio on Wikipedia.

Options

Refer to:help golden-ratio for options.

Installation

cd ~/.vim/bundle git clone git://github.com/roman/golden-ratio.git
" .vimrcBundle 'roman/golden-ratio'

Credits

This plugin was developed by Roman Gonzalez (romanandreg [at] gmail.com), ifyou have any suggestions to improve the code/functionality please send a pullrequest to the github repo:

http://github.com/roman/golden-ratio

Thanks particuarly to ujihisa for the inspiration to develop this plugin.

License

golden-ratio is released under the MIT license. Check LICENSE file.

About

Automatic resizing of Vim windows to the golden ratio

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors9


[8]ページ先頭

©2009-2025 Movatter.jp