blob: 47b3ecaf76fe4b1992d3bab57e56d29b9cb59e0e (
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
" settings
set nocp
set encoding=utf-8
set fileencoding=utf-8
set hidden
set number
set nowrap
set autoindent
set showmatch
set showmode
set lazyredraw
set mouse=a
set backspace=2
set laststatus=2
set t_Co=256
" filetype
filetype on
filetype plugin on
filetype plugin indent on
" syntax
syntax on
" colorscheme
set background=dark
colorscheme desert
" cursorline
set cursorline
hi CursorLine term=bold cterm=bold guibg=Grey20
" statusline
set statusline=\
set statusline+=[%n]\
set statusline+=%<%F\
set statusline+=%w%h%m%r\
set statusline+=%=%{&fileencoding?&fileencoding:&encoding}\ \
set statusline+=%{&ff}\ \
set statusline+=%y\ \
set statusline+=%p%%\ \
set statusline+=%(%l:%c%)\
" tabs
set tabstop=4
set softtabstop=4
set shiftwidth=4
set shiftround
set expandtab
" show trailing, tabs etc.
set list
set listchars=trail:·,tab:!·
" case insensitive search
set hlsearch
set incsearch
set ignorecase
set smartcase
" disable backup and swap files
set nobackup
set nowritebackup
set noswapfile
" GUI
if has('gui_running')
set go-=r
set go-=R
set go-=T
set go-=L
set t_Co=256
set guiheadroom=0
endif
|