first commit
This commit is contained in:
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
conversations
|
||||||
|
prompts
|
||||||
|
embeddings
|
||||||
3
.tmpGsBcam
Normal file
3
.tmpGsBcam
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{"signed_in":false,"type":"Setting","setting":"theme","value":"One Dark","milliseconds_since_first_event":0}
|
||||||
|
{"signed_in":false,"type":"Setting","setting":"keymap","value":"VSCode","milliseconds_since_first_event":0}
|
||||||
|
{"signed_in":false,"type":"App","operation":"open","milliseconds_since_first_event":0}
|
||||||
3
.tmpsmM1yY
Normal file
3
.tmpsmM1yY
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{"signed_in":false,"type":"Setting","setting":"theme","value":"One Dark","milliseconds_since_first_event":0}
|
||||||
|
{"signed_in":false,"type":"Setting","setting":"keymap","value":"VSCode","milliseconds_since_first_event":0}
|
||||||
|
{"signed_in":false,"type":"App","operation":"first open","milliseconds_since_first_event":0}
|
||||||
90
keymap.json
Normal file
90
keymap.json
Normal file
@@ -0,0 +1,90 @@
|
|||||||
|
// Zed keymap
|
||||||
|
//
|
||||||
|
// For information on binding keys, see the Zed
|
||||||
|
// documentation: https://zed.dev/docs/key-bindings
|
||||||
|
// To see the default key bindings run `zed: Open Default Keymap`
|
||||||
|
// from the command palette.
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"context": "Workspace",
|
||||||
|
"bindings": {
|
||||||
|
// "shift shift": "file_finder::Toggle"
|
||||||
|
"ctrl-h": [
|
||||||
|
"workspace::ActivatePaneInDirection",
|
||||||
|
"Left"
|
||||||
|
],
|
||||||
|
"ctrl-l": [
|
||||||
|
"workspace::ActivatePaneInDirection",
|
||||||
|
"Right"
|
||||||
|
],
|
||||||
|
"ctrl-k": [
|
||||||
|
"workspace::ActivatePaneInDirection",
|
||||||
|
"Up"
|
||||||
|
],
|
||||||
|
"ctrl-j": [
|
||||||
|
"workspace::ActivatePaneInDirection",
|
||||||
|
"Down"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "Editor",
|
||||||
|
"bindings": {
|
||||||
|
// "j k": ["workspace::SendKeystrokes", "escape"]
|
||||||
|
"ctrl-t": "workspace::NewFile",
|
||||||
|
"ctrl-w": "pane::CloseActiveItem",
|
||||||
|
"ctrl-W": "pane::CloseAllItems"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "Editor && vim_mode == insert",
|
||||||
|
"bindings": {
|
||||||
|
"j k": [
|
||||||
|
"workspace::SendKeystrokes",
|
||||||
|
"escape"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "Editor && vim_mode == normal",
|
||||||
|
"bindings": {
|
||||||
|
"space x": "pane::CloseActiveItem",
|
||||||
|
"space X": "pane::CloseAllItems",
|
||||||
|
"space b": "workspace::NewFile",
|
||||||
|
"shift-tab": "pane::ActivatePrevItem",
|
||||||
|
"tab": "pane::ActivateNextItem",
|
||||||
|
"ctrl-h": [
|
||||||
|
"workspace::ActivatePaneInDirection",
|
||||||
|
"Left"
|
||||||
|
],
|
||||||
|
"ctrl-l": [
|
||||||
|
"workspace::ActivatePaneInDirection",
|
||||||
|
"Right"
|
||||||
|
],
|
||||||
|
"ctrl-k": [
|
||||||
|
"workspace::ActivatePaneInDirection",
|
||||||
|
"Up"
|
||||||
|
],
|
||||||
|
"ctrl-j": [
|
||||||
|
"workspace::ActivatePaneInDirection",
|
||||||
|
"Down"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "Terminal",
|
||||||
|
"bindings": {
|
||||||
|
"ctrl-t": "workspace::NewTerminal",
|
||||||
|
"ctrl-w": "pane::CloseActiveItem"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "Editor && vim_mode == normal && vim_operator == none && !VimWaiting",
|
||||||
|
"bindings": {
|
||||||
|
"space g g": [
|
||||||
|
"workspace::SendKeystrokes",
|
||||||
|
"alt-shift-t enter"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
233
settings.json
Normal file
233
settings.json
Normal file
@@ -0,0 +1,233 @@
|
|||||||
|
// 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 `zed: Open Default Settings` command
|
||||||
|
// from the command palette
|
||||||
|
{
|
||||||
|
"assistant": {
|
||||||
|
"enabled": false,
|
||||||
|
"button": true,
|
||||||
|
"dock": "right",
|
||||||
|
"default_width": 640,
|
||||||
|
"default_height": 320,
|
||||||
|
"provider": "openai",
|
||||||
|
"version": "2",
|
||||||
|
"default_model": {
|
||||||
|
"provider": "openai",
|
||||||
|
"model": "gpt-4o"
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"always_treat_brackets_as_autoclosed": false,
|
||||||
|
"base_keymap": "VSCode",
|
||||||
|
"ui_font_size": 14,
|
||||||
|
"ui_font_family": "JetBrainsMonoNL Nerd Font Mono",
|
||||||
|
"buffer_font_size": 14,
|
||||||
|
"buffer_font_family": "JetBrainsMonoNL Nerd Font Mono",
|
||||||
|
"buffer_font_weight": 400,
|
||||||
|
"buffer_line_height": "comfortable",
|
||||||
|
"confirm_quit": false,
|
||||||
|
"current_line_highlight": "all",
|
||||||
|
"cursor_blink": true,
|
||||||
|
"cursor_shape": "bar",
|
||||||
|
"collaboration_panel": {
|
||||||
|
"button": false
|
||||||
|
},
|
||||||
|
"chat_panel": {
|
||||||
|
"button": false
|
||||||
|
},
|
||||||
|
"features": {
|
||||||
|
"inline_completion_provider": "none"
|
||||||
|
},
|
||||||
|
"format_on_save": "on",
|
||||||
|
"formatter": "language_server",
|
||||||
|
"enable_language_server": true,
|
||||||
|
"languages": {
|
||||||
|
"JSON": {
|
||||||
|
"tab_size": 4
|
||||||
|
},
|
||||||
|
"JavaScript": {
|
||||||
|
"formatter": {
|
||||||
|
"external": {
|
||||||
|
"command": "prettier",
|
||||||
|
"arguments": [
|
||||||
|
"--stdin-filepath",
|
||||||
|
"{buffer_path}"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"TypeScript": {
|
||||||
|
"language_servers": [
|
||||||
|
"typescript-language-server",
|
||||||
|
"!vtsls"
|
||||||
|
],
|
||||||
|
"formatter": {
|
||||||
|
"external": {
|
||||||
|
"command": "prettier",
|
||||||
|
"arguments": [
|
||||||
|
"--stdin-filepath",
|
||||||
|
"{buffer_path}"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"code_actions_on_format": {
|
||||||
|
"source.organizeImports": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"TSX": {
|
||||||
|
"language_servers": [
|
||||||
|
"typescript-language-server",
|
||||||
|
"!vtsls"
|
||||||
|
],
|
||||||
|
"formatter": {
|
||||||
|
"external": {
|
||||||
|
"command": "prettier",
|
||||||
|
"arguments": [
|
||||||
|
"--stdin-filepath",
|
||||||
|
"{buffer_path}"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"code_actions_on_format": {
|
||||||
|
"source.organizeImports": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"file_types": {
|
||||||
|
"Dockerfile": [
|
||||||
|
"Dockerfile*"
|
||||||
|
],
|
||||||
|
"CSS": [
|
||||||
|
"CSS"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"git": {
|
||||||
|
"git_gutter": "tracked_files",
|
||||||
|
"inline_blame": {
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hard_tabs": false,
|
||||||
|
"indent_guides": {
|
||||||
|
"enabled": true,
|
||||||
|
"line_width": 1,
|
||||||
|
"active_line_width": 2,
|
||||||
|
"coloring": "fixed",
|
||||||
|
"background_coloring": "disabled"
|
||||||
|
},
|
||||||
|
"inlay_hints": {
|
||||||
|
"enabled": false,
|
||||||
|
"show_type_hints": true,
|
||||||
|
"show_parameter_hints": true,
|
||||||
|
"show_other_hints": true,
|
||||||
|
"show_background": false,
|
||||||
|
"edit_debounce_ms": 700,
|
||||||
|
"scroll_debounce_ms": 50
|
||||||
|
},
|
||||||
|
"outline_panel": {
|
||||||
|
"button": true,
|
||||||
|
"default_width": 240,
|
||||||
|
"dock": "left",
|
||||||
|
"file_icons": true,
|
||||||
|
"folder_icons": true,
|
||||||
|
"git_status": true,
|
||||||
|
"indent_size": 20,
|
||||||
|
"auto_reveal_entries": true,
|
||||||
|
"auto_fold_dirs": true
|
||||||
|
},
|
||||||
|
"preview_tabs": {
|
||||||
|
"enabled": false,
|
||||||
|
"enable_preview_from_file_finder": false,
|
||||||
|
"enable_preview_from_code_navigation": false,
|
||||||
|
},
|
||||||
|
"project_panel": {
|
||||||
|
"button": true,
|
||||||
|
"default_width": 240,
|
||||||
|
"dock": "left",
|
||||||
|
"file_icons": true,
|
||||||
|
"folder_icons": true,
|
||||||
|
"git_status": true,
|
||||||
|
"indent_size": 20,
|
||||||
|
"auto_reveal_entries": true,
|
||||||
|
"auto_fold_dirs": true
|
||||||
|
},
|
||||||
|
"relative_line_numbers": true,
|
||||||
|
"search": {
|
||||||
|
"whole_word": false,
|
||||||
|
"case_sensitive": false,
|
||||||
|
"include_ignored": false,
|
||||||
|
"regex": true
|
||||||
|
},
|
||||||
|
"show_wrap_guides": true,
|
||||||
|
"wrap_guides": [
|
||||||
|
80
|
||||||
|
],
|
||||||
|
"scrollbar": {
|
||||||
|
"show": "auto",
|
||||||
|
"cursors": true,
|
||||||
|
"git_diff": true,
|
||||||
|
"search_results": true,
|
||||||
|
"selected_symbol": true,
|
||||||
|
"diagnostics": true
|
||||||
|
},
|
||||||
|
"soft_wrap": "editor_width",
|
||||||
|
"tab_bar": {
|
||||||
|
"show": true,
|
||||||
|
"show_nav_history_buttons": false
|
||||||
|
},
|
||||||
|
"tabs": {
|
||||||
|
"close_position": "right",
|
||||||
|
"file_icons": true,
|
||||||
|
"git_status": true
|
||||||
|
},
|
||||||
|
"toolbar": {
|
||||||
|
"breadcrumbs": true,
|
||||||
|
"quick_actions": true
|
||||||
|
},
|
||||||
|
"telemetry": {
|
||||||
|
"diagnostics": false,
|
||||||
|
"metrics": false
|
||||||
|
},
|
||||||
|
"terminal": {
|
||||||
|
"alternate_scroll": "off",
|
||||||
|
"blinking": "terminal_controlled",
|
||||||
|
"copy_on_select": false,
|
||||||
|
"dock": "bottom",
|
||||||
|
"detect_venv": {
|
||||||
|
"on": {
|
||||||
|
"directories": [
|
||||||
|
".env",
|
||||||
|
"env",
|
||||||
|
".venv",
|
||||||
|
"venv"
|
||||||
|
],
|
||||||
|
"activate_script": "default"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"ZED": "1",
|
||||||
|
"EXAMPLE": "value1:value2"
|
||||||
|
},
|
||||||
|
"font_family": null,
|
||||||
|
"font_features": null,
|
||||||
|
"font_size": 14,
|
||||||
|
"line_height": "comfortable",
|
||||||
|
"option_as_meta": true,
|
||||||
|
"button": true,
|
||||||
|
"shell": "system",
|
||||||
|
"toolbar": {
|
||||||
|
"title": true
|
||||||
|
},
|
||||||
|
"working_directory": "current_project_directory"
|
||||||
|
},
|
||||||
|
"theme": {
|
||||||
|
"mode": "light",
|
||||||
|
"light": "Solarized Light",
|
||||||
|
"dark": "One Dark"
|
||||||
|
},
|
||||||
|
"unnecessary_code_fade": 0.0,
|
||||||
|
"vim_mode": true,
|
||||||
|
}
|
||||||
53
tasks.json
Normal file
53
tasks.json
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
// Static tasks configuration.
|
||||||
|
//
|
||||||
|
// Example:
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"label": "Example task",
|
||||||
|
"command": "for i in {1..5}; do echo \"Hello $i/5\"; sleep 1; done",
|
||||||
|
//"args": [],
|
||||||
|
// Env overrides for the command, will be appended to the terminal's environment from the settings.
|
||||||
|
"env": {
|
||||||
|
"foo": "bar"
|
||||||
|
},
|
||||||
|
// Current working directory to spawn the command into, defaults to current project root.
|
||||||
|
//"cwd": "/path/to/working/directory",
|
||||||
|
// Whether to use a new terminal tab or reuse the existing one to spawn the process, defaults to `false`.
|
||||||
|
"use_new_terminal": false,
|
||||||
|
// Whether to allow multiple instances of the same task to be run, or rather wait for the existing ones to finish, defaults to `false`.
|
||||||
|
"allow_concurrent_runs": false,
|
||||||
|
// What to do with the terminal pane and tab, after the command was started:
|
||||||
|
// * `always` — always show the terminal pane, add and focus the corresponding task's tab in it (default)
|
||||||
|
// * `never` — avoid changing current terminal pane focus, but still add/reuse the task's tab there
|
||||||
|
"reveal": "always",
|
||||||
|
// What to do with the terminal pane and tab, after the command had finished:
|
||||||
|
// * `never` — Do nothing when the command finishes (default)
|
||||||
|
// * `always` — always hide the terminal tab, hide the pane also if it was the last tab in it
|
||||||
|
// * `on_success` — hide the terminal tab on task success only, otherwise behaves similar to `always`
|
||||||
|
"hide": "never",
|
||||||
|
// Which shell to use when running a task inside the terminal.
|
||||||
|
// May take 3 values:
|
||||||
|
// 1. (default) Use the system's default terminal configuration in /etc/passwd
|
||||||
|
// "shell": "system"
|
||||||
|
// 2. A program:
|
||||||
|
// "shell": {
|
||||||
|
// "program": "sh"
|
||||||
|
// }
|
||||||
|
// 3. A program with arguments:
|
||||||
|
// "shell": {
|
||||||
|
// "with_arguments": {
|
||||||
|
// "program": "/bin/bash",
|
||||||
|
// "args": ["--login"]
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
"shell": "system",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Lazygit",
|
||||||
|
"command": "lazygit",
|
||||||
|
"args": [],
|
||||||
|
"env": {},
|
||||||
|
"use_new_terminal": true,
|
||||||
|
"allow_concurrent_runs": false
|
||||||
|
}
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user