Add helix configuration

This commit is contained in:
2023-05-30 20:24:08 +02:00
parent 9db32a19be
commit 80d4f7052c
2 changed files with 38 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ empty_directories:
- name: .config/i3status-rust - name: .config/i3status-rust
- name: .config/i3status-rust/icons - name: .config/i3status-rust/icons
- name: .config/i3status-rust/themes - name: .config/i3status-rust/themes
- name: .config/helix
dotfiles: dotfiles:
- from: git/gitconfig - from: git/gitconfig
to: .gitconfig to: .gitconfig
@@ -86,3 +87,5 @@ dotfiles:
to: .screencfg to: .screencfg
- from: scripts - from: scripts
to: scripts to: scripts
- from: helix/config.toml
to: .config/helix/config.toml

35
helix/config.toml Normal file
View File

@@ -0,0 +1,35 @@
theme = "monokai"
[editor]
idle-timeout = 0
completion-trigger-len = 1
[editor.statusline]
left = [
"mode",
"separator",
"file-name",
"file-modification-indicator",
]
right = [
"spinner",
"spacer",
"diagnostics",
"separator",
"selections",
"separator",
"position",
"position-percentage",
"file-type",
]
mode.normal = "N"
mode.insert = "I"
mode.select = "S"
[editor.lsp]
display-inlay-hints = true
[editor.cursor-shape]
insert = "bar"