martanne / vis

A vi-like editor based on Plan 9's structural regular expressions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

disabling status line

d-s-a opened this issue · comments

Is there any way to disable rendering of the status line via runtime configuration? If not maybe I'll try to implement this feature.

Something like the following maybe:

vis.events.subscribe(vis.events.WIN_STATUS, function(win)
	win:status("")
end)

You also might want to modify your theme to not colour the status bar:

vis.lexers.STYLE_STATUS = ''
vis.lexers.STYLE_STATUS_FOCUSED = ''

See the Lua API documentation for more info.

That solution does stop rendering the status line contents, however, the status line itself is still present. I don't think there's a built-in way to disable the status line yet, so I might go ahead and implement that sometime.