keymap

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyMap

type KeyMap struct {
	Exit            key.Binding
	Back            key.Binding
	Open            key.Binding
	ToggleViewArrow key.Binding
	Up              key.Binding
	Reverse         key.Binding
	Down            key.Binding
	Filter          key.Binding
	ToggleFullHelp  key.Binding
	GotoTop         key.Binding
	GotoBottom      key.Binding
	ShowPreview     key.Binding
}

KeyMap of the app.

func GetDefaultKeys

func GetDefaultKeys() KeyMap

GetDefaultKeys returns default KeyMap.

func (KeyMap) FullHelp

func (k KeyMap) FullHelp() [][]key.Binding

func (KeyMap) ShortHelp

func (k KeyMap) ShortHelp() []key.Binding

Jump to

Keyboard shortcuts

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