-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
67 lines (54 loc) · 1.14 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
set nocompatible
filetype off
let mapleader=","
" Vundle
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Plugin 'gmarik/vundle'
" Supertab
Bundle 'ervandew/supertab'
" BufExplorer
Bundle 'bufexplorer.zip'
" Command-T
set wildignore+=*/blaze-*/*
set wildignore+=*/magicjar/*
set wildignore+=*.class
Bundle 'kien/ctrlp.vim'
" Airline
Bundle 'bling/vim-airline'
set laststatus=2
" gitgutter
Bundle 'airblade/vim-gitgutter'
" NERDTree
"Bundle 'scrooloose/nerdtree'
"let g:NERDTreeWinSize=64
"map <silent> <C-m> :NERDTreeToggle<CR>
" Multiple cursors
Bundle 'terryma/vim-multiple-cursors'
" Allows lines to be swapped using M-{up,down}.
source ~/.vim/plugin/swap_lines.vim
" Basic setup
filetype plugin indent on
set colorcolumn=80,100
highlight ColorColumn ctermbg=3
set hidden
set history=1000
set mouse=a
set nowrap
set nu
set ruler
set title
set undolevels=1000
syntax on
set hlsearch
" Black bg for signcolumn
highlight SignColumn ctermbg=0
" Toggle search result highlighting.
noremap <F4> :set hlsearch! hlsearch?<CR>
" gvim
if has("gui_running")
if has("gui_gtk2")
colorscheme evening
set guifont=Source\ Code\ Pro\ Medium\ 10
endif
endif