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.
Click to show internal directories.
Click to hide internal directories.