[OS X TeX] The Power of Vi, the ease of TeXShop

Nick Black nickblack1 at gmail.com
Fri Oct 13 10:24:17 CEST 2006


I have just seen this plugin and thought it might be of interest to the list:

"This bundle patches the Cocoa Text System to add a Vi-like command
mode. After entering command-mode (typically, by hitting escape in
Vi), ordinary Vi commands can be typed and the text field will be
updated accordingly. Essentially, this add Vi command functionality
(albeit a small subset) to any (and all) text editors that use the
Cocoa text system; e.g., Safari, TeXShop, XCode, etc. Note, however,
this does not work for other programs that do not use the Cocoa

All the text windows, will initialize in "input" mode (standard cocoa
text input). You invoke the Vi-command window (exit the input mode) by
hitting ` (the back-apostrophe key, this is customizable, see
installation instructions) and then key in your favorite Vi commands.
For example, move down a line 'j', move right 'l', delete two lines
'd2d', and so on. You enter back into "input" mode by typing the 'i'.
You get the idea. Right now, you should be thinking -- "you mean the
editor in XCode will behave like Vi?" Answer: Yes."


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/

More information about the macostex-archives mailing list