summaryrefslogtreecommitdiff
path: root/dot-config
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-09-11 23:10:42 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-09-11 23:10:42 +0800
commit49f710580449d1595ac8c7f1842372a3cd80cca1 (patch)
tree93f0f5f02524f4f9237c33ad41606cc48bfbf52b /dot-config
parentaaefd0433a57591a8883d5d7eea418b0b5174b8a (diff)
helix: better defaults
Diffstat (limited to 'dot-config')
-rw-r--r--dot-config/helix/config.toml33
1 files changed, 15 insertions, 18 deletions
diff --git a/dot-config/helix/config.toml b/dot-config/helix/config.toml
index b2d295d7..73d6a2fa 100644
--- a/dot-config/helix/config.toml
+++ b/dot-config/helix/config.toml
@@ -7,6 +7,7 @@ popup-border = "all"
completion-trigger-len = 1
bufferline = "always"
auto-format = true
+color-modes = true
[editor.cursor-shape]
insert = "bar"
@@ -21,12 +22,9 @@ left = ["mode", "read-only-indicator", "version-control", "file-name", "spinner"
right = ["diagnostics", "register", "position", "position-percentage", "file-encoding", "file-type"]
separator = "│"
-# mode.normal = "NORMAL"
-# mode.insert = "INSERT"
-# mode.select = "SELECT"
-mode.normal = " "
-mode.insert = " "
-mode.select = " "
+mode.normal = "N"
+mode.insert = "I"
+mode.select = "V"
diagnostics = ["warning", "error"]
workspace-diagnostics = ["warning", "error"]
@@ -59,7 +57,15 @@ supersede-menu = true
[keys.normal]
tab = "move_parent_node_end"
S-tab = "move_parent_node_start"
+d = "delete_selection_noyank"
+c = "change_selection_noyank"
+[keys.normal." "]
+q = ":quit"
+c = ":buffer-close"
+tab = "insert_tab"
+w = ":write"
+"," = "code_action"
# [keys.insert]
# S-tab = "move_parent_node_start"
@@ -72,19 +78,10 @@ S-tab = "extend_parent_node_start"
# C-f = "jump_forward"
# C-S-f = "jump_backward"
-# [keys.insert]
-# # Disable Tab as a jump so it doesn't override
-# tab = "no_op"
-# C-f = "jump_forward"
-# C-S-f = "jump_backward"
+[keys.insert]
+C-f = "goto_next_tabstop"
+C-S-f = "goto_prev_tabstop"
# [keys.select]
# C-f = "jump_forward"
# C-S-f = "jump_backward"
-
-
-[keys.normal." "]
-q = ":quit"
-c = ":buffer-close"
-tab = "insert_tab"
-w = ":write"