about summary refs log tree commit diff stats
path: root/vim/vimrc
blob: c06bdac69d8b1adb9a9ab5c1afd140cddb7afb3d (plain)
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
" vimrc
" see https://github.com/liuchengxu/vim-better-default/

set autowrite
set backupdir=/tmp//,.
set directory=/tmp//,.
set expandtab
set fileformats=unix,dos,mac
set fillchars=stl:\ ,stlnc:\ ,fold:\ ,vert:│
set hidden
set ignorecase
set linespace=0
set matchtime=5
set mousehide
set nobackup
set noswapfile
set nowrap
set nowritebackup
set number
set pumheight=20
set report=0
set ruler
set scrolljump=5
set scrolloff=3
set shiftwidth=4
set shortmess=atOI
set showcmd
set showmatch
set showmode
set smartcase
set softtabstop=4
set splitbelow
set splitright
set tabstop=4
set whichwrap+=<,>,h,l
set wildignore+=*/tmp/*,*.o,*.obj,*.so
set wildignore+=*\\tmp\\*,*.exe
set wildignore+=*swp,*.class,*.pyc,*.png,*.jpg,*.gif,*.zip
set wildmode=list:longest,full
set winminheight=0

if v:version >= 703
set undodir=/tmp//,.
endif
if has('unnamedplus')
set clipboard=unnamedplus,unnamed
else
set clipboard+=unnamed
endif
if has('persistent_undo')
set undofile
set undolevels=1000
set undoreload=10000
endif