mangowc

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	HideComment = "[hidden]"
)

Variables

View Source
var ModSeparators = []rune{'+', ' '}

Functions

This section is empty.

Types

type KeyBinding

type KeyBinding struct {
	Mods    []string `json:"mods"`
	Key     string   `json:"key"`
	Command string   `json:"command"`
	Params  string   `json:"params"`
	Comment string   `json:"comment"`
}

func ParseKeys

func ParseKeys(path string) ([]KeyBinding, error)

type Parser

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

func NewParser

func NewParser() *Parser

func (*Parser) ParseKeys

func (p *Parser) ParseKeys() []KeyBinding

func (*Parser) ReadContent

func (p *Parser) ReadContent(path string) error

Jump to

Keyboard shortcuts

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