-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
104 lines (92 loc) · 3.23 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
set nocompatible
set backspace=indent,eol,start
filetype off
" Add to runtime path for fzf
set rtp+=/usr/local/opt/fzf
" set the runtime path to include Vundle and initialize
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'
" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.
" Air-vim for tthat awesome status bar
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
" plugin on GitHub repo
Plugin 'tpope/vim-fugitive'
" plugin from http://vim-scripts.org/vim/scripts.html
" Plugin 'L9'
" Git plugin not hosted on GitHub
Plugin 'git://git.wincent.com/command-t.git'
" git repos on your local machine (i.e. when working on your own plugin)
" Plugin 'file:///home/gmarik/path/to/plugin'
" The sparkup vim script is in a subdirectory of this repo called vim.
" Pass the path to set the runtimepath properly.
Plugin 'JuliaEditorSupport/julia-vim'
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
"Plugin 'Valloric/YouCompleteMe'
Plugin 'pboettch/vim-cmake-syntax'
Plugin 'airblade/vim-gitgutter'
Plugin 'tpope/vim-surround'
Plugin 'morhetz/gruvbox'
Plugin 'dracula/vim', {'as':'dracula'}
Plugin 'flazz/vim-colorschemes' " various colour schemes
Plugin 'ararslan/llvm.vim'
Plugin 'octol/vim-cpp-enhanced-highlight' " Additional cxx highlighting
"Plugin 'fatih/vim-go'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
"
"
"
" 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
" ---- colorscheme Setup ----
colorscheme dracula
" set t_Co=256
" set background=dark
" colorscheme CandyPaper
" ---- gruvbox Setup ----
"colorscheme gruvbox
"set background=dark
"let g:gruvbox_contrast_dark='soft'
"let g:gruvbox_improved_warnings='1'
"let g:gruvbox_improved_strings='1'
" ---- Airline Setup ----
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#buffer_idx_mode = 1
let g:airline_theme = 'molokai'
let g:airline_powerline_fonts = 1
if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif
" ---- octol/vim-cpp-enhanced-highlight Setup ----
let g:cpp_class_scope_highlight = 1
" ---- General Setup ----
set number
syntax on
set smartindent
set tabstop=4
set shiftwidth=4
set autoindent
set incsearch " highlight matches incrementally
highlight Search cterm=NONE ctermfg=grey ctermbg=blue
highlight IncSearch cterm=NONE ctermfg=grey ctermbg=blue
set ignorecase " ignore case when searching
set noerrorbells " turn off that annoying error bell
set list " show invisible characters
set listchars=tab:▸\ ,trail:▝,eol:¬ " ... but only show tabs, trailing, whitespace
" --- relative line numbers
set relativenumber
set rnu