This commit is contained in:
2026-04-14 22:57:32 +02:00
parent 7f41488da6
commit 1f52782226
33 changed files with 168 additions and 85 deletions
+35 -27
View File
@@ -2,48 +2,56 @@ theme = "catppuccin_mocha"
[editor]
default-yank-register = "+"
shell = ["bash", "-c"]
line-number = "relative"
indent-guides.render = true
shell = ["bash", "-c"]
line-number = "relative"
indent-guides.render = true
trim-trailing-whitespace = true
[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"
[editor.whitespace.render]
space = "none"
tab = "all"
nbsp = "none"
nnbsp = "none"
newline = "none"
[keys.normal]
# "esc" = "collapse_selection"
"-" = "collapse_selection"
"-" = "collapse_selection"
"A-minus" = "flip_selections"
"#" = "switch_to_lowercase"
"A-#" = "switch_to_uppercase"
"#" = "switch_to_lowercase"
"A-#" = "switch_to_uppercase"
"+" = "select_register"
# Previously "["
[keys.normal."ö"]
"d" = "goto_prev_diag"
"D" = "goto_first_diag"
"f" = "goto_prev_function"
"t" = "goto_prev_class"
"a" = "goto_prev_parameter"
"c" = "goto_prev_comment"
"T" = "goto_prev_test"
"p" = "goto_prev_paragraph"
"g" = "goto_prev_change"
"G" = "goto_first_change"
"d" = "goto_prev_diag"
"D" = "goto_first_diag"
"f" = "goto_prev_function"
"t" = "goto_prev_class"
"a" = "goto_prev_parameter"
"c" = "goto_prev_comment"
"T" = "goto_prev_test"
"p" = "goto_prev_paragraph"
"g" = "goto_prev_change"
"G" = "goto_first_change"
"space" = "add_newline_above"
# Previously "]"
[keys.normal."ä"]
"d" = "goto_next_diag"
"D" = "goto_last_diag"
"f" = "goto_next_function"
"t" = "goto_next_class"
"a" = "goto_next_parameter"
"c" = "goto_next_comment"
"T" = "goto_next_test"
"p" = "goto_next_paragraph"
"g" = "goto_next_change"
"G" = "goto_last_change"
"d" = "goto_next_diag"
"D" = "goto_last_diag"
"f" = "goto_next_function"
"t" = "goto_next_class"
"a" = "goto_next_parameter"
"c" = "goto_next_comment"
"T" = "goto_next_test"
"p" = "goto_next_paragraph"
"g" = "goto_next_change"
"G" = "goto_last_change"
"space" = "add_newline_below"
# [keys.insert."j"]
@@ -1,13 +1,7 @@
[[language]]
name = "c"
auto-format = true
indent = { tab-width = 4, unit = " " }
[[language]]
name = "cpp"
auto-format = true
indent = { tab-width = 4, unit = " " }
[[language]]
name = "toml"
auto-format = true