Helix: update to 23.05 & update config
- Exclude `gd` in `gr` - Show LSP messages - Map `space.u` to `:update`
This commit is contained in:
parent
c498f0604e
commit
4cabbfbcfc
@ -19,8 +19,9 @@ if [ -d ~/.config/helix ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
rm -rf helix-git
|
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
|
cd helix-git
|
||||||
|
git checkout 7f5940be80eaa3aec7903903072b7108f41dd97b
|
||||||
cargo install -f --locked --path helix-term
|
cargo install -f --locked --path helix-term
|
||||||
mkdir -p ~/.config/helix
|
mkdir -p ~/.config/helix
|
||||||
rm -rf runtime/grammars/sources
|
rm -rf runtime/grammars/sources
|
||||||
@ -30,24 +31,29 @@ rm -rf helix-git
|
|||||||
cat > ~/.config/helix/config.toml << 'EOF'
|
cat > ~/.config/helix/config.toml << 'EOF'
|
||||||
theme = "monokai_pro_ristretto"
|
theme = "monokai_pro_ristretto"
|
||||||
|
|
||||||
|
[keys.normal]
|
||||||
|
space.z = ":reflow 100"
|
||||||
|
space.i = ":toggle lsp.display-inlay-hints"
|
||||||
|
space.u = ":update"
|
||||||
|
|
||||||
[editor]
|
[editor]
|
||||||
auto-pairs = false
|
auto-pairs = false
|
||||||
bufferline = "multiple"
|
bufferline = "multiple"
|
||||||
rulers = [101]
|
rulers = [101]
|
||||||
|
|
||||||
|
[editor.lsp]
|
||||||
|
display-messages = true
|
||||||
|
goto-reference-include-declaration = false
|
||||||
|
|
||||||
|
[editor.soft-wrap]
|
||||||
|
enable = true
|
||||||
|
|
||||||
[editor.statusline]
|
[editor.statusline]
|
||||||
left = ["mode", "spinner", "file-name"]
|
left = ["mode", "spinner", "file-name"]
|
||||||
center = ["position-percentage"]
|
center = ["position-percentage"]
|
||||||
right = [
|
right = [
|
||||||
"version-control", "diagnostics", "selections", "position", "file-encoding", "file-line-ending"
|
"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
|
EOF
|
||||||
cat > ~/.config/helix/languages.toml << 'EOF'
|
cat > ~/.config/helix/languages.toml << 'EOF'
|
||||||
[editor]
|
[editor]
|
||||||
|
Loading…
Reference in New Issue
Block a user