sponsor Vim development Vim logo Vim Book Ad

gen_vimoptrc.vim : Generate vim option configuration file from option-window.

 script karma  Rating 1/1, Downloaded by 835  Comments, bugs, improvements  Vim wiki

created by
omi taku
 
script type
utility
 
description
Overview
--------
Generate "_vimoptrc" file that contains your all vim optin settings.
New command ":GenVimOptrc", this script added, parse "option-window" and
generate configuration file to your home directory.
This script support your easily update configuration file.

Installation
------------
1. Copy the autoresize.vim script to the $HOME/.vim/plugin or
   the $HOME/vimfiles/plugin. Refer to the ':help add-plugin',
   ':help add-global-plugin' and ':help runtimepath' topics for
   more details about Vim plugins.
2. Restart Vim.

Usage
-----
1. Run ":options" command.
2. Update your vim options.
3. Run ":GenVimOptrc" command in "option-window",
   this command generate "_gvimoptrc" in your $HOME directory.
4. Source "_gvimoptrc" in your gvimrc,
   for example

   :if has("gui_running")
     :source $HOME/_gvimoptrc
   :endif

Configuration
-------------
1. You want use ".gvimoptrc" instead of "_gvimoptrc",
   set your _gvimrc this code.
  
   example.
       :let g:GEN_VIMOPTRC_USE_DOT = 1

Limitation
----------
1. Currently only GUI version of vim is supported.

Note
----
1. see also ":help save-settings".
 
install details
Copy gen_vimoptrc.vim to your plugin directory.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
gen_vimoptrc.vim 0.5 2007-11-30 7.0 omi taku Initial upload
ip used for rating: 142.132.191.50

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github