Hi pixelterra!

On Di, 08 Dez 2009, pixelterra wrote:

> 
> >
> > :com! -nargs=+ Tabe  :tab all
> >
> > and then you can use :Tabe *.erb
> 
> Oo. This looks promising! Could you unpack the :com line for me? What
> does that do exactly. Should that go in my .vimrc?

:com!          " Create a new custom command (and overwrite existing
                 definitions)
-nargs=+       " That expects at least one argument
Tabe           " This new command is called :Tabe
:tab all       " and executes :tab all

see also
:h user-commands
:h 40.2

for a brief introduction on how to use and define user commands.

regards,
Christian
-- 
:wq

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

Reply via email to