struct

Bubbles::Filepicker::KeyMap

Inherits Struct < Value < Object

KeyMap defines key bindings for each user action.

Constructors

new(go_to_top : Bubbles::Key::Binding = Key.new_binding(Key.with_keys("g")), go_to_last : Bubbles::Key::Binding = Key.new_binding(Key.with_keys("G")), down : Bubbles::Key::Binding = Key.new_binding(Key.with_keys("j", "down", "ctrl+n")), up : Bubbles::Key::Binding = Key.new_binding(Key.with_keys("k", "up", "ctrl+p")), page_up : Bubbles::Key::Binding = Key.new_binding(Key.with_keys("K", "pgup")), page_down : Bubbles::Key::Binding = Key.new_binding(Key.with_keys("J", "pgdown")), back : Bubbles::Key::Binding = Key.new_binding(Key.with_keys("h", "backspace", "left", "esc")), open : Bubbles::Key::Binding = Key.new_binding(Key.with_keys("l", "right", "enter")), select __arg0 : Bubbles::Key::Binding = Key.new_binding(Key.with_keys("enter")))
Source

Instance methods

back
Source
back=(back : Key::Binding)
Source
down
Source
down=(down : Key::Binding)
Source
go_to_last
Source
go_to_last=(go_to_last : Key::Binding)
Source
go_to_top
Source
go_to_top=(go_to_top : Key::Binding)
Source
open
Source
open=(open : Key::Binding)
Source
page_down
Source
page_down=(page_down : Key::Binding)
Source
page_up
Source
page_up=(page_up : Key::Binding)
Source
select
Source
select=(select __arg0 : Key::Binding)
Source
up=(up : Key::Binding)
Source