Hi gang,

I'll be messing around on a remote ftp://ftp.myserver.com/mystuff/
address for the next few days, and tried to set the following shortcut
in .vimrc:

cmap myserver ftp://ftp.myserver.com/mystuff/

When I type :myserver, I get a continuing line of recursive "ftp://
ftp://ftp://ftp://......."; that keeps going until I Ctrl-C.

cmapping a command, such as 'cmap myserver tabnew ftp://ftp.myserver...'
works fine.

Any suggestions as to how I can cmap just an address? I assume there's
some sort of 'blank' argument I'll need to give between 'cmap' and the
address, but I'm not sure what that is.

Any help appreciated.

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

Reply via email to