[OS X TeX] general question concerning font installation

Martin Costabel costabel at wanadoo.fr
Tue Sep 11 03:17:27 EDT 2007

David Watson wrote:
> While I agree with the use of emacs, the reason why this discussion has 
> turned this way is because of the original comment to:
>     sudo updmap-sys --edit
> which will call vi to edit the file, for better or worse.

For some administrative tasks (example: editing the sudoers file), vi is 
necessary because of its precision. It does exactly what it is told, not 
getting smart on you and transforming tabs into spaces, adding spaces at 
the end or wrapping lines like emacs has a habit of doing.

Most of the time you can get away with just 5 easy to remember vi commands

i   to go into editing mode (indicated by INSERT in the bottom line)
Esc to get out of editing mode (the "esc" key)
:x  to save and exit (equivalent variants ":wq" or "ZZ")
:q  to exit without saving if you haven't changed anything
:q! to exit without saving if you did change something


------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/

More information about the MacOSX-TeX mailing list