리눅스
ubuntu editor reset 우분투 편집기 초기화
고.니
2018. 9. 26. 20:48
반응형
아래 명령어를 이용하시면 됩니다.
1 | sudo update-alternatives --config editor |
그러면 아래 처럼 나오는데 저는 항상 쓰던 vi를... 4번 누르면 됩니다.
1 2 3 4 5 6 7 8 9 10 | There are 5 choices for the alternative editor (providing /usr/bin/editor). Selection Path Priority Status ------------------------------------------------------------ * 0 /bin/nano 40 auto mode 1 /bin/ed -100 manual mode 2 /bin/nano 40 manual mode 3 /usr/bin/emacs24 0 manual mode 4 /usr/bin/vim.basic 30 manual mode 5 /usr/bin/vim.tiny 10 manual mode |
반응형