keymap

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 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 {
	Quit       key.Binding
	Up         key.Binding
	Down       key.Binding
	UpDown     key.Binding
	LeftRight  key.Binding
	Arrows     key.Binding
	GotoTop    key.Binding
	GotoBottom key.Binding
	Select     key.Binding
	Section    key.Binding
	Back       key.Binding
	PrevPage   key.Binding
	NextPage   key.Binding
	Help       key.Binding

	SelectItem key.Binding
	BackItem   key.Binding

	Copy key.Binding
}

KeyMap is a map of key bindings for the UI.

func DefaultKeyMap

func DefaultKeyMap() *KeyMap

DefaultKeyMap returns the default key map.

Jump to

Keyboard shortcuts

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