Update helix
This commit is contained in:
40
config.toml
40
config.toml
@@ -1,11 +1,11 @@
|
||||
theme = "monokai_pro"
|
||||
theme = "tokyonight_moon"
|
||||
|
||||
[editor]
|
||||
bufferline = "always"
|
||||
bufferline = "multiple"
|
||||
true-color = true
|
||||
|
||||
[editor.statusline]
|
||||
left = ["mode", "spinner"]
|
||||
left = ["mode", "spinner", "file-name", "file-modification-indicator"]
|
||||
center = ["file-name"]
|
||||
# right = ["diagnostics", "selections", "position", "file-encoding", "file-line-ending", "file-type"]
|
||||
right = ["version-control", "diagnostics", "selections", "position", "file-encoding", "file-line-ending", "file-type"]
|
||||
@@ -17,9 +17,31 @@ mode.select = "SELECT"
|
||||
[editor.gutters]
|
||||
layout = ["line-numbers", "diff", "diagnostics", "spacer"]
|
||||
|
||||
[editor.cursor-shape]
|
||||
insert = "bar"
|
||||
normal = "block"
|
||||
select = "underline"
|
||||
|
||||
[editor.inline-diagnostics]
|
||||
# cursor-line = "hint"
|
||||
other-lines = "error"
|
||||
|
||||
[editor.whitespace.characters]
|
||||
space = "·"
|
||||
nbsp = "⍽"
|
||||
tab = "→"
|
||||
newline = "⏎"
|
||||
tabpad = "·" # Tabs will look like "→···" (depending on tab width)
|
||||
|
||||
[editor.soft-wrap]
|
||||
enable = true
|
||||
max-wrap = 25 # increase value to reduce forced mid-word wrapping
|
||||
max-indent-retain = 0
|
||||
wrap-indicator = "" # set wrap-indicator to "" to hide it
|
||||
|
||||
[editor.lsp]
|
||||
display-messages = true
|
||||
display-inlay-hints = true
|
||||
display-inlay-hints = false
|
||||
|
||||
[editor.indent-guides]
|
||||
render = true
|
||||
@@ -27,8 +49,14 @@ character = "╎" # Some characters that work well: "▏", "┆", "┊", "⸽"
|
||||
skip-levels = 1
|
||||
|
||||
[keys.normal]
|
||||
C-g = ":sh tmux popup -d \"#{pane_current_path}\" -xC -yC -w80% -h80% -E lazygit"
|
||||
C-c = "normal_mode"
|
||||
C-g = ":sh zellij run -f -x 10% -y 10% --width 80% --height 80% -- gitui"
|
||||
C-y = ":sh zellij run -f -x 10% -y 10% --width 80% --height 80% -- bash ~/.config/helix/yazi-picker.sh"
|
||||
|
||||
[keys.insert]
|
||||
C-c = "normal_mode"
|
||||
C = "normal_mode"
|
||||
A-c = "toggle_comments"
|
||||
j = { k = "normal_mode" }
|
||||
|
||||
[keys.normal.space]
|
||||
l = ":toggle lsp.display-inlay-hints"
|
||||
|
||||
Reference in New Issue
Block a user