Vim/ko

Vim (Vi improved) is a text editor based on vi. It can be used from the command line or as a standalone application with graphical user interface.

Application installation
To install Vim with both the ncurses-based interface (for the terminal - ) and the graphical interface (for the X Window System - ), install :

There is also an experimental Qt interface called.

If the X Window System support is not needed, just install :

Extensions
The category app-vim provides a lot of additional syntax definitions, plugins and other Vim related stuff.

Use  or   to get an overview of available packages in the app-vim category:

시작하기
Vim은 30분 정도의 시간이 필요한 내장형 따라하기 문서가 있습니다. 명령으로 시작하십시오:

명령행에서 ex 또는 ed처럼 Vim 사용
Vim을 한 줄 작성기로 사용할 수 있습니다. 스크립트 또는 명령줄에서 의도치 않은 방법으로 내용을 바꿀때 사용하는 명령이 있습니다.

For instance, the following command adds  to the beginning of each line in the  file:

What happens is that Vim interprets the passed on commands (through the  option). The first command is Vim's substitution command (which is very similar to 's), the second one is Vim's instruction to save and exit the editor.

파일 인코딩 바꾸기
To change the file encoding of a file to UTF-8, use the following command (in Vim command mode):

As shown in the previous trick, it is possible to do this from the command line as well:

추가 참조

 * Vim 배우기

외부 자료

 * Vim 문서 는 HTML, PDF, PS 형식의 설명서 (aka ":help" and Free VIM OPL Book), 자주 묻는 질문, 절차 설명, 따라하기 내용이 있습니다.
 * VIM Scripts/Plugins
 * Learning the vi and Vim Editors, 7th Edition O'Reilly  Print ISBN: 978-0-596-52983-3, Ebook ISBN: 978-0-596-15935-1