ribosome-0.4.0.0: api extensions for nvim-hs
Safe HaskellNone
LanguageHaskell2010

Ribosome.Api.Window

Synopsis

Documentation

closeWindow :: NvimE e m => Window -> m () Source #

cursor :: NvimE e m => Window -> m (Int, Int) Source #

setCursor :: NvimE e m => Window -> Int -> Int -> m () Source #

setCurrentCursor :: NvimE e m => Int -> Int -> m () Source #

setLine :: NvimE e m => Window -> Int -> m () Source #

setCurrentLine :: NvimE e m => Int -> m () Source #

redraw :: NvimE e m => m () Source #

findMainWindow :: NvimE e m => m (Maybe Window) Source #

A main window means here any non-window that may be used to edit a file, i.e. one with an empty buftype.

ensureMainWindow :: NvimE e m => m Window Source #

Create a new window at the top if no existing window has empty buftype. Focuses the window.