Skip to content

Inconsistency with inserting highlighted word #203

@jsdalton

Description

@jsdalton

I've used this plugin for a long time and I have the following problem (which I do not see addressed in the documentation).

Put simply, I am in insert mode, I hit <Tab> to bring up a dropdown of matches, then I cycle through the options. Now...

How do I choose the option to insert?

Here is what I have found:

  • If I have to actually cycle through to a suggestion, then pressing <Enter> works as I would expect it to. The new suggestion is inserted into the document and I can continue typing (in Insert mode).
  • If the suggestion I want is the "initial" suggestion, then <Enter> does not work. Or rather it works but ... it inserts a carriage return. I have tried other keys and they all essentially "work" (i.e. result in the suggestion being inserted) but also the character itself that I type gets inserted.
    • One way of choosing that does work is the right arrow key. It chooses the suggestion and doesn't actually insert anything into the document. However.... the right arrow key does not actually choose the suggestion if I use anything other than the initial suggestion.

In short, I'd like to know the "right" way to:

  • Choose one of the matching suggestions, whether it is the initial suggestion or one a I cycle to
  • Insert that selection into my document (i.e. complete the phrase)
  • Put my cursor at the end fo the insertion in insert mode so that I can continue typing.

Thanks to anyone who can help me figure this out.

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