blob: 73bd8c12a2cdeefe03970bef4c34404266e0ef3c (
plain) (
blame)
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
|
set encoding=utf-8 " The encoding displayed.
set fileencoding=utf-8 " The encoding written to file.
" Apparently there are security issues with this?
set nomodeline
execute pathogen#infect('bundle/{}', 'themes/{}')
" Allow me to hide buffers w/o saving
set hidden
" Persistent undo
set undofile
set undodir=~/.vimundo
set undolevels=1000
set undoreload=10000
" lots of history, it's always nice to find old nasty command that happen
" to be really useful
set history=10000
"
" Keep the newbs from using arrow keys
inoremap <Left> <NOP>
inoremap <Right> <NOP>
inoremap <Up> <NOP>
inoremap <Down> <NOP>
" Always show status line
set laststatus=2
" Case insensitive searching by default
set ic
" Highlight my searches by default
set hls
" No more swap files
set updatecount=0
" Vi in-compatibility
set nocompatible
" Bring down the tab spacing
set tabstop=4
set shiftwidth=4
set noexpandtab
|