You're viewing a comment by saurav shrestha and its responses.

saurav shrestha Permalink
August 09, 2011, 22:34

Firstly thanks for the wonderful cli-experience-changing tutorial!

I have but one gripe that I'm trying to sort out. Whenever I try to edit the command in 'vi' itself by pressing the 'v' key, it opens up in nano!

If someone would be willing to show how to fix this, it'd be much appreciated.

Comment Responses

Angus Warren Permalink
September 08, 2011, 04:43

You need to update your $EDITOR variable to reflect the editor that you prefer.

Add this line to your .bashrc:

export EDITOR=vim

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "security_38": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.