Documentation ¶
Index ¶
- Constants
- func Escape(str string) string
- type Choice
- type Choices
- type Nvim
- func (v *Nvim) Buffers() ([]*buffer.Buffer, error)
- func (v *Nvim) Call(cmd string, result interface{}) error
- func (v *Nvim) CallInt(cmd string) (int, error)
- func (v *Nvim) CallString(cmd string) (string, error)
- func (v *Nvim) CommandOutput(cmd string) (string, error)
- func (v *Nvim) Confirm(prompt string, choices Choices) (Choice, error)
- func (v *Nvim) CreateWindow(d WindowDirection, p WindowPosition, name string) (*window.Window, error)
- func (v *Nvim) CreateWindowLeft(name string) (*window.Window, error)
- func (v *Nvim) CreateWindowRight(name string) (*window.Window, error)
- func (v *Nvim) CurrentBuffer() (*buffer.Buffer, error)
- func (v *Nvim) CurrentBufferName() (string, error)
- func (v *Nvim) CurrentDirectory() (string, error)
- func (v *Nvim) CurrentWindow() (*window.Window, error)
- func (v *Nvim) InputBool(prompt string) (bool, error)
- func (v *Nvim) InputString(prompt, defaultText, completion string) (string, error)
- func (v *Nvim) InputStrings(prompt string, defaultTexts []string, completion string) ([]string, error)
- func (v *Nvim) NearestDirectory() string
- func (v *Nvim) PrintError(err error) error
- func (v *Nvim) Printf(format string, args ...interface{}) error
- func (v *Nvim) SetCurrentDirectory(dir string) error
- func (v *Nvim) SetRegisterYank(value string) error
- func (v *Nvim) SetVarBool(name string, value bool) error
- func (v *Nvim) SetVarInt(name string, value int) error
- func (v *Nvim) SetVarString(name, value string) error
- func (v *Nvim) VarBool(name string) (bool, error)
- func (v *Nvim) VarInt(name string) (int, error)
- func (v *Nvim) VarString(name string) (string, error)
- func (v *Nvim) Windows() ([]*window.Window, error)
- type WindowDirection
- type WindowPosition
Constants ¶
View Source
const ( WindowHorizontal WindowDirection = "horizontal" WindowVertical WindowDirection = "vertical" WindowTopLeft WindowPosition = "topleft" WindowBottomRight WindowPosition = "botright" CompletionNone = "" CompletionAugroup = "augroup" CompletionBuffer = "buffer" CompletionBehave = "behave" CompletionColor = "color" CompletionCommand = "command" CompletionCompiler = "compiler" CompletionCscope = "cscope" CompletionDir = "dir" CompletionEnvironment = "environment" CompletionEvent = "event" CompletionExpression = "expression" CompletionFile = "file" CompletionFileInPath = "file_in_path" CompletionFiletype = "filetype" CompletionFunction = "function" CompletionHelp = "help" CompletionHighlight = "highlight" CompletionHistory = "history" CompletionLocale = "locale" CompletionMapping = "mapping" CompletionMenu = "menu" CompletionOption = "option" CompletionShellcmd = "shellcmd" CompletionSign = "sign" CompletionSyntax = "syntax" CompletionSyntime = "syntime" CompletionTag = "tag" CompletionTagListfiles = "tag_listfiles" CompletionUser = "user" CompletionVar = "var" CompletionCustom = "custom" CompletionCustomlist = "customlist" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Nvim ¶
type Nvim struct {
// contains filtered or unexported fields
}
func (*Nvim) CreateWindow ¶
func (v *Nvim) CreateWindow(d WindowDirection, p WindowPosition, name string) (*window.Window, error)
func (*Nvim) CreateWindowLeft ¶
func (*Nvim) CreateWindowRight ¶
func (*Nvim) CurrentBufferName ¶
func (*Nvim) CurrentDirectory ¶
func (*Nvim) InputString ¶
func (*Nvim) InputStrings ¶
func (*Nvim) NearestDirectory ¶
func (*Nvim) PrintError ¶
func (*Nvim) SetCurrentDirectory ¶
func (*Nvim) SetRegisterYank ¶
func (*Nvim) SetVarString ¶
type WindowDirection ¶
type WindowDirection string
type WindowPosition ¶
type WindowPosition string
Click to show internal directories.
Click to hide internal directories.