Files
furumi-tui/src/config/default_keymap.toml
T
sanapachandClaude Opus 5.5 99c4d05dec Replace the Podcasts placeholder with subscriptions, seasons and episodes
The tab opens the FRID podcast store (podcasts.sqlite3, migrating a
prototype database in place; newer or foreign files are reported and left
unchanged) off the UI thread and shows subscriptions with unplayed counts
and check status, podcast -> seasons -> episodes navigation, and episodes
with saved position, played state, duration and date. Episode search,
played filter and order run as paged store queries with request sequence
numbers. Adding a feed, checking one or all feeds, marking played and
unsubscribing (with a confirmation that progress is kept) go through
Effect/AppEvent; a scheduler refreshes due feeds in the background.

New actions are bound in the podcasts keymap context and listed in a
Podcasts help section.

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

316 lines
5.6 KiB
TOML

# Default keybindings for furumi.
#
# To customize, copy entries into keymap.toml in the platform config dir
# (~/.config/furumi/keymap.toml on Linux,
# ~/Library/Application Support/furumi/keymap.toml on 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 (after one, TOML attaches it to that
# entry and the file is rejected). 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"
# Podcasts tab. Enter opens a podcast, its seasons and episodes; Esc goes
# back. Shift-D also unsubscribes here.
[[keymaps]]
key_sequence = "o"
command = "AddPodcast"
context = "podcasts"
[[keymaps]]
key_sequence = "/"
command = "SearchEpisodes"
context = "podcasts"
[[keymaps]]
key_sequence = "shift-r"
command = "RefreshPodcast"
context = "podcasts"
[[keymaps]]
key_sequence = "ctrl-r"
command = "RefreshAllPodcasts"
context = "podcasts"
[[keymaps]]
key_sequence = "shift-s"
command = "CycleEpisodeSort"
context = "podcasts"
[[keymaps]]
key_sequence = "f"
command = "CycleEpisodeFilter"
context = "podcasts"
[[keymaps]]
key_sequence = "m"
command = "ToggleEpisodePlayed"
context = "podcasts"
[[keymaps]]
key_sequence = "shift-u"
command = "UnsubscribePodcast"
context = "podcasts"