vc

package
v0.0.0-...-fb62bfe Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FsCell

type FsCell struct {
	tui.SimpleCell
}

func (*FsCell) SetFile

func (cell *FsCell) SetFile(file os.FileInfo)

type FsList

type FsList struct {
	tui.BaseList
	// contains filtered or unexported fields
}

func NewFsList

func NewFsList(
	filename string, defaultStyle, selStyle tui.TextStyle,
) (*FsList, error)

func (*FsList) GotoCell

func (list *FsList) GotoCell(cell tui.Cell) error

func (*FsList) HandleEvent

func (list *FsList) HandleEvent(ev tui.Event) error

func (*FsList) OnKeyEvent

func (list *FsList) OnKeyEvent(fn KeyFn)

func (*FsList) Refresh

func (list *FsList) Refresh() error

type KeyFn

type KeyFn func(ev *tui.EventKey, list *FsList) error

type ViCommander

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

func NewViCommander

func NewViCommander() *ViCommander

func (*ViCommander) Init

func (vc *ViCommander) Init()

func (*ViCommander) Run

func (vc *ViCommander) Run()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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