aboutsummaryrefslogtreecommitdiffhomepage
path: root/misc/editor-syntax-etc/vim/rc/vimrc_statusline
blob: e0ba4938e080971f36821524d98539f55ba29a2f (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
set statusline=                                  "
set fillchars=stl:―,stlnc:—,vert:│,fold:۰,diff:·
"% [ buffer number ]
set statusline +=%#Normal#[           "
set statusline +=%#Identifier#%n      " buffer number
set statusline +=%#PreProc#%M         " modified flag
set statusline +=%#Normal#]           "
"% [ file name (& modified?) ]
set statusline +=%#Normal#\ [         "
set statusline +=%#Statement#%<%F%*          " full path
"set statusline +=%#Statement#%<%t     " full path
set statusline +=%#PreProc#%M         " modified flag
set statusline +=%#Normal#]           "
"% [ column : line number / number of lines in file, percentage of file ] [%v:%l/%L\ %p%%]
set statusline +=%#Normal#\ [                    "
set statusline +=%#Identifier#%v                 " column & line
set statusline +=%#Normal#:                      "
set statusline +=%#Identifier#%l                 " column & line
set statusline +=%#SpecialKey#/%L\               " total lines
set statusline +=%#Identifier#%p                 " percentage of file
set statusline +=%#SpecialKey#%%                 "
set statusline +=%#Normal#]     "                "
"% [ file format : file type ]
set statusline +=%#Normal#\ [                    "
set statusline +=%#SpecialKey#%{&fenc}           " file format
set statusline +=%#Normal#:                      "
set statusline +=%#SpecialKey#%{&ff}             " file format
set statusline +=%#Normal#:                      "
set statusline +=%#SpecialKey#%y                 " file type
set statusline +=%#Normal#]                      "
"% [ character under cursor ]
set statusline +=%#Normal#\ [                    "
set statusline +=%#String#0x%04B                 " character under cursor
set statusline +=%#Normal#]\                     "
"% [ syntastic ]
set statusline +=%#warningmsg#
set statusline +=%{SyntasticStatuslineFlag()}\   "
"set statusline+=%*
"%  Status line background
set statusline +=%#Folded#\                  "
"set statusline +=%#Normal#\                  "
"set statusline +=%#MatchParen#\                  "
"set statusline +=%#ColorColumn#\                "
"set statusline +=%#DiffDelete#\                 "
"set statusline +=%#VertSplit#\                  "
"% misc
set laststatus=2                                 " status line always on
"set statusline=%F%m%r%h%w\
"set statusline=%f%m%r%h%w\ [type=%Y]\ [format=%{&ff}]\ [%v:%l/%L\ %p%%]
"<http://www.reddit.com/r/vim/comments/1e6ph1/need_help_with_vim_statusline_customization/>
"<http://stackoverflow.com/questions/5375240/a-more-useful-statusline-in-vim>
"<http://got-ravings.blogspot.it/2008/08/vim-pr0n-making-statuslines-that-own.html>
"! black
hi User0 guifg=#000000 guibg=#222222
"! red
hi User1 guifg=#CC0000 guibg=#222222
"! green
hi User2 guifg=#4E9A06 guibg=#222222
"! yellow
hi User3 guifg=#C4A000 guibg=#222222
"! blue
hi User4 guifg=#5971AD guibg=#222222
"! magenta
hi User5 guifg=#75507B guibg=#222222
"! cyan
hi User6 guifg=#06989A guibg=#222222
"! white
hi User7 guifg=#D3D7CF guibg=#222222
hi User8 guifg=#ffffff guibg=#222222
hi User9 guifg=#ffffff guibg=#222222
"! black
"Rxvt.color0  : #000000
"Rxvt.color8  : #555555
"! red
"Rxvt.color1  : #CC0000
"Rxvt.color9  : #EF2929
"! green
"Rxvt.color2  : #4E9A06
"Rxvt.color10 : #8AE234
"! yellow
"Rxvt.color3  : #C4A000
"Rxvt.color11 : #FCE94F
"! blue
"Rxvt.color4  : #5971AD
"Rxvt.color12 : #729FCF
"! magenta
"Rxvt.color5  : #75507B
"Rxvt.color13 : #AD7FA8
"! cyan
"Rxvt.color6  : #06989A
"Rxvt.color14 : #34E2E2
"! white
"Rxvt.color7  : #D3D7CF
"Rxvt.color15 : #EEEEEE

"hi User1 guifg=#eea040 guibg=#222222
"hi User2 guifg=#dd3333 guibg=#222222
"hi User3 guifg=#ff66ff guibg=#222222
"hi User4 guifg=#a0ee40 guibg=#222222
"hi User5 guifg=#eeee40 guibg=#222222
"
"hi User0 guifg=#ffffff guibg=#094afe
"hi User1 guifg=#ffdad8 guibg=#880c0e
"hi User2 guifg=#000000 guibg=#F4905C
"hi User3 guifg=#292b00 guibg=#f4f597
"hi User4 guifg=#112605 guibg=#aefe7B
"hi User5 guifg=#051d00 guibg=#7dcc7d
"hi User7 guifg=#ffffff guibg=#880c0e gui=bold
"hi User8 guifg=#ffffff guibg=#5b7fbb
"hi User9 guifg=#ffffff guibg=#810085