zed

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2025 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrConfigNotFound = errors.New("configuration file not found")

Functions

func FormatZedKeybind added in v0.6.0

func FormatZedKeybind(kb keybinding.Keybinding, plat platform.Platform) (string, error)

FormatZedKeybind formats a keybinding for Zed editor. The plat parameter specifies the target platform for formatting modifier keys. If plat is empty, it defaults to the current runtime platform.

func New

func New(mappingConfig *mappings.MappingConfig, logger *slog.Logger, recorder metrics.Recorder) pluginapi.Plugin

New creates a new ZedPlugin instance.

func ParseZedKeybind added in v0.6.0

func ParseZedKeybind(keybind string, plat platform.Platform) (keybinding.Keybinding, error)

ParseZedKeybind parses a Zed keybinding string into a Keybinding struct. The plat parameter specifies the platform context for parsing modifier keys. If plat is empty, it defaults to the current runtime platform.

Types

This section is empty.

Jump to

Keyboard shortcuts

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