Vim scripting

Carl Parrish plug-devel@lists.PLUG.phoenix.az.us
Tue Mar 5 10:45:01 2002


On Tue, 2002-03-05 at 09:31, Rob Wehrli wrote:
> On Monday, March 04, 2002 2:26 PM, Carl Parrish [SMTP:cparrish@cox.net] wrote:
> > 
> > Does anyone know how to get the current value of a vim varable? I need
> > to know the value of softtabstop and shiftwidth. I know that sts
> > defaults to 8 and sw defaults to zero. But I need to know what it is if
> > its not the default. This has to be easy but I can't seem to find a
> > source on vim scripting. 
> > 
> > Thanks, 
> > Carl P. 
> > 
> 
> Have you tried the following:
> 
> se sts?
> se sw?
> 
> Take Care.
> 
> Rob!

Thanks Rob, that works great. 

Carl P. 
> _______________________________________________
> PLUG-devel mailing list  -  PLUG-devel@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-devel