[vim ] statusline

看板Editor (編輯器(vim/emacs))作者 (Ar藤)時間13年前 (2012/01/21 17:06), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串1/1
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 22:43, , 2F
感謝!
01/21 22:43, 2F
文章代碼(AID): #1F6e0oJO (Editor)
文章代碼(AID): #1F6e0oJO (Editor)