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:[email protected]] 
Skickat: den 28 september 2017 13:05
Till: fedora <[email protected]>
Ä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: [email protected]
 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 -- [email protected] To unsubscribe send an 
email to [email protected]
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to