mikewest / vimroom

Simulating a vaguely WriteRoom-like environment in Vim.
https://mikewest.github.io/vimroom/
BSD 3-Clause "New" or "Revised" License
340 stars 43 forks source link

Faux Powerline statusbar at top of view #34

Closed sdothum closed 11 years ago

sdothum commented 11 years ago

With Powerline enabled, I had to write a function which cleared the statusline after the VimroomToggle with "set statusline=". Toggling back was no problem, the Powerline status bar was restored automatically by Vimroom.

Strangely though, at the top of the view, a faux Powerline status bar shows with uninitialzed information (no filename, shows instead "new, 100%" etc). The file scrolls beneath that line in row 4.

From what I can tell, it looks like the Powerline status bar appears as a result of the way the screen is windowed to create the centered view -- probably not solvable by the way Powerline overrides Vim's native statusbar.

Any ideas? Other than that, really like Vimroom.

Steven

sdothum commented 11 years ago

One solution seems to be to disable the sidebar height, ie set g:vimroom_sidebar_height=0

Seems to work so far..

Steven

sdothum commented 11 years ago

Setting sidebar height to zero seems to solve Powerline issue. Also this eliminated need for "set statusline="

Love this plugin. Have it setup with autocmd for those types of files where I am writing versus coding.

Great job.

Steven