television/.config/config.toml
Alexandre Pasmantier 06a4feb9f2
fix(config): swap out default keymaps with user defined ones instead of stacking (#26)
* fix(config): swap out default keymaps with user defined ones instead of stacking

* fix default configuration fallback
2024-11-15 15:16:00 +01:00

85 lines
3.0 KiB
TOML

# Ui settings
# ----------------------------------------------------------------------------
[ui]
# Whether to use nerd font icons in the UI
# This option requires a font patched with Nerd Font in order to properly
# display glyphs (see https://www.nerdfonts.com/ for more information)
use_nerd_font_icons = false
# How much space to allocate for the UI (in percentage of the screen)
# ┌───────────────────────────────────────┐
# │ │
# │ Terminal screen │
# │ ┌─────────────────────────────┐ │
# │ │ │ │
# │ │ │ │
# │ │ │ │
# │ │ Television UI │ │
# │ │ │ │
# │ │ │ │
# │ │ │ │
# │ │ │ │
# │ └─────────────────────────────┘ │
# │ │
# │ │
# └───────────────────────────────────────┘
ui_scale = 80
# Previewers settings
# ----------------------------------------------------------------------------
[previewers.file]
# The theme to use for syntax highlighting
# A list of available themes can be found in the https://github.com/sharkdp/bat
# repository which uses the same syntax highlighting engine as television
theme = "Visual Studio Dark+"
# Keybindings
# ----------------------------------------------------------------------------
#
# Channel mode
# ------------------------
[keybindings.Channel]
# Quit the application
Quit = "esc"
# Scrolling through entries
SelectNextEntry = "down"
SelectPrevEntry = "up"
# Scrolling the preview pane
ScrollPreviewHalfPageDown = "ctrl-d"
ScrollPreviewHalfPageUp = "ctrl-u"
# Select an entry
SelectEntry = "enter"
# Copy the selected entry to the clipboard
CopyEntryToClipboard = "ctrl-y"
# Toggle the remote control mode
ToggleRemoteControl = "ctrl-r"
# Toggle the send to channel mode
ToggleSendToChannel = "ctrl-s"
# Remote control mode
# -------------------------------
[keybindings.RemoteControl]
# Quit the application
Quit = "esc"
# Scrolling through entries
SelectNextEntry = "down"
SelectPrevEntry = "up"
# Select an entry
SelectEntry = "enter"
# Toggle the remote control mode
ToggleRemoteControl = "ctrl-r"
# Send to channel mode
# --------------------------------
[keybindings.SendToChannel]
# Quit the application
Quit = "esc"
# Scrolling through entries
SelectNextEntry = "down"
SelectPrevEntry = "up"
# Select an entry
SelectEntry = "enter"
# Toggle the send to channel mode
ToggleSendToChannel = "ctrl-s"