sponsor Vim development Vim logo Vim Book Ad

Pit Configuration : pit configuration library for vim

 script karma  Rating 2/2, Downloaded by 1145  Comments, bugs, improvements  Vim wiki

created by
Yasuhiro Matsumoto
 
script type
utility
 
description
pitconfig.vim can load vim's variables from pit configurations. you can hide secret variables(ex: password) in your vimrc. pitconfig.vim set variable into vim's global scope.

ex)
# vim
:echo mypassword
xxxxxx
:PitAdd mypassword
:e ~/.vimrc
" remove mypassword setting in your vimrc
:wq!

# vim
:echo mypassword
xxxxxx


---------------------------------
:PitReload
  reload pit config named as g:pitconfig_default

:PitLoad profile
  load pit config named as 'profile'

:PitShow
  show current pit config named as g:pitconfig_default
:PitShow profile
  show current pit config named as 'profile'

:PitSave
  save current variables to pit config which named as g:pitconfig_default
:PitSave profile
  save current variables to pit config which named as 'profile'

:PitAdd varname
  add variable to current pit config.

:PitDel varname
  delete variable from current pit config.
 
install details
copy pitconfig.vim to your plugin directory. pitconfig.vim require perl interface and Config::Pit module on cpan.
 

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
pitconfig.vim 0.1 2008-10-14 7.0 Yasuhiro Matsumoto Initial upload
ip used for rating: 18.97.9.171

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