vi

package
v0.0.0-...-e21ce11 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	Actions chan func()
	// contains filtered or unexported fields
}

func NewParser

func NewParser() *Parser

func (*Parser) AddAlias

func (p *Parser) AddAlias(alias, seq []ui.KeyPress)

func (*Parser) AddMotion

func (p *Parser) AddMotion(seq []ui.KeyPress, fn func(n int))

func (*Parser) AddOperator

func (p *Parser) AddOperator(seq []ui.KeyPress, fn func(n int), requiresMotion bool)

func (*Parser) Decode

func (p *Parser) Decode(k ui.KeyPress)

Jump to

Keyboard shortcuts

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