-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
38 lines (32 loc) · 855 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
" ~/.vimrc
set nocompatible
set backspace=eol,indent,start
set cursorline
set encoding=utf-8
set esckeys
set fixeol
set formatoptions=cqrt
set hidden
set laststatus=2
set list listchars=eol:¬,tab:▸\ ,trail:.,precedes:<,extends:>
set ruler
set scrolloff=10
set whichwrap=<,>,h,l
set wildmenu
set autoindent smartindent
set backupdir=~/.vim/tmp/backup// directory=~/.vim/tmp/swap// undodir=~/.vim/tmp/undo//
set expandtab softtabstop=4 tabstop=4 shiftwidth=4 shiftround nowrap
set ignorecase incsearch infercase smartcase
set foldcolumn=1 foldnestmax=3 foldmethod=indent
set modeline modelines=2
set nostartofline virtualedit=all
set number numberwidth=4
set textwidth=88 colorcolumn=+1
syntax on
filetype on
filetype plugin on
filetype indent on
au BufReadPost * normal zR
if filereadable(expand("~/.vimrc.local"))
source ~/.vimrc.local
endif