mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-06 11:35:25 +00:00
86 lines
3.1 KiB
TOML
86 lines
3.1 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
|
|
[keybindings.Channel]
|
|
# Quit the application
|
|
esc = "Quit"
|
|
# Scrolling through entries
|
|
down = "SelectNextEntry"
|
|
ctrl-n = "SelectNextEntry"
|
|
up = "SelectPrevEntry"
|
|
ctrl-p = "SelectPrevEntry"
|
|
# Scrolling the preview pane
|
|
ctrl-d = "ScrollPreviewHalfPageDown"
|
|
ctrl-u = "ScrollPreviewHalfPageUp"
|
|
# Select an entry
|
|
enter = "SelectEntry"
|
|
# Copy the selected entry to the clipboard
|
|
ctrl-y = "CopyEntryToClipboard"
|
|
# Toggle the remote control mode
|
|
ctrl-r = "ToggleRemoteControl"
|
|
# Toggle the send to channel mode
|
|
ctrl-s = "ToggleSendToChannel"
|
|
|
|
# Remote control mode keybindings
|
|
[keybindings.RemoteControl]
|
|
# Quit the application
|
|
esc = "Quit"
|
|
# Scrolling through entries
|
|
down = "SelectNextEntry"
|
|
up = "SelectPrevEntry"
|
|
ctrl-n = "SelectNextEntry"
|
|
ctrl-p = "SelectPrevEntry"
|
|
# Select an entry
|
|
enter = "SelectEntry"
|
|
# Toggle the remote control mode
|
|
ctrl-r = "ToggleRemoteControl"
|
|
|
|
# Send to channel mode keybindings
|
|
[keybindings.SendToChannel]
|
|
# Quit the application
|
|
esc = "Quit"
|
|
# Scrolling through entries
|
|
down = "SelectNextEntry"
|
|
up = "SelectPrevEntry"
|
|
ctrl-n = "SelectNextEntry"
|
|
ctrl-p = "SelectPrevEntry"
|
|
# Select an entry
|
|
enter = "SelectEntry"
|
|
# Toggle the send to channel mode
|
|
ctrl-s = "ToggleSendToChannel"
|