안녕하세요.. VI 사용중에 갑자기 컬러가 안나옵니다..

startlac의 이미지

여태껏 잘 사용하고 있었는데 갑자기 컬러가 안나옵니다.
/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/ 안에 있던 vimrc_example 파일을
Home Directory 에 옮겨두고 난후부터 vi 실행하면 온리 흰색 검은색만 나옵니다.

답이 이미 나온듯.

익명 사용자의 이미지

http://www.gentoo.or.kr/wiki/moin.cgi/VIM?action=highlight&value=vimrc

각종 vimrc 입니다.

교체해보는것도 괜찮겠죠.

startlac의 이미지

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!

=============================================

현 버전에서 안되니 새 버전으로 업데이트 하라는 건가요?? 근데 얼마전까지만해도 아무 문제 없이 잘 사용하고 있었는데..ㅠㅠ

초보리눅서..

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.