-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvimrc
83 lines (61 loc) · 1.54 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
set nocompatible " be iMproved, required
filetype off " required
" 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 'gmarik/Vundle.vim'
Plugin 'tpope/vim-rails'
Plugin 'rodjek/vim-puppet'
Plugin 'fatih/vim-go'
if v:version > 703
Plugin 'Shougo/vimproc.vim'
Plugin 'Quramy/tsuquyomi'
Plugin 'leafgarland/typescript-vim'
endif
Plugin 'sickill/vim-monokai'
call vundle#end() " required
filetype plugin on
syntax on
" SECURE: Do not parse mode comments in files.
set modelines=0
" Large undo levels.
set undolevels=1000
" Size of command history.
set history=50
" Always use unicode.
set encoding=utf8
" Fix backspace.
" set backspace=indent,eol,start
" Keep a backup file.
set backup
" Do not back up temporary files.
set backupskip=/tmp/*,/private/tmp/*"
" Store backup files in one place.
set backupdir^=$HOME/.vim/backup//
" Store swap files in one place.
set dir^=$HOME/.vim/swap//
" Store undo files in one place.
set undodir^=$HOME/.vim/undo//
" Store view files in one place.
set viewdir=$HOME/.vim/view//
" Save undo tree.
set undofile
" Allow undoing a reload from disk.
set undoreload=1000
set tabstop=2
set shiftwidth=2
set softtabstop=2
set expandtab
if &t_Co == 256
colo monokai
endif
let mapleader = ','
set nu
set ruler
set cc=80,140
set backspace=2
set mouse=n
set ttymouse=xterm2