Re: Questions regarding auto-guessing the encoding

2006-10-03 Thread Yongwei Wu
On 10/3/06, Yegappan Lakshmanan [EMAIL PROTECTED] wrote: Hello, On 10/2/06, Yongwei Wu [EMAIL PROTECTED] wrote: * Is there a way to tell a user-defined command to have file name completion? Yes. You can use the -complete=file option when defining the command. For example, Thanks. It's

Re: Questions regarding auto-guessing the encoding

2006-10-02 Thread Yongwei Wu
On 10/3/06, Yongwei Wu [EMAIL PROTECTED] wrote: * Why keymap/accents.vim is opened as UTF-8 and fails the conversion when fencs=ucs-bom,utf-8,cp936? (It is opened as Latin1 when fencs=ucs-bom,utf-8,latin1, and this inconsistency is a little annoying to me to determine in a handler whether the

Re: Questions regarding auto-guessing the encoding

2006-10-02 Thread Yegappan Lakshmanan
Hello, On 10/2/06, Yongwei Wu [EMAIL PROTECTED] wrote: * Is there a way to tell a user-defined command to have file name completion? Yes. You can use the -complete=file option when defining the command. For example, command -nargs=1 -complete=file EditFile edit args For additional