vim syntax에 대해서...여쭙습니다.

karmy2000의 이미지

일단 저는 우분투 엣지 6.10 버전을 쓰고 있고

vim은 터미널에서 vim을 실행 시켜서 씁니다.

현재 vimrc파일을 수정

if has("syntax")
syntax on
endif

이 명령어를 추가 해주었습니다.

그리고 vim에서 :syntax on을 치면

Sorry, the command is not available is this version.

이라고 결국 이 버전에서는 실행할 수 없다고 나옵니다.

그래서 구글링을 통해서

sudo apt-get install vim-runtime

을 실행했습니다.

재부팅까지도 했구요,..

하지만 아직도

Sorry, the command is not available is this version.

이렇게 나온답니다.

어찌해야 하는지 한 수 가르쳐주십시오^^;;

karmy2000의 이미지

정답은

sudo apt-get install vim

이것이더군요^^

zienie의 이미지

예쁜 VI로 방금 변신 했습니다. ^^

##########################################################
넘어지는건 아직 괜찮다.
하지만 넘어질때마다 무언가를 주워서 일어나자.

##########################################################
넘어지는건 아직 괜찮다.
하지만 넘어질때마다 무언가를 주워서 일어나자.

envia의 이미지

저도 해결했습니다. 감사~

----

It is essential, if man is not to be compelled to have recourse, as a last resort, to rebellion against tyranny and oppression, that human rights should be protected by the rule of law.
[Universal Declaration of Human Rights]

----

It is essential, if man is not to be compelled to have recourse, as a last resort, to rebellion against tyranny and oppression, that human rights should be protected by the rule of law.
[Universal Declaration of Human Rights]

hyde1004의 이미지

저도 해결~ ^^
감사드립니다.