Crubbletea::Bubbles::List::KeyMap
Constructors
new(up : Key::Binding = Key::Binding.new(keys: ["up", "k"], help_key: "↑/k", help_desc: "up"), down : Key::Binding = Key::Binding.new(keys: ["down", "j"], help_key: "↓/j", help_desc: "down"), prev_page : Key::Binding = Key::Binding.new(keys: ["left", "h", "pgup", "b", "u"], help_key: "←/h/pgup", help_desc: "prev page"), next_page : Key::Binding = Key::Binding.new(keys: ["right", "l", "pgdown", "f", "d"], help_key: "→/l/pgdn", help_desc: "next page"), enter : Key::Binding = Key::Binding.new(keys: ["enter"], help_key: "enter", help_desc: "select"), quit : Key::Binding = Key::Binding.new(keys: ["q", "escape"], help_key: "q", help_desc: "quit"), go_to_start : Key::Binding = Key::Binding.new(keys: ["home", "g"], help_key: "g/home", help_desc: "go to start"), go_to_end : Key::Binding = Key::Binding.new(keys: ["end", "G"], help_key: "G/end", help_desc: "go to end"), filter : Key::Binding = Key::Binding.new(keys: ["/"], help_key: "/", help_desc: "filter"), clear_filter : Key::Binding = Key::Binding.new(keys: ["escape"], help_key: "esc", help_desc: "clear filter"), cancel_while_filtering : Key::Binding = Key::Binding.new(keys: ["escape"], help_key: "esc", help_desc: "cancel"), accept_while_filtering : Key::Binding = Key::Binding.new(keys: ["enter", "tab"], help_key: "enter", help_desc: "apply filter"), show_full_help : Key::Binding = Key::Binding.new(keys: ["?"], help_key: "?", help_desc: "more"), close_full_help : Key::Binding = Key::Binding.new(keys: ["?"], help_key: "?", help_desc: "close help"))
SourceInstance methods
accept_while_filtering
Sourcecancel_while_filtering
Sourceclear_filter
Sourceclose_full_help
Sourcedown
Sourceenter
Sourcefilter
Sourcego_to_end
Sourcego_to_start
Sourcenext_page
Sourceprev_page
Sourcequit
Sourceshow_full_help
Sourceup
Source