Created
April 7, 2015 11:12
-
-
Save wethu/c08df7208533bcf0de7b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| " STATUS LINE | |
| """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| 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 | |
| hi User0 guifg=#ffffff guibg=#094afe | |
| " :set statusline=%<%f\ (%{&ft})\ %-4(%m%)%=%-19(%3l,%02c%03V%){fugitive#statusline()}} | |
| " :set statusline=%t[%{strlen(&fenc)?&fenc:'none'},%{&ff}]%h%m%r%y%=%c,%l/%L\ %P | |
| :set statusline= | |
| :set statusline+=%7*\[%n] "buffernr | |
| :set statusline+=%1*\ %<%F\ "File+path | |
| :set statusline+=%2*\ %y\ "FileType | |
| :set statusline+=%3*\ %{''.(&fenc!=''?&fenc:&enc).''} "Encoding | |
| :set statusline+=%3*\ %{(&bomb?\",BOM\":\"\")}\ "Encoding2 | |
| :set statusline+=%4*\ %{&ff}\ "FileFormat (dos/unix..) | |
| :set statusline+=%5*\ %{&spelllang}\%{HighlightSearch()}\ "Spellanguage & Highlight on? | |
| :set statusline+=%8*\ %=\ row:%l/%L\ (%03p%%)\ "Rownumber/total (%) | |
| :set statusline+=%9*\ col:%03c\ "Colnr | |
| :set statusline+=%0*\ \ %m%r%w\ %P\ \ "Modified? Readonly? Top/bot. | |
| function! HighlightSearch() | |
| if &hls | |
| return 'H' | |
| else | |
| return '' | |
| endif | |
| endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment