Maybe it's just my installation but doesn't vanilla vim do that per default? 
Just press : and up-arrow and old commands should appear.

--
ds

-----Ursprungligt meddelande-----
Från: Patrick Dupre [mailto:pdu...@gmx.com] 
Skickat: den 28 september 2017 13:05
Till: fedora <users@lists.fedoraproject.org>
Ämne: vi

Hello,

How can I keep stored the commands of vi from call to call?
cf.
1,$s/  //

I would like to have it back next time that I edit other file.

Thank.

===========================================================================
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===========================================================================
_______________________________________________
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an 
email to users-le...@lists.fedoraproject.org
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to