<<< Date Index >>>     <<< Thread Index >>>

tip: start vim with interacive mode: set editor="vim +:$ +:star!"



Salve!

After a little help with the vim-user mailinglist (thank you Gary) and a 
reminder to read the help I have a small tip for your muttrc:

set editor="vim +:$ +:star!" #start vim on top of the body with the inserting 
mode

(is this explaination correct? Please feel free to make it better!)


        +:8
will jump to line 8 (used by most muttrc)

        +:$ 
will jump to the last line, the beginning of your body, independend
from your muttrc configuration.

        +:star[tinsert] 
will start the insert mode

        +:star[tinsert]!
will start the insert mode and jumpt to the end of a line
so for the vimrc would also work

        set editor="vim +:$ +:star" 
        

and you don`t need to press "i" anymore,
before you can start writing your mails ;)

See also in vim:
        :help startinsert


Greetings
rob

PS: Link to the thread on vim@xxxxxxx (vim-users)
http://marc.theaimsgroup.com/?l=vim&m=110295347510128&w=2