Created
January 8, 2018 04:13
-
-
Save kxzk/0c0cffb5d219de449973bb98ef716a88 to your computer and use it in GitHub Desktop.
This file contains 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
" from scrooloose's blog post | |
" https://got-ravings.blogspot.com/2008/08/vim-pr0n-making-statuslines-that-own.html | |
set statusline= | |
set statusline+=%<\ " cut at start | |
set statusline+=%2*[%n%H%M%R%W]%*\ " flags and buf no | |
set statusline+=%-40f\ " path | |
set statusline+=%=%1*%y%*%*\ " file type | |
set statusline+=%10((%l,%c)%)\ " line and column | |
set statusline+=%P " percentage of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment