commands

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command uint8
const (
	Noop Command = iota

	// Views
	SwitchToEditorView
	SwitchToConnectionsView
	HelpPopup

	// Movement: Basic
	MoveUp
	MoveDown
	MoveLeft
	MoveRight
	// Movement: Jumps
	GotoNext
	GotoPrev
	GotoStart
	GotoEnd
	GotoTop
	GotoBottom

	// Movement: Page
	PageNext
	PagePrev

	// Menu:
	RecordsMenu
	ColumnsMenu
	ConstraintsMenu
	ForeignKeysMenu
	IndexesMenu

	// Tabs
	TabNext
	TabPrev
	TabFirst
	TabLast
	TabClose

	// Operations
	Refresh
	UnfocusEditor
	Copy
	Edit
	CommitEdit
	DiscardEdit
	Save
	Delete
	Search
	SearchGlobal
	Quit
	Execute
	OpenInExternalEditor
	AppendNewRow
	SortAsc
	SortDesc
	UnfocusTreeFilter
	CommitTreeFilter
	NextFoundNode
	PreviousFoundNode
	TreeCollapseAll
	ExpandAll
	SetValue
	FocusSidebar
	UnfocusSidebar
	ToggleSidebar

	// Connection
	NewConnection
	Connect
	TestConnection
	EditConnection
	DeleteConnection
)

func (Command) String

func (c Command) String() string

Jump to

Keyboard shortcuts

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