Closed rokf closed 1 year ago
I'd appreciate the addition of a Vis, Window or Ui class property (Lua API) that would expose the current window layout for reading.
Vis
Window
Ui
I'd use this for conditional split/vsplit and new/vnew command execution in plugins.
I know that I can achieve the same thing through window width and height comparison but having it exposed through a dedicated property sounds neat.
I'd appreciate the addition of a
Vis
,Window
orUi
class property (Lua API) that would expose the current window layout for reading.I'd use this for conditional split/vsplit and new/vnew command execution in plugins.
I know that I can achieve the same thing through window width and height comparison but having it exposed through a dedicated property sounds neat.