Remove canvas .toml files from git tracking and ensure they remain ignored

This commit is contained in:
Priec
2025-07-31 11:37:56 +02:00
parent c5f22d7da1
commit 9ff3c59961
4 changed files with 1 additions and 222 deletions

1
.gitignore vendored
View File

@@ -4,3 +4,4 @@
server/tantivy_indexes server/tantivy_indexes
steel_decimal/tests/property_tests.proptest-regressions steel_decimal/tests/property_tests.proptest-regressions
.direnv/ .direnv/
canvas/*.toml

View File

@@ -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"]

View File

@@ -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"]

View File

@@ -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"]