vimrc
in Linux
vimrc 파일
set encoding=utf-8
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'valloric/youcompleteme'
Plugin 'vim-airline/vim-airline'
Plugin 'scrooloose/nerdtree'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
set nu
" search
set hlsearch
set ignorecase
set incsearch
set smartcase
" indent
set ai
set et
set ts=4
set sts=4
set sw=4
" ycm settings
set completeopt-=preview
" nerdtree
nmap <F2> :NERDTreeToggle<CR>