annotate .vimrc @ 12:0b38217ca1fd

added function returncode; included returncode in prompt; added alias lt
author meillo@marmaro.de
date Sat, 08 Dec 2007 20:19:23 +0100
parents 4b8c8c2166b4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
4c1ead2dc501 xinitrc and screenrc added; code cleanups
meillo@marmaro.de
parents: 2
diff changeset
1 " markus schnalke -- http://marmaro.de
4c1ead2dc501 xinitrc and screenrc added; code cleanups
meillo@marmaro.de
parents: 2
diff changeset
2 " meillo's vimrc
0
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
3
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
4
3
4c1ead2dc501 xinitrc and screenrc added; code cleanups
meillo@marmaro.de
parents: 2
diff changeset
5 set nocompatible
0
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
6
3
4c1ead2dc501 xinitrc and screenrc added; code cleanups
meillo@marmaro.de
parents: 2
diff changeset
7
4c1ead2dc501 xinitrc and screenrc added; code cleanups
meillo@marmaro.de
parents: 2
diff changeset
8
0
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
9 set guifont=Terminus\ 9
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
10
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
11 "Scrollbar bottom
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
12 set guioptions+=b
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
13
3
4c1ead2dc501 xinitrc and screenrc added; code cleanups
meillo@marmaro.de
parents: 2
diff changeset
14 "no cursor blinking
0
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
15 set guicursor+=a:blinkon0
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
16
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
17
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
18 set nocursorline
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
19
9
c5e14bee7dbc vim: switched from spaces to tabs; bash: LANG now in env
meillo@marmaro.de
parents: 3
diff changeset
20 set noexpandtab
0
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
21 set shiftwidth=2
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
22 set softtabstop=2
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
23 set tabstop=2
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
24
9
c5e14bee7dbc vim: switched from spaces to tabs; bash: LANG now in env
meillo@marmaro.de
parents: 3
diff changeset
25 set cindent
c5e14bee7dbc vim: switched from spaces to tabs; bash: LANG now in env
meillo@marmaro.de
parents: 3
diff changeset
26 set pastetoggle=<F11>
c5e14bee7dbc vim: switched from spaces to tabs; bash: LANG now in env
meillo@marmaro.de
parents: 3
diff changeset
27
0
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
28 syntax on
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
29
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
30 set number
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
31
11
4b8c8c2166b4 vim does now wrap by default
meillo@marmaro.de
parents: 9
diff changeset
32 set wrap
0
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
33
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
34 set ic
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
35
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
36 set scrolloff=4 " min. number of lines above/below cursor
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
37
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
38 set nobackup
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
39 set viminfo+=%
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
40 set shortmess+=sI
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
41
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
42 "let php_sql_query = 1
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
43 "let php_htmlInStrings = 1
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
44
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
45 set foldenable "start with folding enabled
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
46 let php_folding=2 "foldable at all { and }
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
47 set foldmethod=syntax
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
48 set foldcolumn=4
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
49
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
50 set foldlevel=99 "to start with all folds open
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
51 set foldopen=""
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
52 set foldclose=""
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
53
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
54
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
55
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
56 set noerrorbells
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
57 "set visualbell
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
58
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
59
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
60 set sidescroll=1 " number of chars to scroll content right-left
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
61 set sidescrolloff=10 " number of chars to view between cursor and window-border
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
62
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
63 set winheight=10 " height of frame when it was smaller and gets focus
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
64 set winminheight=0 " height of frame when minimized
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
65
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
66
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
67 set whichwrap=""
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
68
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
69 set path=.,~/Prog
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
70
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
71
a5f356e3bebc inital checkin
meillo@marmaro.de
parents:
diff changeset
72 colorscheme meillo_self