Emacs or Vim - how close to a word processor can it get?
Georgina Joyce
gena at mga.demon.co.uk
Tue Dec 4 17:35:57 EST 2007
Many thanks. That should save my arthritic fingers some work.
Gena
Yes, it's usr_24.txt in my vim docs. Example they give is:
:iabbrev JB Jack Benny
I have shortened 'iabbrev' to 'iab' for convenience. I have also prefixed my abbreviations with the letter 'y' in order to minimize accidental expansion.
Speaking of accidental expansion, I'm embarassed to notice that my text example to you was expanded by vim. Guess it did what I told it too! <grin> Sorry about that. Here's a hand typed example from my .vimrc:
iab Americans with Disabilities AQct (ADA) Americans With Disabilities Act (ADA)
So, when I want that whole phrase in my text, all I need to type is y a d a without the spaces. I can't do it now, of course, because vim would simply expand it for me again.
Janina
More information about the Speakup
mailing list