Skip to content

Instantly share code, notes, and snippets.

@hgati
Last active August 28, 2021 00:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hgati/4329be1a06fb8733ca3debe05450183a to your computer and use it in GitHub Desktop.
Save hgati/4329be1a06fb8733ca3debe05450183a to your computer and use it in GitHub Desktop.
.vimrc 기본설정
" Vundle
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'
" vim용 추가 테마설치
" Plugin 'jpo/vim-railscasts-theme'
Plugin 'nanotech/jellybeans.vim'
" 상태바 플러그인, AirLine
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
" 참고문서>> http://bakyeono.net/post/2015-08-13-vim-tab-madness-translate.html
" https://bluesh55.github.io/2016/10/09/vim-ide/ 중간쯤에..폰트설치방법나옴
let g:airline_powerline_fonts=1
let g:airline#extensions#tabline#enabled=1 "버퍼목록 켜기
let g:airline#extensions#tabline#fnamemod=':t' "파일명만 출력
nmap <Tab> :bnext<CR>
nmap <S-Tab> :bprevious<CR>
call vundle#end() " required
syntax on " 이게 빠지니까, 컬러링이 안됨!
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
set t_Co=256 " colorscheme 이전에 세팅되어야 한다고 함
"colorscheme elflord
"colorscheme railscasts
"colorscheme jellybeans
set number
set tabstop=4
set shiftwidth=4
set softtabstop=4
"set pastetoggle=<F2> "붙여넣기 모드 토글
set smartindent
set hidden "다른 버퍼(파일)로 이동할때, 저장되지 않았다는 경고없이 바로 현재버퍼를 숨긴다
set incsearch "점진적인 검색어 하이라이팅
set hlsearch "검색어 하이라이팅
set laststatus=2
set fileencoding=utf-8
set nowrap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment