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.32 docs/keymaps.md
vedeu-0.8.31 docs/keymaps.md
vedeu-0.8.30 docs/keymaps.md
vedeu-0.8.29 docs/keymaps.md
vedeu-0.8.28 docs/keymaps.md
vedeu-0.8.27 docs/keymaps.md
vedeu-0.8.26 docs/keymaps.md
vedeu-0.8.25 docs/keymaps.md
vedeu-0.8.24 docs/keymaps.md
vedeu-0.8.23 docs/keymaps.md
vedeu-0.8.22 docs/keymaps.md
vedeu-0.8.21 docs/keymaps.md
vedeu-0.8.20 docs/keymaps.md
vedeu-0.8.19 docs/keymaps.md
vedeu-0.8.18 docs/keymaps.md
vedeu-0.8.17 docs/keymaps.md
vedeu-0.8.16 docs/keymaps.md
vedeu-0.8.15 docs/keymaps.md
vedeu-0.8.14 docs/keymaps.md
vedeu-0.8.13 docs/keymaps.md