# .vimrc 파일에 꼭 넣는 5줄

> Clean Markdown view of GeekNews topic #3397. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=3397](https://news.hada.io/topic?id=3397)
- GeekNews Markdown: [https://news.hada.io/topic/3397.md](https://news.hada.io/topic/3397.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2020-12-15T09:54:32+09:00
- Updated: 2020-12-15T09:54:32+09:00
- Original source: [swordandsignals.com](https://swordandsignals.com/2020/12/13/5-lines-in-vimrc.html)
- Points: 23
- Comments: 3

## Topic Body

set hlsearch " 모든 검색결과 하이라이트

set ignorecase " 대소문자 무시하고 검색

set incsearch " 타이핑할 때마다 검색 결과 표시

set number " 줄번호 표시

set noswapfile " 스왑파일 사용안함

한줄로 설정 가능 → set hls ic is nu noswf

## Comments



### Comment 3882

- Author: tribela
- Created: 2020-12-15T10:23:43+09:00
- Points: 5

set smartcase 추천합니다. 소문자로만 쓰면 대소문자 구분 안 하고 검색하는데 대문자가 들어가면 대소문자 구분해서 검색합니다.

### Comment 3883

- Author: jwstyle
- Created: 2020-12-15T10:54:36+09:00
- Points: 1
- Parent comment: 3882
- Depth: 1

이거 괜찮습니다.

### Comment 3880

- Author: xguru
- Created: 2020-12-15T09:54:53+09:00
- Points: 3

해커뉴스 댓글들도 참고하세요

https://news.ycombinator.com/item?id=25410390

set list listchars+=space:•  " 빈칸을 • 로 표시

set listchars=tab:>-  " 탭을 >- 로

set listchars=tab:├─

set listchars+=trail:⋄ " 뒤 공백을 ⋄ 로
