David Fishburn | 15 Aug 2012 16:00
Picon

wildmenu=full matching

Just an observation, which looks wrong.

:set wildmode=full
:set wi<tab>

I get these matches listed:
weirdinvert     wildcharm       wildignorecase  wildmode
winaltkeys      winheight       winfixwidth     winminwidth
wildchar        wildignore      wildmenu        wildoptions     window
         winfixheight    winminheight    winwidth

Why does "weirdinvert" show up when it does not begin with "wi"?

The specific setting of wildmode doesn't really matter, you also get this with:
:set wildmode=list:full

:ver
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jul 17 2012 09:51:59)
MS-Windows 32-bit GUI version with OLE support
Included patches: 1-604
Compiled by fishburn <at> FISHBURN-WIN7
Big version with GUI.  Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset
+cindent +clientserver +clipboard +cmdline_compl +cmdline_hist
+cmdline_info +comments +conceal +cryptv +cscope +cursorbind
+cursorshape +dialog_con_gui +diff
+digraphs -dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search
+farsi +file_in_path +find_in_path +float +folding -footer
+gettext/dyn -hangul_input +iconv/dyn +insert_expand +jumplist +keymap
+langmap +libcall +linebreak
(Continue reading)

Jürgen Krämer | 15 Aug 2012 16:09

Re: wildmenu=full matching


Hi,

David Fishburn wrote:
> Just an observation, which looks wrong.
> 
> :set wildmode=full
> :set wi<tab>
> 
> I get these matches listed:
> weirdinvert     wildcharm       wildignorecase  wildmode
> winaltkeys      winheight       winfixwidth     winminwidth
> wildchar        wildignore      wildmenu        wildoptions     window
>          winfixheight    winminheight    winwidth
> 
> Why does "weirdinvert" show up when it does not begin with "wi"?
> 
> The specific setting of wildmode doesn't really matter, you also get this with:
> :set wildmode=list:full

probably because 'wiv' ist the short form for 'weirdinvert'.

Regards,
Jürgen

-- 
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us.     (Calvin)

--

-- 
(Continue reading)

David Fishburn | 16 Aug 2012 21:36
Picon

Re: wildmenu=full matching


On Aug 15, 2012, at 10:09 AM, Jürgen Krämer <jottkaerr <at> googlemail.com> wrote:

> 
> Hi,
> 
> David Fishburn wrote:
>> Just an observation, which looks wrong.
>> 
>> :set wildmode=full
>> :set wi<tab>
>> 
>> I get these matches listed:
>> weirdinvert     wildcharm       wildignorecase  wildmode
>> winaltkeys      winheight       winfixwidth     winminwidth
>> wildchar        wildignore      wildmenu        wildoptions     window
>>         winfixheight    winminheight    winwidth
>> 
>> Why does "weirdinvert" show up when it does not begin with "wi"?
>> 
>> The specific setting of wildmode doesn't really matter, you also get this with:
>> :set wildmode=list:full
> 
> probably because 'wiv' ist the short form for 'weirdinvert'.
> 
Thanks Guys. 

I guess in this case Vim is being smarter than me. 

Dave. 
(Continue reading)

Christian Brabandt | 15 Aug 2012 16:14

Re: wildmenu=full matching

On Wed, August 15, 2012 16:00, David Fishburn wrote:
> :set wildmode=full
> :set wi<tab>
[...]
>
> Why does "weirdinvert" show up when it does not begin with "wi"?

My guess is - whithout having looked it up in the source - that Vim uses
also the short option names for matching, which for weirdinvert is 'wiv'

regards,
Christian, never heard of the option weirdinvert...

--

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


Gmane