Introduction of Zed editor.

This commit is contained in:
Bartek Stalewski 2024-08-13 12:54:31 +02:00
parent 0b7446cafa
commit eee5515324
Signed by: ftpd
SSH Key Fingerprint: SHA256:vGQiaNJcfUMLt3wF58+Zx15C6SpRDA9spUeggjVY8Yo
3 changed files with 78 additions and 0 deletions

4
.gitignore vendored
View File

@ -6,3 +6,7 @@
**/qtile/custom.py **/qtile/custom.py
**/qtile/autostart.sh **/qtile/autostart.sh
**/qtile/autostop.sh **/qtile/autostop.sh
**/zed/.tmp*
**/zed/embeddings
**/zed/keymap.json
**/zed/prompts

70
config/zed/settings.json Normal file
View File

@ -0,0 +1,70 @@
{
"assistant": {
"enabled": false,
"button": false,
"version": "2"
},
"buffer_font_family": "RobotoMono Nerd Font",
"buffer_font_size": 14,
"chat_panel": {
"button": false
},
"collaboration_panel": {
"button": false
},
"cursor_blink": false,
"ensure_final_newline_on_save": false,
"features": {
"inline_completion_provider": "none"
},
"file_types": {
"YAML": ["gotmpl"]
},
"git": {
"inline_blame": {
"enabled": false
}
},
"notification_panel": {
"button": false
},
"outline_panel": {
"button": false
},
"projects_online_by_default": false,
"remove_trailing_whitespace_on_save": true,
"show_call_status-icon": false,
"tabs": {
"file_icons": true,
"git_status": true
},
"tab_bar": {
"show_nav_history_buttons": false
},
"telemetry": {
"diagnostics": false,
"metrics": false
},
"terminal": {
"blinking": "off",
"button": false,
"copy_on_select": true,
"font_family": "RobotoMono Nerd Font",
"font_size": 14,
"toolbar": {
"title": false
},
"working_directory": "first_project_directory"
},
"theme": {
"dark": "Gruvbox Dark Hard",
"light": "Gruvbox Dark Hard",
"mode": "system"
},
"toolbar": {
"breadcrumbs": false,
"quick_actions": false
},
"vim_mode": true,
"ui_font_size": 16
}

View File

@ -44,6 +44,10 @@ elif [ $(command -v vim) ] ; then
else else
export EDITOR=vi export EDITOR=vi
fi fi
if [ $(command -v zed) ]; then
export EDITOR="zed -w"
alias vim=zed
fi
if [[ $(command -v rg) ]]; then if [[ $(command -v rg) ]]; then
alias grep='rg -i' alias grep='rg -i'