Hi guys.
I wanna autocomplete URLs on the cmdline so when I type
:e scp://root@somewhere//some<TAB>
It would expand to
:e scp://root@somewhere//somefile
First step would something like
:cmap <TAB><TAB>
Or the more complicated catch TAB, rerun wildchar() func (if not an scp url)
or :cmap <TAB>
and execute something like:
ssh root@devshop 'ls /dir/*'
and add that either to the wildmenu (how would that be done?) or pass the first result at the end of the line.
But since netrw already provides and explorer - is there already an easier way to do this? Or could anyone elaborate on why or why not this would be possible.
Regards,
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Wednesday, June 4, 2014
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment