Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • I have the same vim version and I can't reproduce this behavior. My command history shows (like yours) that the abbreviation was expanded with una but it is disabled after I enter the command. Commented Aug 12, 2015 at 6:21
  • Could it be that you're typing :una main followed by a space? In other words, are you causing the abbreviation to be expanded before entering the command? Commented Aug 12, 2015 at 6:28
  • @Joseph I tried with space and direct enter both, give same behaviour Commented Aug 12, 2015 at 13:57
  • Also note, if you abbreviate at the buffer level, you have to unabbreviate at the buffer level as well, e.g. iuna <buffer> main Commented Oct 7, 2019 at 17:08