Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- closeWindow :: NvimE e m => Window -> m ()
- cursor :: NvimE e m => Window -> m (Int, Int)
- currentCursor :: NvimE e m => m (Int, Int)
- windowLine :: NvimE e m => Window -> m Int
- currentLine :: NvimE e m => m Int
- setCursor :: NvimE e m => Window -> Int -> Int -> m ()
- setCurrentCursor :: NvimE e m => Int -> Int -> m ()
- setLine :: NvimE e m => Window -> Int -> m ()
- setCurrentLine :: NvimE e m => Int -> m ()
- redraw :: NvimE e m => m ()
- findMainWindow :: NvimE e m => m (Maybe Window)
- ensureMainWindow :: NvimE e m => m Window
Documentation
closeWindow :: NvimE e m => Window -> m () Source #
currentLine :: NvimE e m => m Int Source #
setCurrentLine :: NvimE e m => Int -> 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.