From 4cabbfbcfc0b3aa76889b53f6b58099abe92be53 Mon Sep 17 00:00:00 2001 From: DuckDuckWhale Date: Mon, 22 May 2023 00:21:56 -0700 Subject: [PATCH] Helix: update to 23.05 & update config - Exclude `gd` in `gr` - Show LSP messages - Map `space.u` to `:update` --- manual/helix/helix | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/manual/helix/helix b/manual/helix/helix index 9dc5bae..5604c30 100755 --- a/manual/helix/helix +++ b/manual/helix/helix @@ -19,8 +19,9 @@ if [ -d ~/.config/helix ]; then fi fi rm -rf helix-git -git clone --depth 1 --branch 23.03 https://github.com/helix-editor/helix helix-git +git clone --single-branch https://github.com/helix-editor/helix helix-git cd helix-git +git checkout 7f5940be80eaa3aec7903903072b7108f41dd97b cargo install -f --locked --path helix-term mkdir -p ~/.config/helix rm -rf runtime/grammars/sources @@ -30,24 +31,29 @@ rm -rf helix-git cat > ~/.config/helix/config.toml << 'EOF' theme = "monokai_pro_ristretto" +[keys.normal] +space.z = ":reflow 100" +space.i = ":toggle lsp.display-inlay-hints" +space.u = ":update" + [editor] auto-pairs = false bufferline = "multiple" rulers = [101] +[editor.lsp] +display-messages = true +goto-reference-include-declaration = false + +[editor.soft-wrap] +enable = true + [editor.statusline] left = ["mode", "spinner", "file-name"] center = ["position-percentage"] right = [ "version-control", "diagnostics", "selections", "position", "file-encoding", "file-line-ending" ] - -[keys.normal] -space.z = ":reflow 100" -space.i = ":toggle lsp.display-inlay-hints" - -[editor.soft-wrap] -enable = true EOF cat > ~/.config/helix/languages.toml << 'EOF' [editor]