vcom/vcom.toml
vrubelroman 92e72bc8c6 feat: theme selector dialog with live preview (t key)
Replace the simple cycleTheme() with a modal dialog that shows all
19 themes with color swatches, live preview on Up/Down navigation,
and commit/revert on Enter/Esc.

Changes:
- Add modalThemeSelect kind to modalKind enum
- Add themeSelectorState struct + field to Model
- Add openThemeSelector() replacing cycleTheme() call
- Add handleModalKey case for modalThemeSelect (Up/Down/Enter/Esc)
- Add applyThemePreview() and finalizeTheme() helper methods
- Add renderThemeSelectModal() with aligned theme names + swatches
- Update renderModal() dispatch and widen modal for theme selector
- Update help text: 't' now shows 'select theme'
2026-04-29 16:13:29 +03:00

43 lines
689 B
TOML

[startup]
left_path = ''
right_path = ''
[ui]
app_title = 'vcom'
theme = 'catppuccin-mocha'
icon_mode = 'auto'
show_title_bar = true
show_footer = true
border = 'rounded'
path_display = 'smart'
pane_gap = 1
center_width_percent = 30
[browser]
show_hidden = true
dirs_first = true
human_readable_size = true
[browser.sort]
by = 'name'
reverse = false
[browser.columns]
name = true
size = true
modified = true
created = false
permissions = false
extension = false
[preview]
show_metadata = true
wrap_text = false
max_preview_bytes = 65536
directory_preview_limit = 80
[behavior]
confirm_delete = true
confirm_overwrite = true
calculate_dir_size_on_space = true
follow_symlinks = false