-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc
More file actions
86 lines (64 loc) · 1.48 KB
/
.vimrc
File metadata and controls
86 lines (64 loc) · 1.48 KB
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
" Joe's .vimrc Version 3.0
" Last edit: 15 April 2014
set nocompatible " vim
filetype off
"
" Vundle setup
"
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" Vundle
Plugin 'gmarik/vundle'
" Solarized colorscheme
Plugin 'altercation/vim-colors-solarized'
" Airline - statusbar
Bundle 'bling/vim-airline'
" Fugitive - Git integration
Plugin 'tpope/vim-fugitive'
" Tagbar - requires ctags
Plugin 'majutsushi/tagbar'
" Rainbow parens.
Bundle 'luochen1990/rainbow'
"
" end Vundle setup
"
filetype plugin indent on
" """"""""""""""""
" General Settings
" """"""""""""""""
set shell=/bin/sh
set syntax=on
set cursorline " highlight cursor line
set mouse=a " Mouse support
" Tab settings
set tabstop=4
set shiftwidth=4
set expandtab
set smarttab
set autoindent smartindent
set scrolloff=5 " keep min 5 lines at top/bottom while scrolling
set undolevels=1000 " keep lots of history
" Maximum line length
set colorcolumn=+1 " color the column after textwidth
set textwidth=78
" Line numbers
set number " numbers on left
set ruler " number on bar
" Keep backups in a backup directory
set backupdir=~/.vimbackup
set directory=~/.vimbackup
" Sensible cursor movement around wrapped lines
" Terminal settings
set term=xterm-256color
let &t_Co=256
" Solarized config
syntax enable
set background=dark
colorscheme solarized
" Airline config
set laststatus=2
let g:airline_powerline_fonts = 1
" Leader settings
let mapleader=" "
map <Leader>m :TagbarToggle<CR> " toggle tagbar
call togglebg#map("<Leader>c")