5

Vim has an "abbreviation" feature built-in that can automatically expand certain abbreviations:

:iab SE Stack Exchange

However, sometimes I might want to type "SE" without it expanding to "Stack Exchange."

Is there any way to undo a single abbreviation and insert only the original, unabbreviated text? If not, can I add something to my .vimrc to enable a key shortcut or other method of doing so?

5

When you typing SE hit CTRL-v and then spacebar to insert space character. See :h i_CTRL-v for details.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.