Skip to content

Instantly share code, notes, and snippets.

@heavenshell
Created November 30, 2012 18:08
Show Gist options
  • Save heavenshell/4177463 to your computer and use it in GitHub Desktop.
Save heavenshell/4177463 to your computer and use it in GitHub Desktop.
set laststatus=2
set statuslineheight=2
set statusline=%<%f\ %m%r%h%w[%{&ff}][%{(&fenc!=''?&fenc:&enc).(&bomb?':bom':'')}]%@\ 0x%B%@%=%l,%c\ %P
$ src/vim -u vimrc
Error detected while processing /tmp/vim/vimrc:
line 2:
E518: Unknown option: statuslineheight=2
line 3:
E539: Illegal character <@>: statusline=%<%f\ %m%r%h%w[%{&ff}][%{(&fenc!=''?&fenc:&enc).(&bomb?':bom':'')}]%@\ 0x%B%@%=%l,%c\ %P
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment