line editor keybindings

Florian Lohoff f at zz.de
Tue Mar 13 10:23:26 UTC 2018


On Tue, Mar 13, 2018 at 11:13:08AM +0100, Marco Dickert wrote:
> On 2018-03-13 20:50:20, Erik Christiansen wrote:
> > On 13.03.18 10:09, Andreas.Mueller at Biologie.Uni-Osnabrueck.DE wrote:
> > >   can I switch the editor key bindings to the vi style ?
> > There is better than that - you can use vim as the mutt editor, with
> > this line in ~/.muttrc:
> > 
> > set editor=vim
> 
> You also may want to use a mutt-dedicated vim configuration, like I do:
> 
> ----
> set editor="/usr/bin/vim -c ~/.mutt/vimrc"
> ----

As an alternative:

au BufRead,BufNewFile /home/flo/tmp/mutt-* set noai tw=72 ft=mail spell

Obviously you need to change you path for your setup.

Flo
-- 
Florian Lohoff                                                 f at zz.de
             UTF-8 Test: The 🐈 ran after a 🐁, but the 🐁 ran away
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://mutt.org/pipermail/mutt-users/attachments/20180313/52ed364b/attachment-0001.asc>


More information about the Mutt-users mailing list