Questions tagged [abbreviations]

Vim can handle abbreviations to replace some text by some other text. Question about creating these abbreviations and how to make them work.

Filter by
Sorted by
Tagged with
0
votes
1answer
309 views

Strange behaviour of abbreviations triggered with shift+enter in gvim+vim-latex

Playing with abbreviation in insert mode i noticed the following unexpected behaviour, when using gvim with vim-latex plugin: Defining an abbreviation such as :iab m <m> or any similar "...
32
votes
1answer
10k views

What are the differences between the map, noremap, abbrev and noreabbrev commands?

These commands transform one set of keystrokes to another in some way, but I am somewhat fuzzy on which one is most appropriate for some situation. In addition, there are the ! variants of them as ...
5
votes
1answer
208 views

Undo a single iab abbreviation expansion

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 ...

1
2