Created
April 17, 2012 05:27
-
-
Save saihoooooooo/2403700 to your computer and use it in GitHub Desktop.
my vim statusline
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
| let &statusline = '' | |
| let &statusline .= '%{expand("%:t")}' | |
| let &statusline .= '%h%w%m%r' | |
| let &statusline .= ' (%<%{expand("%:p:~:h")}) ' | |
| let &statusline .= '%=' | |
| let &statusline .= '[HEX:%B][R:%l][C:%c]' | |
| let &statusline .= '%y' | |
| let &statusline .= '[%{&fileencoding != "" ? &fileencoding : &encoding}]' | |
| let &statusline .= '%{&bomb ? "[BOM]" : ""}' | |
| let &statusline .= '[%{&fileformat}]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment