Jason Timrod wrote:
> Hi all,
>
> I'm curious to know how people pimp their Vim statusline perhaps with useful 
> information?  So far, the only thing I've added to it is the current git 
> branch I'm on.  Yet I know there's probably other really cool bits of 
> information I'm missing, besides the default..
>
> So, anyone prepared to show their statusline, preferably with a screenshot as 
> well as the config for it?
>
> TIA!
> Jason

Not a screen shot, copied the text on Mac terminal vim 7.3.237 along
with the statusline source from my .vimrc

102 set showmode  showcmd  cmdheight=2
103 set laststatus=2           " always show statusline
104
105 highlight StatusLine NONE ctermbg=DarkGreen ctermfg=White
cterm=NONE
106 if has("statusline")
107   set statusline =          " clear
108   set statusline+=%02n      " leading zero 2 digit buffer number
109 "xset statusline+=\ %<%F    " file full path, truncate
110   set statusline+=\ %t      " file tail
111   set statusline+=[%{&ff}]  " [fileformat]
112   set statusline+=%r        " read only flag '[RO]'
113   set statusline+=%m        " modified flag '[+]' if modifiable
114   set statusline+=%h        " help flag '[Help]'
115   set statusline+=%=        " left/right separation point
116   set statusline+=[%b       " decimal byte
117   set statusline+=\ x%02B]  " hex byte ' \x62'
118   set statusline+=\ %{(line('.')-1)%16} " line
119   set statusline+=:%{(line('.')-1)/16}  " block
120   set statusline+=\/%{line('$')/16}     " max block
121   set statusline+=\ %c      " column number
122   set statusline+=%V        " virtual column '-{n}'
123   set statusline+=:%l/%L    " line/lines
124   set statusline+=\ %p%%    " percent of file
125 "xset statusline+=\ %P      " percent of file{4} Top | n% | Bot
126   set statusline+=%{&hlsearch?'+':'-'}
127   set statusline+=%{&paste?'=':'\ '}
128   set statusline+=%{&wrap?'<':'>'}
129 endif

01 .vimrc[unix]                                         [83 x53]
8:6/55 11:105/890 11%- >

buffer number
file name
fileformat
[char in decimal and hex]
line:block/blocks -- blocks of 16 lines
char:line/lines -- position in file
n% -- percentage of file
[+/-] -- hlsearch on/off
[=/ ] -- paste on/off
[</>] -- wrap on/off

-Bill

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to