On Sun, Feb 25, 2007 at 07:57:39PM EST, A.J.Mechelynck wrote:
[..]
> 
> - To change (once) to the dir of the current file
> 
>       :cd %:p:h

Nice. 

But I'm not going to remember it until I understand it.

I scoured the :help files but couldn't find and explanation of the
syntax. 

:p is short for :print and :h is help.

So there's two things I don't know:

1. The symbolic (?) language you are using - the same that's used when
   scripting vim, I would imagine.

2. How to use vim's help efficiently 

:-)

Thanks,

cga

Reply via email to