Sha256: 0cadfd62f29189c0ca3e54c67d8c13dbc3ca820fc7ea90fb11d36669a51c16b4
Contents?: true
Size: 755 Bytes
Versions: 9
Compression:
Stored size: 755 Bytes
Contents
require 'vedeu/repositories/all' require 'vedeu/input/mapper' require 'vedeu/input/keys' require 'vedeu/input/key' require 'vedeu/input/input' require 'vedeu/input/keymap' module Vedeu # Define a keymap called '_system_' which will hold some vital keys needed by # Vedeu to run effectively. Vedeu::DSL::Keymap.keymap('_system_') do |keymap| Vedeu::Configuration.system_keys.each do |label, keypress| keymap.key(keypress) { Vedeu.trigger(("_" + label.to_s + "_").to_sym) } end end # Define a keymap called '_global_' which will respond no matter which # interface is in focus. # # @note # Initially, no keys are registered with the global keymap. Vedeu::DSL::Keymap.keymap('_global_') do # ... end end # Vedeu
Version data entries
9 entries across 9 versions & 1 rubygems