Friday, March 26, 2010

Re: Command-line completion for filetypes?

On Fri, March 26, 2010 8:15 am, François Ingelrest wrote:
> Hi all,
>
> I was wondering: Any reason why completion isn't used for setting
> filetypes on the command-line? For instance, it would be nice if
> typing
>
> :set ft=py<wildchar>
>
> could complete to 'python' or could bring up the list of filetypes
> beginning by 'py'. This would be interesting when one doesn't know the
> exact name of the filetype, or just to save time. I also use
> command-line completion so often that I also unintentionally try to
> use it for filetypes, and end up with garbage characters...

I have wondered about that, too.

Here is a snippet I use if I have the feeling I need something like this:
http://groups.google.com/group/vim_use/msg/0b2a3a26c68379c7

regards,
Christian

--
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

To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

No comments: