From 9ff3c599617d6eb204a1058c8cc2de4893c197ef Mon Sep 17 00:00:00 2001 From: Priec Date: Thu, 31 Jul 2025 11:37:56 +0200 Subject: [PATCH] Remove canvas .toml files from git tracking and ensure they remain ignored --- .gitignore | 1 + canvas/canvas_config.toml | 58 -------------- canvas/canvas_config_clean.toml | 50 ------------ canvas/canvas_config_template2.toml | 114 ---------------------------- 4 files changed, 1 insertion(+), 222 deletions(-) delete mode 100644 canvas/canvas_config.toml delete mode 100644 canvas/canvas_config_clean.toml delete mode 100644 canvas/canvas_config_template2.toml diff --git a/.gitignore b/.gitignore index 34aada6..2d4b6e0 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ server/tantivy_indexes steel_decimal/tests/property_tests.proptest-regressions .direnv/ +canvas/*.toml diff --git a/canvas/canvas_config.toml b/canvas/canvas_config.toml deleted file mode 100644 index 49ee5b1..0000000 --- a/canvas/canvas_config.toml +++ /dev/null @@ -1,58 +0,0 @@ -# canvas_config.toml - Complete Canvas Configuration - -[behavior] -wrap_around_fields = true -auto_save_on_field_change = false -word_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_" -max_suggestions = 6 - -[appearance] -cursor_style = "block" # "block", "bar", "underline" -show_field_numbers = false -highlight_current_field = true - -# Read-only mode keybindings (vim-style) -[keybindings.read_only] -move_left = ["h"] -move_right = ["l"] -move_up = ["k"] -move_down = ["j"] -move_word_next = ["w"] -move_word_end = ["e"] -move_word_prev = ["b"] -move_word_end_prev = ["ge"] -move_line_start = ["0"] -move_line_end = ["$"] -move_first_line = ["gg"] -move_last_line = ["shift+g"] -next_field = ["Tab"] -prev_field = ["Shift+Tab"] - -# Edit mode keybindings -[keybindings.edit] -delete_char_backward = ["Backspace"] -delete_char_forward = ["Delete"] -move_left = ["Left"] -move_right = ["Right"] -move_up = ["Up"] -move_down = ["Down"] -move_line_start = ["Home"] -move_line_end = ["End"] -move_word_next = ["Ctrl+Right"] -move_word_prev = ["Ctrl+Left"] -next_field = ["Tab"] -prev_field = ["Shift+Tab"] -trigger_autocomplete = ["Ctrl+p"] - - -# Suggestion/autocomplete keybindings -[keybindings.suggestions] -suggestion_up = ["Up", "Ctrl+p"] -suggestion_down = ["Down", "Ctrl+n"] -select_suggestion = ["Enter", "Tab"] -exit_suggestions = ["Esc"] - -# Global keybindings (work in both modes) -[keybindings.global] -move_up = ["Up"] -move_down = ["Down"] diff --git a/canvas/canvas_config_clean.toml b/canvas/canvas_config_clean.toml deleted file mode 100644 index 72a0787..0000000 --- a/canvas/canvas_config_clean.toml +++ /dev/null @@ -1,50 +0,0 @@ -[keybindings.edit] -# Required -prev_field = ["Shift+Tab"] -move_left = ["Left", "h"] -move_up = ["Up", "k"] -move_right = ["Right", "l"] -move_down = ["Down", "j"] -delete_char_backward = ["Backspace"] -next_field = ["Tab", "Enter"] -# Optional -delete_char_forward = ["Delete"] -move_line_start = ["Home", "0"] -move_first_line = ["Ctrl+Home", "gg"] -move_word_end_prev = ["ge"] -move_word_prev = ["Ctrl+Left", "b"] -move_word_next = ["Ctrl+Right", "w"] -move_word_end = ["e"] -move_line_end = ["End", "$"] -move_last_line = ["Ctrl+End", "G"] - -[keybindings.read_only] -# Required -move_right = ["l", "Right"] -move_left = ["h", "Left"] -move_down = ["j", "Down"] -move_up = ["k", "Up"] -# Optional -move_line_end = ["$"] -move_line_start = ["0"] -move_word_end_prev = ["ge"] -move_first_line = ["gg"] -move_word_next = ["w"] -prev_field = ["Shift+Tab"] -move_word_prev = ["b"] -move_word_end = ["e"] -next_field = ["Tab"] -move_last_line = ["G"] - -[keybindings.suggestions] -# Required -suggestion_down = ["Down", "Ctrl+n"] -suggestion_up = ["Up", "Ctrl+p"] -select_suggestion = ["Enter", "Tab"] -exit_suggestions = ["Esc"] - -[keybindings.global] -# Optional -move_up = ["Up"] -move_down = ["Down"] - diff --git a/canvas/canvas_config_template2.toml b/canvas/canvas_config_template2.toml deleted file mode 100644 index 9765265..0000000 --- a/canvas/canvas_config_template2.toml +++ /dev/null @@ -1,114 +0,0 @@ -# Canvas Library Configuration Template -# Generated automatically - customize as needed - -[keybindings.edit] -# REQUIRED ACTIONS - These must be configured -# Move to next field or line -move_down = ["Down", "j"] - -# Delete character before cursor -delete_char_backward = ["Backspace"] - -# Move cursor one position to the left -move_left = ["Left", "h"] - -# Move to previous input field -prev_field = ["Shift+Tab"] - -# Move to next input field -next_field = ["Tab", "Enter"] - -# Move to previous field or line -move_up = ["Up", "k"] - -# Move cursor one position to the right -move_right = ["Right", "l"] - -# OPTIONAL ACTIONS - Configure these if you want them enabled -# Delete character after cursor -# delete_char_forward = ["Delete"] - -# Move cursor to start of next word -# move_word_next = ["Ctrl+Right", "w"] - -# Move cursor to end of line -# move_line_end = ["End", "$"] - -# Move cursor to end of current/next word -# move_word_end = ["e"] - -# Move cursor to end of previous word -# move_word_end_prev = ["ge"] - -# Move cursor to beginning of line -# move_line_start = ["Home", "0"] - -# Move to first field -# move_first_line = ["Ctrl+Home", "gg"] - -# Move cursor to start of previous word -# move_word_prev = ["Ctrl+Left", "b"] - -# Move to last field -# move_last_line = ["Ctrl+End", "G"] - -[keybindings.read_only] -# REQUIRED ACTIONS - These must be configured -# Move cursor one position to the right -move_right = ["l", "Right"] - -# Move to previous field -move_up = ["k", "Up"] - -# Move to next field -move_down = ["j", "Down"] - -# Move cursor one position to the left -move_left = ["h", "Left"] - -# OPTIONAL ACTIONS - Configure these if you want them enabled -# Move to next input field -# next_field = ["Tab"] - -# Move to last field -# move_last_line = ["G"] - -# Move to first field -# move_first_line = ["gg"] - -# Move cursor to start of previous word -# move_word_prev = ["b"] - -# Move cursor to start of next word -# move_word_next = ["w"] - -# Move cursor to end of current/next word -# move_word_end = ["e"] - -# Move cursor to beginning of line -# move_line_start = ["0"] - -# Move cursor to end of line -# move_line_end = ["$"] - -# Move to previous input field -# prev_field = ["Shift+Tab"] - -# Move cursor to end of previous word -# move_word_end_prev = ["ge"] - -[keybindings.suggestions] -# REQUIRED ACTIONS - These must be configured -# Move selection to previous suggestion -suggestion_up = ["Up", "Ctrl+p"] - -# Close suggestions without selecting -exit_suggestions = ["Esc"] - -# Select the currently highlighted suggestion -select_suggestion = ["Enter", "Tab"] - -# Move selection to next suggestion -suggestion_down = ["Down", "Ctrl+n"] - -