Skip to content

Behavior on "Pattern not found" #170

Open

Description

@githorse

I use Supertab with YouCompleteMe. The problem: with some frequency I find myself in a plain-text file wishing to type some text here<tab>. When there are no completion matches, nothing happens when I hit tab; the cursor just sits there. If I type a space and then <tab> (some text here <tab>), the tab is inserted as expected. This was annoying enough that I just went through my vimrc to figure out what was causing it. How about a default behavior (or a configuration option) to just insert an actual tab when there are no matches?

Activity

  1. ervandew commented on Apr 13, 2016

    @ervandew
    Owner

    Having an option for that would be nice, but unfortunately there is no way for supertab to know that there were no matches. It simply handles sending key strokes to vim, so once those are sent, supertab doesn't have any information on what the result was.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions