config

package
v0.0.0-...-53a3c30 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Settings    Settings `yaml:"settings"`
	PrintLastWD string
}

Config represents all of the configuration options

func GetConfig

func GetConfig() (Config, error)

GetConfig reads, pareses and returns the configuration

type Keymap

type Keymap struct {
	NavUp             string `yaml:"up"`
	NavDown           string `yaml:"down"`
	NavLeft           string `yaml:"left"`
	NavRight          string `yaml:"right"`
	NavHome           string `yaml:"go_home"`
	Delete            string `yaml:"delete"`
	Select            string `yaml:"select"`
	Cut               string `yaml:"cut"`
	Copy              string `yaml:"copy"`
	ToggleAltScreen   string `yaml:"toggle_alt_screen"`
	ToggleParentPane  string `yaml:"toggle_parent_pane"`
	ToggleHidden      string `yaml:"toggle_hidden"`
	ToggleMinimalUI   string `yaml:"toggle_minimal_ui"`
	PreviewScrollUp   string `yaml:"preview_scroll_up"`
	PreviewScrollDown string `yaml:"preview_scroll_down"`
}

type Settings

type Settings struct {
	Keymap    Keymap `yaml:"keymap"`
	AltScreen bool   `yaml:"alt_screen"`
	MinimalUI bool   `yaml:"minimal_ui"`
}

Jump to

Keyboard shortcuts

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