[email protected] wrote: > I always use 'vi'. It always remembered the last line > edited in a file. > > I recently noticed that it is not doing it, but 'vim' > still does (the two have many other differences). > > Was there a change where 'vi' is not anymore an alias of > vim? I thought it was. > > I am on f42.
I think this is https://bugzilla.redhat.com/2439657 You'll have to check if you have vim >= 9.1.2146-2. IF so, then there should be an alias created such that vi calls vim when vim-enhanced is installed. But that alias will not be in place if you've got any other alias for vim or vi or have changed your PATH (as just a couple of ways I can see that it would be skipped). Setting your own alias or function which calls vim when you run vi should work too. I haven't read the bugs and PR's which led to the change to know what downsides there are to using a wrapper script like the one that used be installed by the Fedora package, but that could be used as well. The old vi wrapper can be seen in the package git history: https://src.fedoraproject.org/rpms/vim/raw/0c8e8730/f/vi_wrapper Alternately, you could retrain your fingers to type vim. ;) -- Todd
signature.asc
Description: PGP signature
-- _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
