Class Neovim::Window
In: lib/neovim/ruby_provider/window_ext.rb
lib/neovim/window.rb
Parent: Object

Class representing an nvim window.

The methods documented here were generated using NVIM v0.1.7

Methods

[]   buffer   count   current   cursor   cursor=   height   height=   width   width=  

Public Class methods

Public Instance methods

Get the buffer displayed in the window

@return [Buffer]

Get the cursor coordinates

@return [Array(Integer, Integer)]

Set the cursor coodinates

@param coords [Array(Integer, Integer)] @return [Array(Integer, Integer)]

Get the height of the window

@return [Integer]

Set the height of the window

@param height [Integer] @return [Integer]

Get the width of the window

@return [Integer]

Set the width of the window

@param width [Integer] @return [Integer]

[Validate]