Sha256: a724742eeed104d606e396ad728bf8b6662274dfe3cc85d671ee30f01d548f3d

Contents?: true

Size: 1 KB

Versions: 79

Compression:

Stored size: 1 KB

Contents

# @title Vedeu Keymaps
# Vedeu Keymaps

Keymaps define the keypresses applicable to an interface or view. A
keymap sharing the same name as an interface will only operate if that
interface is currently in focus.

Alongside this functioanlity, there is a global keymap '_global_'
which will respond to keypresses regardless of which interface is in
focus. The global keymap is useful for mapping the key to exit the
application for example.

- It has a name. This name associates it with an
  {file:docs/interface.md Interface}.
- A key registered with a keymap can call a method or trigger an
  event, or either, in multitude.
- Keymaps only affect the interface/view with the same name.
- The same key can be registered with mulitple keymaps and perform
  different actions dependent on which interface is currently in
  focus.
- Some keys on the keymap are stored as strings, whilst others are
  symbols; representations of the keys pressed.

You can find out which keys Vedeu recognises here:
{Vedeu::Input::Translator}.

Version data entries

79 entries across 79 versions & 1 rubygems

Version Path
vedeu-0.8.12 docs/keymaps.md
vedeu-0.8.10 docs/keymaps.md
vedeu-0.8.9 docs/keymaps.md
vedeu-0.8.8 docs/keymaps.md
vedeu-0.8.7 docs/keymaps.md
vedeu-0.8.6 docs/keymaps.md
vedeu-0.8.5 docs/keymaps.md
vedeu-0.8.4 docs/keymaps.md
vedeu-0.8.3 docs/keymaps.md
vedeu-0.8.2 docs/keymaps.md
vedeu-0.8.1 docs/keymaps.md
vedeu-0.8.0 docs/keymaps.md
vedeu-0.7.4 docs/keymaps.md
vedeu-0.7.3 docs/keymaps.md
vedeu-0.7.2 docs/keymaps.md
vedeu-0.7.1 docs/keymaps.md
vedeu-0.7.0 docs/keymaps.md
vedeu-0.6.71 docs/keymaps.md
vedeu-0.6.70 docs/keymaps.md
vedeu-0.6.69 docs/keymaps.md