[우분투] 우분투에서 vim indentation

우분투의 vim에서 다음 설정이 안되는 경우가 있다.

# vim: ts=4 sw=4 sts=4 autoindent

이유는 우분투에서는 보안 이유로 "set modeline"가 디폴트로 안되어 있어서 그렇다.
"set modeline"을 .vimrc에 추가하면 된다.

댓글

이 블로그의 인기 게시물

utf-8과 utf8