Skip to content

Using parentheses after insert mode abbreviations will not trigger the abbreviation #55

@againxx

Description

@againxx

I set iabbrev pritn print in my vimrc, but the abbreviation didn't expand after I typed pritn(.

In Learn Vimscript the Hard Way, the author says that

Vim will substitute an abbreviation when you type any "non-keyword character" after an abbreviation.

Other non-keyword characters work fine, such as ,. Like the discussion in https://vi.stackexchange.com/questions/10649/expand-abbreviation-when-the-following-non-keyword-character-is-mapped-to-someth, the problem seems to lay in the mapping.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions