might be a bad idea: make an autocmd, for your certain ft, before saving, do a series :s substitution (could be wrapped in a function).
On Tue, Apr 16, 2013 at 12:18 PM, Anthony Campbell <[email protected]> wrote: > I have a lot of abbreviations to automatically correct tyiping errors > (hte to the, etc.). It works well for whole words but it would be useful > to have it for some teminations, e.g. to catch words ending in *lly > which I tend to type as *lhy. > > I haven't been able to find such a thing with google. It's no big deal > but given that one can do practically anything in vim, I thought I'd > ask. > > > -- > Anthony Campbell - [email protected] > http://www.acampbell.org.uk > http://www.reviewbooks.org.uk > http://www.skepticviews.org.uk > http://www.acupuncturecourse.org.uk > http://www.smashwords.com/profile.view/acampbell > https://itunes.apple.com/ca/artist/anthony-campbell/id73235412 > > > > > > -- > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > > --- > You received this message because you are subscribed to the Google Groups > "vim_use" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
