Vim scripting

Rob Wehrli plug-devel@lists.PLUG.phoenix.az.us
Tue Mar 5 10:05:45 2002


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!