keybindings

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 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 FieldsPopupBinding

type FieldsPopupBinding struct {
	Close            key.Binding `keymap:"close"`
	ShiftColumnLeft  key.Binding `keymap:"shift-column-left"`
	ShiftColumnRight key.Binding `keymap:"shift-column-right"`
	ToggleVisible    key.Binding `keymap:"toggle-column-visible"`
	ResetColumns     key.Binding `keymap:"reset-columns"`
	AddColumn        key.Binding `keymap:"add-column"`
	DeleteColumn     key.Binding `keymap:"delete-column"`
}

type KeyBindings

type KeyBindings struct {
	ColumnPopup *FieldsPopupBinding `keymap:"fields-popup"`
	TableView   *TableKeyBinding    `keymap:"item-table"`
	View        *ViewKeyBindings    `keymap:"view"`
}

func Default

func Default() *KeyBindings

type TableKeyBinding

type TableKeyBinding struct {
	MoveUp   key.Binding `keymap:"move-up"`
	MoveDown key.Binding `keymap:"move-down"`
	PageUp   key.Binding `keymap:"page-up"`
	PageDown key.Binding `keymap:"page-down"`
	Home     key.Binding `keymap:"goto-top"`
	End      key.Binding `keymap:"goto-bottom"`
	ColLeft  key.Binding `keymap:"move-left"`
	ColRight key.Binding `keymap:"move-right"`
}

type ViewKeyBindings

type ViewKeyBindings struct {
	Mark                 key.Binding `keymap:"mark"`
	CopyItemToClipboard  key.Binding `keymap:"copy-item-to-clipboard"`
	Rescan               key.Binding `keymap:"rescan"`
	PromptForQuery       key.Binding `keymap:"prompt-for-query"`
	PromptForFilter      key.Binding `keymap:"prompt-for-filter"`
	PromptForTable       key.Binding `keymap:"prompt-for-table"`
	FetchNextPage        key.Binding `keymap:"fetch-next-page"`
	ViewBack             key.Binding `keymap:"view-back"`
	ViewForward          key.Binding `keymap:"view-forward"`
	CycleLayoutForward   key.Binding `keymap:"cycle-layout-forward"`
	CycleLayoutBackwards key.Binding `keymap:"cycle-layout-backwards"`
	PromptForCommand     key.Binding `keymap:"prompt-for-command"`
	ShowColumnOverlay    key.Binding `keymap:"show-fields-popup"`
	CancelRunningJob     key.Binding `keymap:"cancel-running-job"`
	Quit                 key.Binding `keymap:"quit"`
}

Jump to

Keyboard shortcuts

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