Thank you Ben, your suggestion -- :verbose map <Tab>, helped me figure out
the problem.  There was indeed another interfering mapping and once removed
everything worked like a charm.


Cheers.

On Tue, Jan 7, 2014 at 5:09 PM, Ben Fritz <[email protected]> wrote:

> On Sunday, January 5, 2014 2:13:48 PM UTC-6, Matteo Landi wrote:
> > Imagine I just typed `Hea' and the completion popup pops in
>
> By default, Vim will only pop up a completion menu if you explicitly tell
> it to, by pressing one of the completion key combinations: <C-N>, <C-P>,
> <C-X><C-O>, etc. If your menu pops up automatically as you type, it must be
> a plugin doing that.
>
> > with the wollowing words: Head, Hearst, Heath, Heather and Heaviside.
> To  autocomplete with `Heater' I would move the selection to  the right
> line using  arrow keys or <C-N>/<C-P> and then would confirm the action
> with either Enter or <C-Y>.
> >
> >
> >
> > What happens with the mapping above?  When I press <Tab> to confirm the
> autocompletion, Vim closes the completion popup and insert a space at the
> end -- leaving me with `Hea ' instead of `Heather'.
> >
> >
> >
> > Is there a way to check for any interfering plugin?  Maybe
> vim-autocomplpop?
> >
>
> You can check to see what mapping is actually active for the <Tab> key,
> and what file defined that mapping:
>
> Insert and command-line mode:
>   :verbose map! <Tab>
>
> Normal, operator pending, and visual mode:
>   :verbose map <Tab>
>
> If these commands show your mapping, then there must be some problem with
> the mapping or Vim settings interfering. If these commands show some other
> mapping, check the file it says created the mapping.
>
> Note, if you have the 'paste' option set, your insert-mode mappings will
> not be used. I'd double-check that option value before doing anything else.
>
> --
> --
> 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 [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to