From 80d4f7052cfac7a0e1b11169d4218d5d29c4f46b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Tue, 30 May 2023 20:24:08 +0200 Subject: [PATCH] Add helix configuration --- dotfiles.yml | 3 +++ helix/config.toml | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 helix/config.toml diff --git a/dotfiles.yml b/dotfiles.yml index 4aa4baf..a4d7c10 100644 --- a/dotfiles.yml +++ b/dotfiles.yml @@ -12,6 +12,7 @@ empty_directories: - name: .config/i3status-rust - name: .config/i3status-rust/icons - name: .config/i3status-rust/themes + - name: .config/helix dotfiles: - from: git/gitconfig to: .gitconfig @@ -86,3 +87,5 @@ dotfiles: to: .screencfg - from: scripts to: scripts + - from: helix/config.toml + to: .config/helix/config.toml diff --git a/helix/config.toml b/helix/config.toml new file mode 100644 index 0000000..8dfcd5e --- /dev/null +++ b/helix/config.toml @@ -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"