There is a quick way to change your default editor, whichever you want.
First open up a
terminal by going to
Applications > Accessories > Terminal (in Ubuntu) or press
Alt + F2 and type in
terminal. Now that you have a terminal open, let’s get down to viewing your history.
.bashrc by typing:
Now to change your bash default editor find.
However, if you can’t find that, just add this to the top.
Personally I like
vim. You can use
/usr/bin/nano), or any other editor you like.
Like always, you can learn more about this by doing the following: