Linux2014. 9. 3. 11:04
$ set -o vi
를 사용하면 명령어 줄 에서 vi 처럼 편집이 가능한데
증상으로는 home 키를 누르거나 하면 대문자로 바뀐다 -_-
아무튼 home / end를 쓰기 위해서는
vi 모드를 해제해야 하는데
vi 모드의 반대(?)는 emcas 모드?!!?!?

$ set -o vi
$ set -o emacs

$ set -o
allexport       off
braceexpand     on
emacs           on
errexit         off
errtrace        off
functrace       off
hashall         on
histexpand      on
history         on
ignoreeof       off
interactive-comments    on
keyword         off
monitor         on
noclobber       off
noexec          off
noglob          off
nolog           off
notify          off
nounset         off
onecmd          off
physical        off
pipefail        off
posix           off
privileged      off
verbose         off
vi              off
xtrace          off
$ set -o
allexport       off
braceexpand     on
emacs           off
errexit         off
errtrace        off
functrace       off
hashall         on
histexpand      on
history         on
ignoreeof       off
interactive-comments    on
keyword         off
monitor         on
noclobber       off
noexec          off
noglob          off
nolog           off
notify          off
nounset         off
onecmd          off
physical        off
pipefail        off
posix           off
privileged      off
verbose         off
vi              on
xtrace          off

'Linux' 카테고리의 다른 글

rdate / ntp  (0) 2014.09.17
nice  (0) 2014.09.16
bash 파일 상태 관련 if  (0) 2014.09.01
audit  (0) 2014.08.30
history - bash  (0) 2014.08.30
Posted by 구차니