티스토리 뷰
On Ubuntu the configuration file is called ~/.selected_editor
With the following command you can select the default editor again:
$ select-editor
Removing the file in your home directory also works.
$ rm ~/.selected_editor
Only setting the variables $VISUAL
or $EDITOR
will work but is only persistent if you write it to a script which is executed in your environment.
Add to your rc file
$ echo "export VISUAL=/usr/bin/vi" >> ~/.bashrc
But i wouldn't recommend to use the last solution.
'os' 카테고리의 다른 글
Cause: java.sql.SQLException: The user specified as a definer 에러 발생 시 (0) | 2017.04.27 |
---|---|
mysql 현재시간 설정 mysql (0) | 2017.04.27 |
Installing Jenkins on Ubuntu (0) | 2017.03.15 |
리눅스 디스크 용량 확인 (0) | 2017.02.06 |
톰캣(Tomcat) 한글깨짐 설정 (0) | 2016.12.13 |