Linux
VIM 설정목록
준P
2013. 12. 31. 22:09
vim ~/.vimrc에
요글들을욜려둔다.
이러면 들려쓰기 나여러가지 프로그램밍할떄 유용합니다.
set cindent #C 프로그래밍용 자동 들여쓰기
set number #줄 라인 표시 = set nu
set showmatch #(), {} 에서 닫는 괄호의 짝을 표시
set nowrapscan #검색할 때 문서의 끝에서 처음으로 안돌아감
set ruler #커서의 위치를 line번호와 column 번호 표시
set hlsearch #검색어 강조 = set hls
filetype on #파일 타입에 따른 구분 강조
set laststatus=2 #vim-powerline이 꾸며주는 상태바를 항상 출력
set shiftwidth=4 #자동 들여쓰기 4칸
set tabstop=4 #탭 4칸 설정
set expandtab #탭 대신 스페이스
set nocompatible #오리지날 VI와 호환하지 않음
set autoindent #자동 들여쓰기
set smartindent #스마트한 들여쓰기 ex)전처리기는 들여쓰기 하지 않음
set ignorecase #탐색시 대소문자 구분 없음
set incsearch #찾은 단어 하이라이트
set title #타이틀바에 현재 편집중인 파일을 표시
set showmode #상태 행에 현재 편집 모드 출력
set visualbell #키를 잘못눌렀을 때 경고음 대신 화면이 깜박임:
syntax on #문법 하이라이트 킴