안녕하세요.. VI 사용중에 갑자기 컬러가 안나옵니다..
여태껏 잘 사용하고 있었는데 갑자기 컬러가 안나옵니다.
/usr/share/vim/vim60z/ 안에 있던 vimrc_example 파일을
Home Directory 에 옮겨두고 난후부터 vi 실행하면 온리 흰색 검은색만 나옵니다.
설정파일에서 별로 건드린건 없구요.
자동 들여쓰기 , 탭사이즈 , 스마트 인덴트.. 등만 설정해줬는데..
하도 깝깝해서 원래대로 돌리려고 홈디렉토리에 있는 .vimrc 파일을 삭제해봐도
똑같습니다..ㅠㅠ
아 그리고.. vim 하면 실행이 안되더라구요???
전에는 됐던것 같은데..
~/.vimrc 파일은 다음과 같습니다.
if has("vms")
set nobackup " do not keep a backup file, use versions instead
else
set backup " keep a backup file
set ts=4
endif
set history=50 " keep 50 lines of command line history
set ruler " show the cursor position all the time
set incsearch " do incremental searching
map Q gq
syntax on
if has("autocmd")
filetype plugin indent on
autocmd BufReadPost *
\ exe "normal g`\"" |
\ endif
endif " has("autocmd")
~
~
이런경우는 어찌해야 할까요?? 질문에 정보가 부족하다면
추가정보 다 올릴테니 말씀만 해주세요..ㅠㅠ
[quote]/usr/share/vim/vim60z/ 안에 있던 vimr
답이 이미 나온듯.
[url]http://www.gentoo.or.kr/wiki/moin.c
http://www.gentoo.or.kr/wiki/moin.cgi/VIM?action=highlight&value=vimrc
각종 vimrc 입니다.
교체해보는것도 괜찮겠죠.
무슨 문제인지 모르겠는데...
syntax on 명령을 하면
E319: Sorry, the command is not available in this version
이런 에러메시지 출력됩니다..
윗분께서 링크걸어주신 곳에서 vimrc 설정을 가져다가 써봤는데..에러만 수두룩히 나옵니다..ㅠㅠ
에러 내용입니다.
======================================
line 77:
E319: Sorry, the command is not available in this version: endfunction
line 81:
E319: Sorry, the command is not available in this version: au FileType perl call MODE_perl()
line 82:
E319: Sorry, the command is not available in this version: au FileType python call MODE_python()
line 83:
E319: Sorry, the command is not available in this version: au FileType xdefaults call MODE_xdefaults()
line 84:
E319: Sorry, the command is not available in this version: au BufNewFile *.pl execute "normal i#!/usr/bin/perl -w^M\<Esc>"
line 86:
E319: Sorry, the command is not available in this version: function! MODE_perl()
line 87:
E319: Sorry, the command is not available in this version: call MODE_script()
line 91:
E319: Sorry, the command is not available in this version: endfunction
line 94:
E319: Sorry, the command is not available in this version: function! MODE_python()
line 95:
E319: Sorry, the command is not available in this version: call MODE_script()
line 100:
E319: Sorry, the command is not available in this version: endfunction
line 103:
E319: Sorry, the command is not available in this version: function! MODE_script()
line 113:
E319: Sorry, the command is not available in this version: endfunction
line 116:
E319: Sorry, the command is not available in this version: function! MODE_xdefaults()
line 118:
E319: Sorry, the command is not available in this version: endfunction
line 122:
E319: Sorry, the command is not available in this version: au FileType c call MODE_c()
line 123:
E319: Sorry, the command is not available in this version: au FileType cpp call MODE_cpp()
line 124:
E319: Sorry, the command is not available in this version: function!
=============================================
현 버전에서 안되니 새 버전으로 업데이트 하라는 건가요?? 근데 얼마전까지만해도 아무 문제 없이 잘 사용하고 있었는데..ㅠㅠ
초보리눅서..
댓글 달기