aboutsummaryrefslogtreecommitdiff
path: root/.config/helix/config.toml
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2024-11-08 20:48:58 +0000
committerJustine Smithies <justine@smithies.me.uk>2024-11-08 20:48:58 +0000
commitc2fbc4d1717864a0055592e0b73d71c010e8686c (patch)
tree76e5bf50cc0f9c1b83f474740a8015d7f4e0ef26 /.config/helix/config.toml
parentb9d24b3b6bdaed04fab07d9150c51d4f0f7a5c7d (diff)
Initial commit
Diffstat (limited to '.config/helix/config.toml')
-rw-r--r--.config/helix/config.toml63
1 files changed, 63 insertions, 0 deletions
diff --git a/.config/helix/config.toml b/.config/helix/config.toml
new file mode 100644
index 0000000..454b1ab
--- /dev/null
+++ b/.config/helix/config.toml
@@ -0,0 +1,63 @@
+theme = "gruvbox-transparent"
+
+[editor]
+line-number = "absolute"
+mouse = false
+bufferline = "always"
+cursorline = true
+popup-border = "all"
+color-modes = true
+true-color = true
+
+[editor.cursor-shape]
+insert = "bar"
+normal = "block"
+select = "underline"
+
+[editor.file-picker]
+hidden = false
+
+[editor.indent-guides]
+character = "╎"
+render = true
+skip-levels = 1
+
+[editor.statusline]
+left = ["mode", "spinner", "version-control", "file-name", "read-only-indicator", "file-modification-indicator"]
+center = []
+right = ["diagnostics", "selections", "file-encoding", "register", "file-type", "position-percentage", "position"]
+separator = "│"
+mode.normal = "NORMAL"
+mode.insert = "INSERT"
+mode.select = "SELECT"
+
+[editor.lsp]
+display-messages = true
+display-inlay-hints = true
+
+[keys.normal]
+# Move line or selection up/down
+A-k = [
+ "extend_to_line_bounds",
+ "delete_selection",
+ "move_line_up",
+ "paste_before"
+]
+
+A-j = [
+ "extend_to_line_bounds",
+ "delete_selection",
+ "move_line_down",
+ "paste_before"
+]
+
+[keys.normal.space.space]
+h = ':set gutters ["diagnostics","spacer","diff"]'
+s = ':set gutters ["diagnostics","spacer","line-numbers","spacer","diff"]'
+
+# Config Mode
+[keys.normal."C-backspace"]
+o = ":config-open"
+r = ":config-reload"
+l = ":o ~/.config/helix/languages.toml"
+g = ":toggle-option indent-guides.render"