Files
furumi-tui/src/config/default_keymap.toml
T
sanapachandClaude Opus 5.5 e78f1627da Reorder tabs and migrate legacy keymap tab indices
Tabs are now 1 Library, 2 Playlists, 3 Queue, 4 Podcasts, 5 Settings,
6 Logs. The Podcasts tab is a placeholder that states podcasts are not
available in this build yet; it gets its own "podcasts" key context.

Keymap files gain an optional top-level `version`. The default keymap
declares `version = 2` and binds "6" to the Logs tab. Files without a
version (or with version 1) have their GoToTab indices remapped in
memory (3 -> 4, 4 -> 5, and 5 -> 3 for the prototype podcast build) with
a startup notice; the user's file is never rewritten. The help window
names the target tab instead of "Go to tab N".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 15:17:59 +02:00

272 lines
4.7 KiB
TOML

# Default keybindings for furumi.
#
# To customize, copy entries into <config dir>/furumi/keymap.toml
# (~/.config/furumi/keymap.toml on Linux/macOS). A user binding replaces the
# default binding with the same key sequence and context.
#
# version: keymap format version; put `version = 2` at the top of your file,
# before the first [[keymaps]] entry. Version 2 numbers tabs in this order:
# GoToTab = 0 Library, 1 Playlists, 2 Queue, 3 Podcasts, 4 Settings, 5 Logs.
# A file without `version` is treated as the older layout and its GoToTab
# indices are adapted in memory (3 -> 4 Settings, 4 -> 5 Logs, and 5 -> 3
# Podcasts from the prototype podcast build); the file itself is never
# rewritten. With `version = 2` indices are used exactly as written.
#
# key_sequence: space-separated chords, e.g. "g g" or "ctrl-a x".
# Modifiers: ctrl-, alt-, shift-, cmd-. Uppercase letters: "shift-g".
# command: an Action name, optionally with parameters:
# command = { SeekForward = { seconds = 30 } }
# context: optional view filter — global (default), library, search,
# playlists, queue, podcasts, settings, logs.
version = 2
[[keymaps]]
key_sequence = "q"
command = "Quit"
[[keymaps]]
key_sequence = "ctrl-c"
command = "Quit"
[[keymaps]]
key_sequence = "?"
command = "ToggleHelp"
[[keymaps]]
key_sequence = "tab"
command = "NextTab"
[[keymaps]]
key_sequence = "backtab"
command = "PrevTab"
[[keymaps]]
key_sequence = "1"
command = { GoToTab = 0 }
[[keymaps]]
key_sequence = "2"
command = { GoToTab = 1 }
[[keymaps]]
key_sequence = "3"
command = { GoToTab = 2 }
[[keymaps]]
key_sequence = "4"
command = { GoToTab = 3 }
[[keymaps]]
key_sequence = "5"
command = { GoToTab = 4 }
[[keymaps]]
key_sequence = "6"
command = { GoToTab = 5 }
[[keymaps]]
key_sequence = "y"
command = "DownloadSelected"
[[keymaps]]
key_sequence = "a"
command = "QueueAddNext"
[[keymaps]]
key_sequence = "shift-a"
command = "QueueAddLast"
[[keymaps]]
key_sequence = "alt-k"
command = "MoveQueueUp"
context = "queue"
[[keymaps]]
key_sequence = "alt-j"
command = "MoveQueueDown"
context = "queue"
[[keymaps]]
key_sequence = "shift-c"
command = "OpenConnectedDevices"
[[keymaps]]
key_sequence = "d"
command = "RemoveFromQueue"
context = "queue"
[[keymaps]]
key_sequence = "delete"
command = "RemoveFromQueue"
context = "queue"
[[keymaps]]
key_sequence = "shift-j"
command = "GoToRelease"
[[keymaps]]
key_sequence = "shift-p"
command = "AddToPlaylist"
[[keymaps]]
key_sequence = "j"
command = "MoveDown"
[[keymaps]]
key_sequence = "down"
command = "MoveDown"
[[keymaps]]
key_sequence = "k"
command = "MoveUp"
[[keymaps]]
key_sequence = "up"
command = "MoveUp"
[[keymaps]]
key_sequence = "h"
command = "MoveLeft"
[[keymaps]]
key_sequence = "left"
command = "MoveLeft"
[[keymaps]]
key_sequence = "l"
command = "MoveRight"
[[keymaps]]
key_sequence = "right"
command = "MoveRight"
[[keymaps]]
key_sequence = "pageup"
command = "PageUp"
[[keymaps]]
key_sequence = "pagedown"
command = "PageDown"
[[keymaps]]
key_sequence = "ctrl-u"
command = "PageUp"
[[keymaps]]
key_sequence = "ctrl-d"
command = "PageDown"
[[keymaps]]
key_sequence = "g g"
command = "SelectFirst"
[[keymaps]]
key_sequence = "shift-g"
command = "SelectLast"
[[keymaps]]
key_sequence = "enter"
command = "Select"
[[keymaps]]
key_sequence = "esc"
command = "Back"
[[keymaps]]
key_sequence = "backspace"
command = "Back"
[[keymaps]]
key_sequence = "space"
command = "PlayPause"
[[keymaps]]
key_sequence = "n"
command = "NextTrack"
[[keymaps]]
key_sequence = "p"
command = "PrevTrack"
[[keymaps]]
key_sequence = "."
command = { SeekForward = { seconds = 10 } }
[[keymaps]]
key_sequence = ","
command = { SeekBackward = { seconds = 10 } }
[[keymaps]]
key_sequence = "+"
command = "VolumeUp"
[[keymaps]]
key_sequence = "="
command = "VolumeUp"
[[keymaps]]
key_sequence = "-"
command = "VolumeDown"
[[keymaps]]
key_sequence = "s"
command = "ToggleShuffle"
[[keymaps]]
key_sequence = "r"
command = "CycleRepeat"
[[keymaps]]
key_sequence = "shift-l"
command = "ToggleVisualizer"
[[keymaps]]
key_sequence = "shift-h"
command = "OpenListenHistory"
[[keymaps]]
key_sequence = "x"
command = "ToggleLike"
[[keymaps]]
key_sequence = "shift-v"
command = "ToggleTrackSelection"
[[keymaps]]
key_sequence = "i"
command = "OpenTrackInfo"
[[keymaps]]
key_sequence = "shift-i"
command = "OpenCurrentTrackInfo"
[[keymaps]]
key_sequence = "e"
command = "EditSelected"
[[keymaps]]
key_sequence = "shift-d"
command = "DeleteSelected"
[[keymaps]]
key_sequence = "v"
command = "ToggleViewMode"
[[keymaps]]
key_sequence = "m"
command = "CycleSourceMode"
[[keymaps]]
key_sequence = "f"
command = "OpenLibraryFilters"
context = "library"
[[keymaps]]
key_sequence = ":"
command = "OpenCommandLine"
[[keymaps]]
key_sequence = "/"
command = "OpenSearch"