-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
52 lines (44 loc) · 1.01 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
set nocompatible
filetype off
syntax on
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim' " let Vundle manage Vundle, required
Plugin 'The-NERD-tree'
Plugin 'clang-complete'
Plugin 'octol/vim-cpp-enhanced-highlight'
Plugin 'itchyny/lightline.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'Conque-GDB'
Plugin 'itchyny/vim-gitbranch'
Plugin 'ntpeters/vim-better-whitespace'
" color schemes
Plugin 'tomasiser/vim-code-dark'
call vundle#end()
filetype plugin on
map <C-n> :NERDTreeToggle<CR>
set t_Co=256
set t_ut=
colorscheme codedark
set number
set laststatus=2
set noshowmode
set autoread
" indent
filetype indent on
set tabstop=2
set softtabstop=2
set shiftwidth=2
set expandtab
set backspace=indent,eol,start
let g:coc_disable_startup_warning = 1
let g:NERDTreeDirArrows=0
let g:lightline = {
\ 'active': {
\ 'left': [ [ 'mode', 'paste' ],
\ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ]
\ },
\ 'component_function': {
\ 'gitbranch': 'gitbranch#name'
\ },
\ }