-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.vimrc
57 lines (39 loc) · 1023 Bytes
/
.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
set backspace=indent,eol,start
syntax on
autocmd FileType gitcommit setlocal spell textwidth=72
set number
set cursorline
" set background=dark
colorscheme molokai
" Sets how many lines of history VIM has to remember
set history=700
" Enable filetype plugins
filetype plugin on
filetype indent on
" Set to auto read when a file is changed from the outside
set autoread
" Ignore case when searching
set ignorecase
" When searching try to be smart about cases
set smartcase
" Highlight search results
set hlsearch
" Makes search act like search in modern browsers
set incsearch
" Don't redraw while executing macros (good performance config)
set lazyredraw
" For regular expressions turn magic on
set magic
set noerrorbells
set novisualbell
set encoding=utf8
" Turn backup off, since most stuff is in SVN, git et.c anyway...
set nobackup
set nowb
set noswapfile
set shiftwidth=2
set tabstop=2
set mouse=a
set mousehide
" Enable syntax for config files
au BufNewFile,BufRead *.ini,*/.hgrc,*.conf setf dosini