hi, i use vim both at work and at home so i share configuration files
between them. is there any way to enable some options based on the
value of global variable?

i.e.

athome=1


if (athome=1)
   set cursorline
else
   set nocursorline

or

if (athome=1)
  let g:LookupFile_DefaultCmd = ':LUTags'
else
  let g:LookupFile_DefaultCmd = ':LUWalk'

the posted examples are pointless, but i hope you get the idea!


thanks in advance for your time,
-nikolas

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to