Skip to content

vim-scripts/AutoSaveSetting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

This is a mirror of http://www.vim.org/scripts/script.php?script_id=3626

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.

Git repository:
https://github.com/kien/autosavesetting.vim

================
.vimrc options:
================

>>    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).

About

Persistent settings for gVim (Mac/Linux/Win)

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors