|
| 1 | + |
| 2 | + |
| 3 | +set nocompatible " 오리지날 VI와 호환하지 않음 |
| 4 | +set autoindent " 자동 들여쓰기 |
| 5 | +set cindent " C 프로그래밍용 자동 들여쓰기 |
| 6 | +set smartindent " 스마트한 들여쓰기 |
| 7 | +set wrap |
| 8 | +set nowrapscan " 검색할 때 문서의 끝에서 처음으로 안돌아감 |
| 9 | +set nobackup " 백업 파일을 안만듬 |
| 10 | +set visualbell " 키를 잘못눌렀을 때 화면 프레시 |
| 11 | +set ruler " 화면 우측 하단에 현재 커서의 위치(줄,칸) 표시 |
| 12 | +set shiftwidth=4 " 자동 들여쓰기 4칸 |
| 13 | +set number " 행번호 표시, set nu 도 가능 |
| 14 | +set fencs=ucs-bom,utf-8,euc-kr.latin1 " 한글 파일은 euc-kr로, 유니코드는 유니코드로 |
| 15 | +set fileencoding=utf-8 " 파일저장인코딩 |
| 16 | +set tenc=utf-8 " 터미널 인코딩 |
| 17 | +set expandtab " 탭대신 스페이스 |
| 18 | +set hlsearch " 검색어 강조, set hls 도 가능 |
| 19 | +set ignorecase " 검색시 대소문자 무시, set ic 도 가능 |
| 20 | +set tabstop=4 " 탭을 4칸으로 |
| 21 | +set lbr |
| 22 | +set incsearch " 키워드 입력시 점진적 검색 |
| 23 | +"syntax on " 구문강조 사용 |
| 24 | +set noswapfile " swapfile 안만들기 |
| 25 | + |
| 26 | + |
| 27 | +filetype off " 파일 종류에 따른 구문강조 |
| 28 | + |
| 29 | +syntax enable |
| 30 | + |
| 31 | +set t_Co=16 |
| 32 | +let g:solarized_termcolors=256 |
| 33 | +set background=dark " 하이라이팅 lihgt / dark |
| 34 | +colorscheme solarized |
| 35 | + |
| 36 | +"let g:molokai_original = 1 |
| 37 | +"let g:rehash256 = 1 |
| 38 | + |
| 39 | +"colorscheme molokai " vi 색상 테마 설정 |
| 40 | + |
| 41 | +"let g:kolor_italic=1 " Enable italic. Default: 1 |
| 42 | +"let g:kolor_bold=1 " Enable bold. Default: 1 |
| 43 | +"let g:kolor_underlined=0 " Enable underline. Default: 0 |
| 44 | +"let g:kolor_alternative_matchparen=0 " Gray 'MatchParen' color. Default: 0 |
| 45 | + |
| 46 | +"colorscheme kolor |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | +set backspace=eol,start,indent " 줄의 끝, 시작, 들여쓰기에서 백스페이스시 이전줄로 |
| 51 | +set history=1000 " vi 편집기록 기억갯수 .viminfo에 기록 |
| 52 | + |
| 53 | +" Specify a directory for plugins |
| 54 | +" " - For Neovim: ~/.local/share/nvim/plugged |
| 55 | +" " - Avoid using standard Vim directory names like 'plugin' |
| 56 | +call plug#begin('~/.vim/plugged') |
| 57 | +" |
| 58 | +" " Make sure you use single quotes |
| 59 | +" |
| 60 | +" " Shorthand notation; fetches https://github.com/junegunn/vim-easy-align |
| 61 | +Plug 'junegunn/vim-easy-align' |
| 62 | +" |
| 63 | +" " Any valid git URL is allowed |
| 64 | +Plug 'https://github.com/junegunn/vim-github-dashboard.git' |
| 65 | +" |
| 66 | +" " Multiple Plug commands can be written in a single line using | separators |
| 67 | +Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' |
| 68 | +" |
| 69 | +" " On-demand loading |
| 70 | +Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } |
| 71 | +Plug 'tpope/vim-fireplace', { 'for': 'clojure' } |
| 72 | +" |
| 73 | +" " Using a non-master branch |
| 74 | +Plug 'rdnetto/YCM-Generator', { 'branch': 'stable' } |
| 75 | +" |
| 76 | +" " Using a tagged release; wildcard allowed (requires git 1.9.2 or above) |
| 77 | +Plug 'fatih/vim-go', { 'tag': '*' } |
| 78 | +" |
| 79 | +" " Plugin options |
| 80 | +Plug 'nsf/gocode', { 'tag': 'v.20150303', 'rtp': 'vim' } |
| 81 | +" |
| 82 | +" " Plugin outside ~/.vim/plugged with post-update hook |
| 83 | +Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } |
| 84 | +" |
| 85 | +" " Unmanaged plugin (manually installed and updated) |
| 86 | +Plug '~/my-prototype-plugin' |
| 87 | +" |
| 88 | +" " Initialize plugin system |
| 89 | +call plug#end() |
| 90 | +filetype plugin indent on " required |
| 91 | +" " To ignore plugin indent changes, instead use: |
| 92 | +" "filetype plugin on |
| 93 | +" " |
| 94 | +" " Brief help |
| 95 | +" " :PluginList - lists configured plugins |
| 96 | +" " :PluginInstall - installs plugins; append `!` to update or just |
| 97 | +" :PluginUpdate |
| 98 | +" " :PluginSearch foo - searches for foo; append `!` to refresh local cache |
| 99 | +" " :PluginClean - confirms removal of unused plugins; append `!` to |
| 100 | +" auto-approve removal |
| 101 | +" " |
| 102 | +" " see :h vundle for more details or wiki for FAQ |
| 103 | +" " Put your non-Plugin stuff after this line |
| 104 | +" |
| 105 | +" |
| 106 | + |
| 107 | +" NERD-Tree |
| 108 | +" Plugin 'The-NERD-Tree' |
| 109 | +" |
| 110 | +" " NERD Commenter |
| 111 | +" Plugin 'scrooloose/nerdcommenter' |
| 112 | +" |
| 113 | +" Plugin 'vim-airline/vim-airline' |
| 114 | +" Plugin 'vim-airline/vim-airline-themes' |
| 115 | +" Plugin 'wakatime/vim-wakatime' |
0 commit comments