Sample Header Ad - 728x90

How to use vim for editor when running fc?

3 votes
3 answers
2517 views
I have a machine for which when I run fc it opens in the nano editor. How can I switch the editor to vim when I edit a command with fc?
Asked by leeand00 (4939 rep)
Jun 8, 2018, 06:40 AM
Last activity: Jan 12, 2022, 05:41 PM