# vim

## Description:

A version of the VIM editor which includes recent enhancements

vim package는 존재하지 않으며, 기본 패키지는 **vim-enhanced** 이다.

## Changes on AnNyung:

1. comment 색상 변경
2. *C / php / named / apache* syntax 추가
3. **virc** import 에러 수정
4. **EDITOR** 환경 변수를 /usr/bin/vim 으로 지정 (*/etc/profile.d/vim.sh*)
5. *C / CPP / php / perl* 파일에서 folder 기능 향상
   * function 선언 라인이나 중괄호({})에서 **'+'** 키를 누르면 folding을 함.
   * 이 기능의 사용을 원하지 않으면, vimrc 또는 .vimrc에 다음 설정 셋팅

     ```
     let g:annyungfolding = 0
     ```
6. 공백문자와 탭을 구분하기 위한 기능 추가.
   * **'언더바(\_)'**&#xB97C; toggle key로 하여 탭을 청색으로 표시
7. phpDocument 스타일의 phpfolding 추가
   * <http://www.vim.org/scripts/script.php?script_id=1623> 참조
   * 단축키 설정: 다음 설정을 vimrc 또는 .vimrc 에 셋팅

     ```
     map <F5> <Esc>:EnableFastPHPFolds<Cr>
     map <F6> <Esc>:EnablePHPFolds<Cr>
     map <F7> <Esc>:DisablePHPFolds<Cr>
     ```
   * phpfolding을 사용하고 싶지 않다면, vimrc 또는 .vimrc에 다음 설정을 추가

     ```
     let g:DisableAutoPHPFolding = 1
     ```
8. native PHP manual 추가 (*Shift + k*)
9. checksyntax 플러그인 추가
   * 이 기능의 사용을 원치 않으면, vimrc 또는 .vimrc에 다음 설정 셋팅

     ```
     let g:checksyntax_auto = 0
     ```

## Sub packages:

* **vim-common** - The common files needed by any version of the VIM editor
* **vim-enhanced** - A version of the VIM editor which includes recent enhancements
* **vim-filesystem** - VIM filesystem layout
* **vim-minimal** - A minimal version of the VIM editor


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://joungkyun.gitbook.io/annyung-3-user-guide/annyung3-package-catalog/annyung3-base-packages/pkg-base-vim.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
