zed config changes
This commit is contained in:
+29
-13
@@ -1,12 +1,7 @@
|
|||||||
// Zed settings
|
|
||||||
//
|
|
||||||
// For information on how to configure Zed, see the Zed
|
|
||||||
// documentation: https://zed.dev/docs/configuring-zed
|
|
||||||
//
|
|
||||||
// To see all of Zed's default settings without changing your
|
|
||||||
// custom settings, run the `open default settings` command
|
|
||||||
// from the command palette or from `Zed` application menu.
|
|
||||||
{
|
{
|
||||||
|
"outline_panel": {
|
||||||
|
"dock": "right"
|
||||||
|
},
|
||||||
"telemetry": {
|
"telemetry": {
|
||||||
"diagnostics": true,
|
"diagnostics": true,
|
||||||
"metrics": false
|
"metrics": false
|
||||||
@@ -28,15 +23,17 @@
|
|||||||
"theme": {
|
"theme": {
|
||||||
"mode": "system",
|
"mode": "system",
|
||||||
"light": "Ayu Light",
|
"light": "Ayu Light",
|
||||||
"dark": "Catppuccin Mocha"
|
"dark": "Ayu Mirage"
|
||||||
},
|
},
|
||||||
"scrollbar": {
|
"scrollbar": {
|
||||||
"show": "never"
|
"show": "system"
|
||||||
},
|
},
|
||||||
"ui_font_family": "Hasklig",
|
"scroll_beyond_last_line": "vertical_scroll_margin",
|
||||||
|
"vertical_scroll_margin": 20,
|
||||||
|
"ui_font_family": "Rec Mono Semicasual",
|
||||||
"ui_font_features": {},
|
"ui_font_features": {},
|
||||||
"ui_font_size": 17,
|
"ui_font_size": 17,
|
||||||
"buffer_font_family": "Hasklig",
|
"buffer_font_family": "Rec Mono Semicasual",
|
||||||
"buffer_font_size": 15,
|
"buffer_font_size": 15,
|
||||||
"terminal": {
|
"terminal": {
|
||||||
"font_family": "FiraCode Nerd Font Mono"
|
"font_family": "FiraCode Nerd Font Mono"
|
||||||
@@ -44,7 +41,8 @@
|
|||||||
"relative_line_numbers": true,
|
"relative_line_numbers": true,
|
||||||
"soft_wrap": "editor_width",
|
"soft_wrap": "editor_width",
|
||||||
"tabs": {
|
"tabs": {
|
||||||
"close_position": "left"
|
"close_position": "left",
|
||||||
|
"git_status": true
|
||||||
},
|
},
|
||||||
"notification_panel": {
|
"notification_panel": {
|
||||||
"button": false
|
"button": false
|
||||||
@@ -52,9 +50,27 @@
|
|||||||
"git": {
|
"git": {
|
||||||
"git_gutter": "tracked_files"
|
"git_gutter": "tracked_files"
|
||||||
},
|
},
|
||||||
|
"indent_guides": {
|
||||||
|
"enabled": true,
|
||||||
|
"coloring": "indent_aware"
|
||||||
|
},
|
||||||
|
"wrap_guides": [80],
|
||||||
"languages": {
|
"languages": {
|
||||||
"Go": {
|
"Go": {
|
||||||
"tab_size": 2
|
"tab_size": 2
|
||||||
|
},
|
||||||
|
"Astro": {
|
||||||
|
"tab_size": 2
|
||||||
|
},
|
||||||
|
"TypeScript": {
|
||||||
|
"code_actions_on_format": {
|
||||||
|
"source.organizeImports": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"TSX": {
|
||||||
|
"code_actions_on_format": {
|
||||||
|
"source.organizeImports": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"project_panel": {
|
"project_panel": {
|
||||||
|
|||||||
@@ -23,5 +23,5 @@ alias brewfile="brew bundle dump --file=~/dotfiles/Brewfile --force --"
|
|||||||
alias installbrewfile="brew bundle install --file=~/dotfiles/Brewfile"
|
alias installbrewfile="brew bundle install --file=~/dotfiles/Brewfile"
|
||||||
|
|
||||||
# dotfiles
|
# dotfiles
|
||||||
alias config="bbedit ~/dotfiles"
|
alias config="zed ~/dotfiles"
|
||||||
alias linkdfs="sh ~/dotfiles/symlink_dotfiles.zsh"
|
alias linkdfs="sh ~/dotfiles/symlink_dotfiles.zsh"
|
||||||
|
|||||||
+4
-3
@@ -1,3 +1,7 @@
|
|||||||
|
if [ "$TERM_PROGRAM" != "Apple_Terminal" ]; then
|
||||||
|
eval "$(oh-my-posh init zsh --config ~/dotfiles/misc_config/ohmyposh.json)"
|
||||||
|
fi
|
||||||
|
|
||||||
source $(brew --prefix nvm)/nvm.sh
|
source $(brew --prefix nvm)/nvm.sh
|
||||||
|
|
||||||
# Load seperated config files
|
# Load seperated config files
|
||||||
@@ -8,9 +12,6 @@ unset conf
|
|||||||
|
|
||||||
[[ "$TERM_PROGRAM" == "CodeEditApp_Terminal" ]] && . "/Applications/CodeEdit.app/Contents/Resources/codeedit_shell_integration.zsh"
|
[[ "$TERM_PROGRAM" == "CodeEditApp_Terminal" ]] && . "/Applications/CodeEdit.app/Contents/Resources/codeedit_shell_integration.zsh"
|
||||||
|
|
||||||
if [ "$TERM_PROGRAM" != "Apple_Terminal" ]; then
|
|
||||||
eval "$(oh-my-posh init zsh --config ~/dotfiles/misc_config/ohmyposh.json)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
eval $(thefuck --alias)
|
eval $(thefuck --alias)
|
||||||
eval "$(zoxide init zsh)"
|
eval "$(zoxide init zsh)"
|
||||||
|
|||||||
Reference in New Issue
Block a user