update helix config
https://theari.dev/blog/enhanced-helix-config/
Diff
.config/helix/config.toml | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
@@ -2,6 +2,9 @@ theme = "catppuccin_mocha"
[editor]
rulers = [80, 120]
bufferline = "multiple"
cursorline = true
true-color = true
[editor.cursor-shape]
insert = "bar"
@@ -18,9 +21,16 @@ display-messages = true
display-inlay-hints = true
[keys.normal]
"backspace"= { f = ":pipe fmt -w 80"}
A-x = "extend_to_line_bounds"
X = ["extend_line_up", "extend_to_line_bounds"]
[keys.normal.backspace]
f = ":pipe fmt -w 80"
[keys.normal."+"]
m = ":run-shell-command make"
c = ":run-shell-command cargo build"
t = ":run-shell-command cargo test"
\ No newline at end of file
t = ":run-shell-command cargo test"
[keys.select]
A-x = "extend_to_line_bounds"
X = ["extend_line_up", "extend_to_line_bounds"]