From 4267d95e5165c4cf1babac6a2da7cb90d95b405c Mon Sep 17 00:00:00 2001 From: holly sparkles Date: Sun, 28 Apr 2024 20:36:23 +0200 Subject: [PATCH] update helix config https://theari.dev/blog/enhanced-helix-config/ --- .config/helix/config.toml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.config/helix/config.toml b/.config/helix/config.toml index cac5718..7d28a13 100644 --- a/.config/helix/config.toml +++ b/.config/helix/config.toml @@ -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"] -- libgit2 1.7.2