Skip to content

Instantly share code, notes, and snippets.

@galch
Created January 19, 2017 06:52
Show Gist options
  • Save galch/16500fdf4036cf795c903f08a9a03385 to your computer and use it in GitHub Desktop.
Save galch/16500fdf4036cf795c903f08a9a03385 to your computer and use it in GitHub Desktop.
Vimrc
set number " line 표시를 해줍니다.
set ai " auto indent
set si " smart indent
set cindent " c style indent
set shiftwidth=4 " shift를 4칸으로 ( >, >>, <, << 등의 명령어)
set tabstop=4 " tab을 4칸으로
"set expandtab " tab 대신 띄어쓰기로
set ignorecase " 검색시 대소문자 구별하지않음
set hlsearch " 검색시 하이라이트(색상 강조)
set background=dark " 검정배경을 사용할 때, (이 색상에 맞춰 문법 하이라이트 색상이 달라집니다.)
set nocompatible " 방향키로 이동가능
set fileencodings=utf-8,euc-kr " 파일인코딩 형식 지정
set bs=indent,eol,start " backspace 키 사용 가능
set history=1000 " 명령어에 대한 히스토리를 1000개까지
set ruler " 상태표시줄에 커서의 위치 표시
set nobackup " 백업파일을 만들지 않음
set title " 제목을 표시
set showmatch " 매칭되는 괄호를 보여줌
set nowrap " 자동 줄바꿈 하지 않음
set wmnu " tab 자동완성시 가능한 목록을 보여줌
syntax on " 문법 하이라이트 킴"
nnoremap <silent> <F5> :!clear;python %<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment