vi 밖에서 파일이 변경되었을 때 
아래와 같은 경고메시지가 나오는데,
W11: Warning: File "CMS.20100528" has changed since editing started
See ":help W11" for more info.
[O]K, (L)oad File:

아래와 같이 설정하거나
:set autoread 

.vimrc 에 넣어주면

경고메시지가 나오지 않고 바로 load 합니다.

vi help 내용
'autoread' 'ar'         boolean (default off)
                        global or local to buffer |global-local|
                        {not in Vi}
        When a file has been detected to have been changed outside of Vim and
        it has not been changed inside of Vim, automatically read it again.
        When the file has been deleted this is not done.  |timestamp|
        If this option has a local value, use this command to switch back to
        using the global value: >
                :set autoread<


'OS > linux / unix' 카테고리의 다른 글

man-page 설정  (0) 2010.06.02
2010 - 리눅스마스터 시험일정  (0) 2010.06.01
df 용량이 실제하고 안 맞을 때  (1) 2010.05.25
create dummy file using dd  (0) 2010.05.21
ps 옵션 - 프로세스 이름으로 pid 찾기  (0) 2010.05.21
Latest update: 2010. 5. 28. 11:41