command_palette

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EntryPoint

func EntryPoint(parent *cli.Command)

Types

type Binding

type Binding struct {
	Key           string `json:"key"`
	Action        string `json:"action"`
	ActionDisplay string `json:"action_display"`
	Definition    string `json:"definition"`
	Help          string `json:"help"`
	LongHelp      string `json:"long_help"`
	Category      string
	Mode          string
	IsMouse       bool
}

JSON data structures matching Python collect_keys_data output

type CachedSettings

type CachedSettings struct {
	ShowUnmapped bool `json:"show_unmapped"`
}

CachedSettings holds persistent UI settings stored in command-palette.json.

type DisplayItem

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

DisplayItem wraps a binding with its per-column search texts for FZF scoring

type Handler

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

type InputData

type InputData struct {
	Modes         map[string]map[string][]Binding `json:"modes"`
	Mouse         []Binding                       `json:"mouse"`
	ModeOrder     []string                        `json:"mode_order"`
	CategoryOrder map[string][]string             `json:"category_order"`
}

Jump to

Keyboard shortcuts

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