By default
Pine uses its own built-in editor,
Pico. To have it use
Vim instead requires this
setting:
editor = vim
That much is fairly obvious. Rather less so is that these two settings
are needed as well:
[X] enable-alternate-editor-cmd
[X] enable-alternate-editor-implicitly
These settings can be found by pressing
S then
C
at the main menu, then using the
W command to search for the
string
editor.
Once set up headers will be edited in Pine exactly as
before, but moving ‘down’ past the last header and into the
message body will cause Vim to be launched to edit the body;
no headers will be loaded into Vim.
Information on how
Vim can format messages sensibly as you
type is given in the section on
formatting text files. Note that the
gq reformatting keystroke generally works fine with quoted
text, keeping the quotation characters in sensible places, even with
multiple levels of quotation.