keybindingmode

package
v0.2.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 License: Apache-2.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 Mode

type Mode int

Mode represents the convention that application keyboard shortcuts follow.

const (
	// Unknown means that the mode is not specified.
	Unknown Mode = iota

	// Command is the convention where Command carries application shortcuts.
	Command

	// ControlDefault is the convention where Control carries application shortcuts.
	ControlDefault

	// ControlEmacs is ControlDefault with the Emacs text editing keymap.
	ControlEmacs
)

func SystemMode

func SystemMode() Mode

SystemMode returns the mode of the current system.

Jump to

Keyboard shortcuts

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