On Dec 14, 5:24 am, Tim Chase <v...@tim.thechases.com> wrote: > Jeremy wrote: > > I have a map set whenever I enter 'ib' (without quotes) the text > > expands. However, sometimes I write ib as part of a word and I don't > > want the map to be executed unless it is part of a word all by > > itself. Is it possible to do this? Or perhaps to wait a bit of time > > to see if I type anything after it before it gets executed? > > This sounds like you're using a mapping where you want an > abbreviation. > > :iab ib Text to Expand to > > Abbreviation-expansion has somne included smarts to determine > whether the "ib" is part of a word, or standalone. > > -tim
Yes this is the answer. A classic case of using the wrong tool to get the job done. Thanks! Jeremy -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php