-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
55 lines (48 loc) · 1.39 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
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'Valloric/YouCompleteMe'
Plugin 'scrooloose/nerdtree'
Plugin 'kien/ctrlp.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'vim-syntastic/syntastic'
Plugin 'nvie/vim-flake8'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'tpope/vim-markdown'
Plugin 'Yggdroot/indentLine'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin on
filetype plugin indent on
autocmd FileType yml,yaml setlocal ts=2 sts=2 sw=2 expandtab
" Space + g for seeing the go ot definitions
let g:ycm_autoclose_preview_window_after_completion=1
map <leader>g :YcmCompleter GoToDefinitionElseDeclaration<CR>
" Allow highlighting
let python_highlight_all=1
" Set Syntax highlighting
syntax on
" Set Auto-indent
" set smartindent
" Set Line Numbering
set number
" Colorscheme
colorscheme sublimemonokai
let g:sublimemonokai_term_italic = 1
" Set encoding
set encoding=utf-8
" Set indentline
let g:indentLine_char = '⦙'
" Set splitting
set splitbelow
set splitright
"split navigations
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
nnoremap <C-O> :NERDTreeToggle<CR>