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
|
||||
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]
|
||||
|
Loading…
Reference in New Issue
Block a user