[vim ] statusline
set laststatus=2
set statusline=%2*\ [%{&encoding},\ " encoding
set statusline+=%{&fileformat}%{\"\".((exists(\"+bomb\")\ &&\
&bomb)?\",BOM\":\"\").\"\"}]
set statusline+=%{HasPaste()}%*
set statusline+=%1*\ %F%m%r%h\ %w
set statusline+=%=
set statusline+=%3*<Cwd>%{CurDir()}
set statusline+=%2*\ [\ Row:%4.l/%4.L\ Col:%3.c\ ]\ %*
highlight User1 term=underline cterm=underline ctermfg=white ctermbg=darkblue
guifg=white guibg=darkblue
highlight User2 term=underline cterm=underline ctermfg=yellow
ctermbg=darkblue guifg=yellow guibg=darkblue
highlight User3 term=underline cterm=underline ctermfg=grey ctermbg=darkblue
guifg=grey guibg=darkblue
上面是我目前的status line
自己覺得還不錯用
不過看到下面有人(easy motion demo)的status line,怎麼這麼華麗?這是怎麼做的?
http://oi54.tinypic.com/2yysefm.jpg
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.135.140.149
推
01/21 17:15, , 1F
01/21 17:15, 1F
→
01/21 22:43, , 2F
01/21 22:43, 2F
Editor 近期熱門文章
PTT數位生活區 即時熱門文章