Is there an option to make vim expand an abbreviaiation at the end of a word?
In other words let's say I map :iab bb bar, how can I get the expansion:
foobb<space> = foobar?
Is there an option to make vim expand an abbreviaiation at the end of a word?
In other words let's say I map :iab bb bar, how can I get the expansion:
foobb<space> = foobar?
foofo<space>, it will be expanded intofooFOOBAR. All you would have to do, is put your abbreviations inside the dictionarys:anywhere_abbreviations. For example, to add your abbreviationiab bb bar, you would add in the dictionary'bb': 'bar'. – user9433424 Apr 10 '16 at 16:01