update zed config
This commit is contained in:
@@ -7,39 +7,46 @@
|
|||||||
// custom settings, run zed: open default settings from the
|
// custom settings, run zed: open default settings from the
|
||||||
// command palette (cmd-shift-p / ctrl-shift-p)
|
// command palette (cmd-shift-p / ctrl-shift-p)
|
||||||
{
|
{
|
||||||
"vim_mode": true,
|
"vim_mode": true,
|
||||||
"scrollbar": {
|
"scrollbar": {
|
||||||
"show": "never"
|
"show": "never"
|
||||||
},
|
},
|
||||||
"vim": {
|
"vim": {
|
||||||
"toggle_relative_line_numbers": true
|
"toggle_relative_line_numbers": true
|
||||||
},
|
},
|
||||||
"features": {
|
"features": {
|
||||||
"copilot": false,
|
"copilot": false,
|
||||||
"inline_completion_provider": "none"
|
"edit_prediction_provider": "none"
|
||||||
},
|
},
|
||||||
"show_completions_on_input": true,
|
"show_completions_on_input": true,
|
||||||
"assistant": {
|
"assistant": {
|
||||||
"version": "2",
|
"version": "2",
|
||||||
"enabled": false
|
"enabled": false
|
||||||
},
|
},
|
||||||
"inlay_hints": {
|
"inlay_hints": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"show_type_hints": true,
|
"show_type_hints": true,
|
||||||
"show_parameter_hints": true,
|
"show_parameter_hints": true,
|
||||||
"show_other_hints": true
|
"show_other_hints": true
|
||||||
},
|
},
|
||||||
"show_inline_completions": true,
|
"show_edit_predictions": true,
|
||||||
"ui_font_size": 16,
|
"ui_font_size": 16,
|
||||||
"buffer_font_size": 16,
|
"buffer_font_size": 16,
|
||||||
"theme": {
|
"theme": {
|
||||||
"mode": "dark",
|
"mode": "dark",
|
||||||
"light": "Catppuccin Latte",
|
"light": "Catppuccin Latte",
|
||||||
"dark": "Catppuccin Mocha"
|
"dark": "Catppuccin Mocha"
|
||||||
},
|
},
|
||||||
"ui_font_family": "JetBrainsMono Nerd Font Mono",
|
"ui_font_family": "JetBrainsMono Nerd Font Mono",
|
||||||
"terminal": {
|
"terminal": {
|
||||||
"font_family": "JetBrainsMono Nerd Font Mono"
|
"font_family": "JetBrainsMono Nerd Font Mono"
|
||||||
},
|
},
|
||||||
"hard_tabs": true
|
"hard_tabs": true,
|
||||||
|
"lsp": {
|
||||||
|
"omnisharp": {
|
||||||
|
"binary": {
|
||||||
|
"path": "/usr/local/bin/dotnet"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,3 +5,12 @@ alias pip="python3 -m pip"
|
|||||||
alias border="sh border"
|
alias border="sh border"
|
||||||
alias lvim="~/.local/bin/lvim"
|
alias lvim="~/.local/bin/lvim"
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
|
|
||||||
|
function yy() {
|
||||||
|
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")"
|
||||||
|
yazi "$@" --cwd-file="$tmp"
|
||||||
|
if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
|
||||||
|
cd -- "$cwd"
|
||||||
|
fi
|
||||||
|
rm -f -- "$tmp"
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user