Changing the Default Text Editor in Linux

A default text editor comes with respective Linux distributions. Such as nano, vim, ed etc. Users can change it according to their preferences by changing the $EDITOR environment variable. Changing default editor from nano to vim You must open the .bashrc file and append the line as shown below. #FILE: .bashrc export EDITOR=”vim” Different command […]

Read More