mirror of
https://github.com/EnumeratedDev/typer.git
synced 2026-09-16 05:36:10 +00:00
Add configuration files for styles, keybindings and other options
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# Editor style option
|
||||
selected_style: "default" # Style for 256-color and true-color capable terminals
|
||||
selected_style_fallback: "default-fallback" # Style for 8-color capable terminals (Like TTYs)
|
||||
|
||||
# Other
|
||||
tab_indentation: 4 # Length of tab characters
|
||||
@@ -0,0 +1,40 @@
|
||||
keybindings:
|
||||
- keybinding: "Ctrl-Q"
|
||||
cursor_modes: ["buffer"]
|
||||
command: "quit"
|
||||
- keybinding: "Ctrl-C"
|
||||
cursor_modes: ["buffer"]
|
||||
command: "copy"
|
||||
- keybinding: "Ctrl-V"
|
||||
cursor_modes: ["buffer"]
|
||||
command: "paste"
|
||||
- keybinding: "Ctrl-S"
|
||||
cursor_modes: ["buffer"]
|
||||
command: "save"
|
||||
- keybinding: "Ctrl-O"
|
||||
cursor_modes: ["buffer"]
|
||||
command: "open"
|
||||
- keybinding: "Ctrl-R"
|
||||
cursor_modes: ["buffer"]
|
||||
command: "reload"
|
||||
- keybinding: "PgUp"
|
||||
cursor_modes: ["buffer"]
|
||||
command: "prev-buffer"
|
||||
- keybinding: "PgDn"
|
||||
cursor_modes: ["buffer"]
|
||||
command: "prev-buffer"
|
||||
- keybinding: "Ctrl-N"
|
||||
cursor_modes: ["buffer"]
|
||||
command: "new-buffer"
|
||||
- keybinding: "Delete"
|
||||
cursor_modes: ["buffer"]
|
||||
command: "close-buffer"
|
||||
- keybinding: "F1"
|
||||
cursor_modes: ["buffer","dropdown"]
|
||||
command: "menu-file"
|
||||
- keybinding: "F2"
|
||||
cursor_modes: ["buffer","dropdown"]
|
||||
command: "menu-edit"
|
||||
- keybinding: "F3"
|
||||
cursor_modes: ["buffer","dropdown"]
|
||||
command: "menu-buffers"
|
||||
@@ -0,0 +1,21 @@
|
||||
# Metadata
|
||||
name: "classic"
|
||||
description: "Style imitating the look of classic text editors and IDEs from the and 90s"
|
||||
style_type: "256-color"
|
||||
|
||||
# Colors
|
||||
colors:
|
||||
buffer_area_bg: "darkblue" # Buffer area background color
|
||||
buffer_area_fg: "white" # Buffer area text color
|
||||
buffer_area_sel: "blue" # Buffer area selected text and cursor background color
|
||||
top_menu_bg: "245" # Top menu background color
|
||||
top_menu_fg: "black" # Top menu text color
|
||||
dropdown_bg: "lightgray" # Dropdown background color
|
||||
dropdown_fg: "black" # Dropdown text color
|
||||
dropdown_sel: "blue" # Dropdown selected option background color
|
||||
line_index_bg: "247" # Line index background color
|
||||
line_index_fg: "black" # Line index text color
|
||||
message_bar_bg: "245" # Message bar background color
|
||||
message_bar_fg: "black" # Message bar text color
|
||||
input_bar_bg: "245" # Input bar background color
|
||||
input_bar_fg: "black" # Input bar text color
|
||||
@@ -0,0 +1,21 @@
|
||||
# Metadata
|
||||
name: "default-fallback"
|
||||
description: "The default look of Typer - Fallback style"
|
||||
style_type: "8-color"
|
||||
|
||||
# Colors
|
||||
colors:
|
||||
buffer_area_bg: "black" # Buffer area background color
|
||||
buffer_area_fg: "white" # Buffer area text color
|
||||
buffer_area_sel: "navy" # Buffer area selected text and cursor background color
|
||||
top_menu_bg: "white" # Top menu background color
|
||||
top_menu_fg: "black" # Top -menu text color
|
||||
dropdown_bg: "white" # Dropdown background color
|
||||
dropdown_fg: "black" # Dropdown text color
|
||||
dropdown_sel: "navy" # Dropdown selected option background color
|
||||
line_index_bg: "white" # Line index background color
|
||||
line_index_fg: "black" # Line index text color
|
||||
message_bar_bg: "white" # Message bar background color
|
||||
message_bar_fg: "black" # Message bar text color
|
||||
input_bar_bg: "white" # Input bar background color
|
||||
input_bar_fg: "black" # Input bar text color
|
||||
@@ -0,0 +1,21 @@
|
||||
# Metadata
|
||||
name: "default"
|
||||
description: "The default look of Typer"
|
||||
style_type: "256-color"
|
||||
|
||||
# Colors
|
||||
colors:
|
||||
buffer_area_bg: "234" # Buffer area background color
|
||||
buffer_area_fg: "white" # Buffer area text color
|
||||
buffer_area_sel: "243" # Buffer area selected text and cursor background color
|
||||
top_menu_bg: "236" # Top menu background color
|
||||
top_menu_fg: "white" # Top menu text color
|
||||
dropdown_bg: "236" # Dropdown background color
|
||||
dropdown_fg: "white" # Dropdown text color
|
||||
dropdown_sel: "240" # Dropdown selected option background color
|
||||
line_index_bg: "235" # Line index background color
|
||||
line_index_fg: "dimgray" # Line index text color
|
||||
message_bar_bg: "236" # Message bar background color
|
||||
message_bar_fg: "white" # Message bar text color
|
||||
input_bar_bg: "236" # Input bar background color
|
||||
input_bar_fg: "white" # Input bar text color
|
||||
Reference in New Issue
Block a user