commands

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package commands is the built-in command plugin. It ships the standard plums command set — keybind targets, /command, and palette actions for mode, layouts, visibility, and output percent — as a public, forkable CommandProvider plugin wired by the Default Config. Core itself ships no commands; this package defines them exactly like a user's own command plugin would.

Every command drives the host through capabilities.Ctx verbs; dynamic palette titles are produced by the optional Command.Title func from Ctx.State().

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct{}

Plugin contributes the bundled command set.

func (*Plugin) Commands

func (*Plugin) Commands() []capabilities.Command

func (*Plugin) Init

func (*Plugin) Init(capabilities.Host, any) error

func (*Plugin) Name

func (*Plugin) Name() string

Jump to

Keyboard shortcuts

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