-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
66 lines (53 loc) · 1.56 KB
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
" Vundle
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
""""""""""""""""""""""""""""""""
Plugin 'vim-airline/vim-airline'
Plugin 'scrooloose/nerdtree'
Plugin 'tpope/vim-fugitive'
Plugin 'scrooloose/syntastic'
Plugin 'AutoComplPop'
Plugin 'davidhalter/jedi-vim'
" Themes
Plugin 'nanotech/jellybeans.vim'
Plugin 'sickill/vim-monokai'
""""""""""""""""""""""""""""""""
call vundle#end()
filetype plugin indent on " required
" syntastic
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let python_version_3=1
let python_highlight_all=1
let g:pydiction_location='$HOME/.vim/pydiction/complete-dict'
"let g:syntastic_always_populate_loc_list = 1
"let g:syntastic_auto_loc_list = 1
"let g:syntastic_check_on_open = 1
"let g:syntastic_check_on_wq = 0
" basic setting
syntax on " 구문 강조
set expandtab " Tab 대신 스페이스
set tabstop=4 " Tab 너비
set hlsearch " 검색어 하이라이트
set incsearch " 키워드 입력시 점진적 검색
set cursorline " 편집 위치에 커서 라인 설정
set nu rnu " number & rnumber
" key mapping
let mapleader=","
nnoremap <Leader>rc :rightbelow vnew ~/.vimrc<CR>
nnoremap <C-F> :NERDTreeFind<CR>
nnoremap <F7> :NERDTreeToggle<CR>
noremap <C-h> <C-w>h
noremap <C-j> <C-w>j
noremap <C-k> <C-w>k
noremap <C-l> <C-w>l
noremap <bar> <C-w><bar><C-w>_
noremap \ <C-w>=
noremap <Leader>nu :set nu! rnu!<CR>
" theme-color
"color jellybeans
color monokai