window

package
v0.0.0-...-bc0ec6d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2017 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Escape

func Escape(path string) string

Types

type Option

type Option struct {
	FoldColumn  int  `vim:"foldcolumn"`
	FoldEnable  bool `vim:"foldenable"`
	List        bool `vim:"list"`
	Spell       bool `vim:"spell"`
	WinFixWidth bool `vim:"winfixwidth"`
	Wrap        bool `vim:"wrap"`
}

func (Option) MapPointer

func (o Option) MapPointer() map[string]uintptr

func (Option) MapValue

func (o Option) MapValue() map[string]interface{}

type Window

type Window struct {
	// contains filtered or unexported fields
}

func New

func New(v *cnvim.Nvim, w cnvim.Window) *Window

func (*Window) Buffer

func (w *Window) Buffer() (*buffer.Buffer, error)

func (*Window) Close

func (w *Window) Close() error

func (*Window) Focus

func (w *Window) Focus() error

func (*Window) Open

func (w *Window) Open(name string) error

func (*Window) Option

func (w *Window) Option() (Option, error)

func (*Window) SetHeight

func (w *Window) SetHeight(height int) error

func (*Window) SetOption

func (w *Window) SetOption(o Option) error

func (*Window) SetWidth

func (w *Window) SetWidth(width int) error

func (*Window) Valid

func (w *Window) Valid() (bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL