Bubbles::Filepicker::KeyMap
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")))
SourceInstance methods
back
Sourceback=(back : Key::Binding)
Sourcedown
Sourcedown=(down : Key::Binding)
Sourcego_to_last
Sourcego_to_last=(go_to_last : Key::Binding)
Sourcego_to_top
Sourcego_to_top=(go_to_top : Key::Binding)
Sourceopen
Sourceopen=(open : Key::Binding)
Sourcepage_down
Sourcepage_down=(page_down : Key::Binding)
Sourcepage_up
Sourcepage_up=(page_up : Key::Binding)
Sourceselect
Sourceselect=(select __arg0 : Key::Binding)
Sourceup
Sourceup=(up : Key::Binding)
Source