update zed config

This commit is contained in:
wooshdude
2025-04-18 12:24:22 -07:00
parent f7473eadd7
commit f1272587ed
2 changed files with 51 additions and 35 deletions
+42 -35
View File
@@ -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"
}
}
}
} }
+9
View File
@@ -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"
}