AutoSaveSetting : Persistent settings for gVim (Mac/Linux/Win)
| script karma
Downloaded by 629
Comments, bugs, improvements
script versions (upload new version)
|Auto-saving the gVim window's size and position from previous launch (including a maximized gVim in a multi-monitors setup) and makes all the settings in the gVim's menu stick. If you change your font, it'll stick. Change your colorscheme? it'll stick, too. Enable/Disable the menu, toolbar and scrollbars? it'll stick.
Tested on standard installations of MacOSX, Ubuntu and Windows.
Only works with the GUI version of Vim. Can be made to work with terminal but it just makes more sense for the GUI version.
>> let g:setting_restore = 1
If non-zero, AutoSaveSetting is enabled at startup. Enabled by default (1).
>> let g:setting_by_vim_instance = 1
If non-zero, save a different set of settings for each Vim instance. Enabled by default (1).
>> let g:setting_ignores_vimrc = 1
If non-zero, settings will persist after sourcing vimrc. Enabled by default (1).
|Extract the archive to ~/.vim on Linux/MacOSX or $HOME\vimfiles on Windows|
Click on the package to download.
ip used for rating: 22.214.171.124
||+ New vimrc option.
+ Prevent losing data after sourcing vimrc.
+ Support Vim Win64bit build.
+ Some minor refactorings.