Compare commits

..

10 Commits

12 changed files with 935 additions and 347 deletions

9
README.md Normal file
View File

@@ -0,0 +1,9 @@
## Deps
### Preview docs
- `fswatch`:
- `$ yay -S fswatch`
- `$ brew install fswatch`
- `surf`: lightweight browser
- `# port install surf`

View File

@@ -1,7 +1,7 @@
// ╭───────────────────────────────╮ // ╭───────────────────────────────
// │- Zed editor keys │ // │- Zed editor keys -
// │- author: Daniel Heras Quesada │ // │- author: Daniel Heras Quesada -
// ╰───────────────────────────────╯ // ╰───────────────────────────────
[ [
{ {
"context": "Workspace", "context": "Workspace",
@@ -10,20 +10,31 @@
"ctrl-l": "workspace::ActivatePaneRight", "ctrl-l": "workspace::ActivatePaneRight",
"ctrl-k": "workspace::ActivatePaneUp", "ctrl-k": "workspace::ActivatePaneUp",
"ctrl-j": "workspace::ActivatePaneDown", "ctrl-j": "workspace::ActivatePaneDown",
"cmd-shift-f": "file_finder::Toggle", "ctrl-shift-f": "file_finder::Toggle",
"cmd-r": "task::Spawn", "ctrl-x": "task::Spawn",
"cmd-shift-r": "task::Rerun" "ctrl-shift-x": "task::Rerun",
"ctrl-p": "projects::OpenRecent"
} }
}, },
{ {
"context": "Editor", "context": "Editor",
"bindings": { "bindings": {
// "j k": ["workspace::SendKeystrokes", "escape"] // "j k": ["workspace::SendKeystrokes", "escape"],
"ctrl-h": "workspace::ActivatePaneLeft",
"ctrl-l": "workspace::ActivatePaneRight",
"ctrl-k": "workspace::ActivatePaneUp",
"ctrl-j": "workspace::ActivatePaneDown",
"ctrl-t": "workspace::NewFile", "ctrl-t": "workspace::NewFile",
"ctrl-w": "pane::CloseActiveItem", "ctrl-w": "pane::CloseActiveItem",
"ctrl-W": "pane::CloseAllItems", "ctrl-W": "pane::CloseAllItems",
"ctrl-n": "workspace::ToggleLeftDock",
"ctrl-x": "workspace::ToggleRightDock", "ctrl-n": "project_panel::ToggleFocus",
"ctrl-a": "outline_panel::ToggleFocus",
"ctrl-g": "git_panel::ToggleFocus",
"ctrl-p": "projects::OpenRecent",
"ctrl-x": "task::Spawn",
"ctrl-z": "workspace::ToggleBottomDock", "ctrl-z": "workspace::ToggleBottomDock",
"ctrl-m": "workspace::ToggleCenteredLayout", "ctrl-m": "workspace::ToggleCenteredLayout",
"ctrl-shift-l": "pane::SplitRight", "ctrl-shift-l": "pane::SplitRight",
@@ -41,39 +52,72 @@
// ] // ]
} }
}, },
{
"context": "OutlinePanel",
"bindings": {
"ctrl-a": "workspace::ToggleLeftDock",
"ctrl-n": "project_panel::ToggleFocus",
"ctrl-g": "git_panel::ToggleFocus"
}
},
{ {
"context": "ProjectPanel", "context": "ProjectPanel",
"bindings": { "bindings": {
"ctrl-n": "workspace::ToggleLeftDock" "ctrl-n": "workspace::ToggleLeftDock",
"ctrl-a": "outline_panel::ToggleFocus",
"ctrl-g": "git_panel::ToggleFocus",
"f12": "project_panel::Rename",
"shift-enter": "project_panel::OpenWithSystem",
"/": "project_panel::NewSearchInDirectory"
}
},
{
"context": "GitPanel",
"bindings": {
"ctrl-g": "workspace::ToggleLeftDock",
"ctrl-a": "outline_panel::ToggleFocus",
"ctrl-n": "project_panel::ToggleFocus"
}
},
{
"context": "ProjectPanel && not_editing",
"bindings": {
"d": "project_panel::Delete",
"c": "project_panel::Copy",
"r": "project_panel::Rename",
"x": "project_panel::Cut",
"y": "workspace::CopyRelativePath",
"a": "project_panel::NewFile",
"A": "project_panel::NewDirectory"
} }
}, },
{ {
"context": "Editor && (showing_code_actions || showing_completions)", "context": "Editor && (showing_code_actions || showing_completions)",
"bindings": { "bindings": {
"up": "editor::ContextMenuPrev", "up": "editor::ContextMenuPrevious",
"ctrl-p": "editor::ContextMenuPrev", "ctrl-p": "editor::ContextMenuPrevious",
"down": "editor::ContextMenuNext", "down": "editor::ContextMenuNext",
"ctrl-n": "editor::ContextMenuNext", "ctrl-n": "editor::ContextMenuNext",
"pageup": "editor::ContextMenuFirst", "pageup": "editor::ContextMenuFirst",
"pagedown": "editor::ContextMenuLast", "pagedown": "editor::ContextMenuLast",
"tab": "editor::ContextMenuNext", "tab": "editor::ContextMenuNext",
"shift-tab": "editor::ContextMenuPrev" "shift-tab": "editor::ContextMenuPrevious"
} }
}, },
{ {
"context": "Editor && vim_mode == normal", "context": "Editor && vim_mode == normal",
"bindings": { "bindings": {
"shift-tab": "pane::ActivatePreviousItem",
"tab": "pane::ActivateNextItem",
"space a": "outline::Toggle",
"space r": "editor::Rename",
"space x": "pane::CloseActiveItem", "space x": "pane::CloseActiveItem",
"space X": "pane::CloseAllItems", "space X": "pane::CloseAllItems",
"space b": "workspace::NewFile", "space g": "git_panel::ToggleFocus",
"space f f": "file_finder::Toggle", "space f a": "pane::DeploySearch",
"space space": "file_finder::Toggle", "space f w": "project_symbols::Toggle",
"shift-tab": "pane::ActivatePrevItem", "space space": "file_finder::Toggle"
"tab": "pane::ActivateNextItem",
"ctrl-h": "workspace::ActivatePaneLeft",
"ctrl-l": "workspace::ActivatePaneRight",
"ctrl-k": "workspace::ActivatePaneUp",
"ctrl-j": "workspace::ActivatePaneDown"
} }
}, },
{ {

View File

@@ -1,283 +1,312 @@
// ╭───────────────────────────────╮ // ╭───────────────────────────────
// │- Zed editor settings │ // │- Zed editor settings -
// │- author: Daniel Heras Quesada │ // │- author: Daniel Heras Quesada -
// ╰───────────────────────────────╯ // ╰───────────────────────────────
{ {
// ╭─────────╮ // ╭─────────╮
// │ General │ // │ General │
// ╰─────────╯ // ╰─────────╯
"auto_update": true, "auto_update_extensions": {
"base_keymap": "VSCode", "flat-theme": false
"restore_on_startup": "last_workspace", },
// ╭─────────╮ "auto_update": true,
// │ Styling │ "base_keymap": "VSCode",
// ╰─────────╯ "restore_on_startup": "last_session",
"icon_theme": "Bearded Icon Theme", // ╭─────────╮
"theme": { // │ Styling │
"mode": "system", // ╰─────────╯
"light": "Zed Legacy: Solarized Light", "icon_theme": "Bearded Icon Theme",
"dark": "One Dark" "theme": "Ayu Mirage",
}, "unnecessary_code_fade": 0.2,
"unnecessary_code_fade": 0.2, // ╭──────╮
// ╭──────╮ // │ Font │
// │ Font │ // ╰──────╯
// ╰──────╯ "ui_font_size": 10.0,
"ui_font_size": 14, "ui_font_family": "JetBrainsMonoNL Nerd Font Mono",
"ui_font_family": "JetBrainsMonoNL Nerd Font Mono", "buffer_font_size": 10.0,
"buffer_font_size": 15.0, "buffer_font_family": "JetBrainsMonoNL Nerd Font Mono",
"buffer_font_family": "JetBrainsMonoNL Nerd Font Mono", "buffer_font_weight": 400,
"buffer_font_weight": 400, "buffer_line_height": "comfortable",
"buffer_line_height": "comfortable", // ╭────────╮
// ╭────────╮ // │ Editor │
// │ Editor │ // ╰────────╯
// ╰────────╯ "always_treat_brackets_as_autoclosed": false,
"always_treat_brackets_as_autoclosed": false, "autosave": "off",
"autosave": "off", "autoscroll_on_clicks": true,
"autoscroll_on_clicks": true, "confirm_quit": false,
"confirm_quit": false, "current_line_highlight": "all",
"current_line_highlight": "all", "cursor_blink": true,
"cursor_blink": true, "cursor_shape": "bar",
"cursor_shape": "bar", "features": {
"features": { "edit_prediction_provider": "none"
"edit_prediction_provider": "none" },
}, "tab_size": 4, // May cause errors on colaborative projects wrongly configured
"tab_size": 4, // May cause errors on colaborative projects wrongly configured "git": {
"git": { "git_gutter": "tracked_files",
"git_gutter": "tracked_files", "inline_blame": {
"inline_blame": { "enabled": true,
"enabled": true, "show_commit_summary": true
"show_commit_summary": true }
} },
}, "hard_tabs": true,
"hard_tabs": false, "hover_popover_enabled": true,
"hover_popover_enabled": true, "hover_popover_delay": 0,
"indent_guides": { "indent_guides": {
"enabled": true, "enabled": true,
"line_width": 1, "line_width": 1,
"active_line_width": 2, "active_line_width": 2,
"coloring": "fixed", "coloring": "fixed",
"background_coloring": "disabled" "background_coloring": "disabled"
}, },
"inlay_hints": { "inlay_hints": {
"enabled": false, "enabled": false,
"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_background": false, "show_background": false,
"edit_debounce_ms": 700, "edit_debounce_ms": 700,
"scroll_debounce_ms": 50 "scroll_debounce_ms": 50
}, },
"selection_highlight": true, "selection_highlight": true,
"show_wrap_guides": true, "show_wrap_guides": true,
"show_call_status_icon": true, "show_call_status_icon": true,
"show_completions_on_input": true, "show_completions_on_input": true,
"show_whitespaces": "selection", "show_whitespaces": "selection",
"wrap_guides": [80], "wrap_guides": [80],
"relative_line_numbers": true, "relative_line_numbers": "enabled",
"scrollbar": { "scrollbar": {
"show": "auto", "show": "auto",
"cursors": true, "cursors": true,
"git_diff": true, "git_diff": true,
"search_results": true, "search_results": true,
"selected_text": true, "selected_text": true,
"selected_symbol": true, "selected_symbol": true,
"diagnostics": "all", "diagnostics": "all",
"axes": { "axes": {
"horizontal": false, "horizontal": false,
"vertical": true "vertical": true
} }
}, },
"vim_mode": true, "vim_mode": true,
"soft_wrap": "editor_width", "soft_wrap": "editor_width",
// ╭────────╮ // ╭────────╮
// │ Layout │ // │ Layout │
// ╰────────╯ // ╰────────╯
"assistant": { "agent": {
"enabled": true, "enabled": false,
"button": true, "button": false,
"dock": "right", "dock": "right",
"default_width": 640, "default_width": 640,
"default_height": 320, "default_height": 320,
"provider": "openai", "default_model": {
"version": "2", "provider": "openai",
"default_model": { "model": "gpt-4-turbo"
"provider": "openai", }
"model": "gpt-4o" },
} "centered_layout": {
}, "left_padding": 0.2,
"centered_layout": { "right_padding": 0.2
"left_padding": 0.22, },
"right_padding": 0.22 "collaboration_panel": {
}, "button": false
"collaboration_panel": { },
"button": false "chat_panel": {
}, "button": "never"
"chat_panel": { },
"button": "never" "diagnostics": {
}, "button": true,
"modal_max_width": "medium", "include_warnings": true,
"outline_panel": { "inline": {
"button": true, "enabled": true,
"default_width": 240, "update_debounce_ms": 150,
"dock": "left", "padding": 4,
"file_icons": true, "min_column": 0,
"folder_icons": true, "max_severity": null
"git_status": true, },
"indent_size": 20, "cargo": null
"auto_reveal_entries": true, },
"auto_fold_dirs": true, "title_bar": {
"indent_guides": { "show_sign_in": false,
"show": "never" "show_branch_icon": true,
}, "show_project_items": true,
"scrollbar": { "show_user_picture": true,
"show": null "show_branch_name": true
} },
}, "minimap": {
"preview_tabs": { "show": "never",
"enabled": false, "thumb": "always",
"enable_preview_from_file_finder": false, "thumb_border": "left_open",
"enable_preview_from_code_navigation": false "current_line_highlight": "all"
}, },
"project_panel": { "outline_panel": {
"button": true, "button": true,
"default_width": 240, "default_width": 240,
"dock": "left", "dock": "left",
"entry_spacing": "comfortable", "file_icons": true,
"file_icons": true, "folder_icons": true,
"folder_icons": true, "git_status": true,
"git_status": true, "indent_size": 20,
"indent_size": 20, "auto_reveal_entries": true,
"auto_reveal_entries": true, "auto_fold_dirs": true,
"auto_fold_dirs": true, "indent_guides": {
"scrollbar": { "show": "never"
"show": null },
}, "scrollbar": {
"indent_guides": { "show": null
"show": "never" }
} },
}, "preview_tabs": {
// "proxy": "http://127.0.0.1:10809", "enabled": false,
"search": { "enable_preview_from_file_finder": false,
"whole_word": false, "enable_preview_from_code_navigation": false
"case_sensitive": false, },
"include_ignored": false, "project_panel": {
"regex": true "button": true,
}, "default_width": 240,
"tab_bar": { "dock": "left",
"show": true, "entry_spacing": "comfortable",
"show_nav_history_buttons": false, "file_icons": true,
"show_tab_bar_buttons": true "folder_icons": true,
}, "git_status": true,
"tabs": { "indent_size": 20,
"close_position": "right", "auto_reveal_entries": true,
"file_icons": true, "auto_fold_dirs": true,
"git_status": true, "scrollbar": {
"activate_on_close": "left_neighbour", "show": null
"always_show_close_button": false },
}, "indent_guides": {
"toolbar": { "show": "never"
"breadcrumbs": true, }
"quick_actions": true },
}, // "proxy": "http://127.0.0.1:10809",
"telemetry": { "search": {
"diagnostics": false, "whole_word": false,
"metrics": false "case_sensitive": false,
}, "include_ignored": false,
"terminal": { "button": true,
"alternate_scroll": "off", "regex": true
"blinking": "terminal_controlled", },
"copy_on_select": false, "tab_bar": {
"dock": "bottom", "show": true,
"detect_venv": { "show_nav_history_buttons": false,
"on": { "show_tab_bar_buttons": true
"directories": [".env", "env", ".venv", "venv"], },
"activate_script": "default" "tabs": {
} "close_position": "right",
}, "file_icons": true,
"env": { "git_status": true,
"ZED": "1", "activate_on_close": "left_neighbour",
"EXAMPLE": "test:dqnid", "show_close_button": "hover"
"BLUEPRINTS_PATHS": "./.blueprints" },
}, "toolbar": {
"font_family": null, "breadcrumbs": true,
"font_features": null, "quick_actions": true
"font_size": 14, },
"line_height": "comfortable", "telemetry": {
"option_as_meta": true, "diagnostics": false,
"button": true, "metrics": false
"shell": "system", },
"toolbar": { "terminal": {
"title": true "alternate_scroll": "off",
}, "blinking": "terminal_controlled",
"scrollbar": { "copy_on_select": false,
"show": "never" "dock": "bottom",
}, "detect_venv": {
"working_directory": "current_project_directory" "on": {
}, "directories": [".env", "env", ".venv", "venv"],
// ╭─────╮ "activate_script": "default"
// │ LSP │ }
// ╰─────╯ },
"format_on_save": "on", "env": {
"formatter": "auto", "ZED": "1",
"ensure_final_newline_on_save": true, "EXAMPLE": "test:dqnid",
"enable_language_server": true, "BLUEPRINTS_PATHS": "./.blueprints"
"use_autoclose": true, },
"languages": { // "font_family": null,
"Astro": { "font_features": null,
"tab_size": 4 "font_size": 10,
}, "line_height": "comfortable",
"HTML": { "option_as_meta": true,
"tab_size": 2 "button": true,
}, "shell": "system",
"JSON": { "toolbar": {
"tab_size": 4 "title": true
}, },
"JavaScript": { "scrollbar": {
"format_on_save": "prettier", "show": "never"
"tab_size": 2, },
"preferred_line_length": 65, "working_directory": "current_project_directory"
"code_actions_on_format": { },
"source.organizeImports": true // ╭─────╮
} // │ LSP │
}, // ╰─────╯
"TypeScript": { "format_on_save": "on",
"format_on_save": "prettier", "formatter": "auto",
"preferred_line_length": 65, "ensure_final_newline_on_save": true,
"language_servers": ["typescript-language-server", "!vtsls"], "enable_language_server": true,
"code_actions_on_format": { "use_autoclose": true,
"source.organizeImports": true "languages": {
} "Astro": {
}, "tab_size": 4
"TSX": { },
"format_on_save": "prettier", "HTML": {
"preferred_line_length": 85, "tab_size": 2
"language_servers": ["typescript-language-server", "!vtsls"], },
// "formatter": { "JSON": {
// "external": { "tab_size": 4
// "command": "prettier", },
// "arguments": ["--stdin-filepath", "{buffer_path}"] "JavaScript": {
// } "formatter": "prettier",
// }, "format_on_save": "on",
"code_actions_on_format": { "tab_size": 2,
"source.organizeImports": true "preferred_line_length": 65,
} "code_actions_on_format": {
} "source.organizeImports": true
}, }
"file_types": { },
"C++": ["c"], "TypeScript": {
"TOML": ["MyLockFile"], "formatter": "prettier",
"Dockerfile": ["Dockerfile*"] "format_on_save": "on",
}, "preferred_line_length": 65,
"file_scan_exclusions": [ "language_servers": ["typescript-language-server", "!vtsls"],
"**/.git", "code_actions_on_format": {
"**/.svn", "source.organizeImports": true
"**/.hg", }
"**/.jj", },
"**/CVS", "TSX": {
"**/.DS_Store", "formatter": "prettier",
"**/Thumbs.db", "format_on_save": "on",
"**/.classpath", "preferred_line_length": 85,
"**/.settings" "language_servers": ["typescript-language-server", "!vtsls"],
], // "formatter": {
"file_scan_inclusions": [".env*"] // "external": {
// "command": "prettier",
// "arguments": ["--stdin-filepath", "{buffer_path}"]
// }
// },
"code_actions_on_format": {
"source.organizeImports": true
}
},
"Python": {
"language_servers": ["pylsp", "!basedpyright"]
}
},
"file_types": {
"C++": ["c"],
"TOML": ["MyLockFile"],
"Dockerfile": ["Dockerfile*"]
},
"file_scan_exclusions": [
"**/.git",
"**/.svn",
"**/.hg",
"**/.jj",
"**/CVS",
"**/.DS_Store",
"**/Thumbs.db",
"**/.classpath",
"**/.settings"
],
"file_scan_inclusions": [".env*"]
} }

10
snippets/html.json Normal file
View File

@@ -0,0 +1,10 @@
{
"Print base": {
"prefix": "!html5",
"body": [
"<!DOCTYPE html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\">\n\t\t<title></title>\n\t\t<link href=\"style.css\" rel=\"stylesheet\" />\n\t</head>\n\t<body>\n\t\t<main></main>\n\t\t<script>\n\t\t</script>\n\t</body>\n</html>\n",
"$0"
],
"description": "Creates an html5 template"
}
}

15
snippets/javascript.json Normal file
View File

@@ -0,0 +1,15 @@
{
"Log to console": {
"prefix": "console",
"body": ["console.info(\"__${1:Place}!\")", "$0"],
"description": "Logs to console"
},
"Create Docstring": {
"prefix": "docstring jsdoc",
"body": [
"/**\n* ${1:Description}\n* @param {${2:Type}} ${3:Name}\n* @returns {${4:Type}} ${5:Name}\n*/",
"$0"
],
"description": "Creates a new JSDoc string"
}
}

12
snippets/plaintext.json Normal file
View File

@@ -0,0 +1,12 @@
{
// Each snippet must have a name and body, but the prefix and description are optional.
// The prefix is used to trigger the snippet, but when omitted then the name is used.
// Use placeholders like $1, $2 or ${1:defaultValue} to define tab stops.
// The $0 determines the final cursor position.
// Placeholders with the same value are linked.
"Log to console": {
"prefix": "log",
"body": ["console.info(\"Hello, ${1:World}!\")", "$0"],
"description": "Logs to console"
}
}

28
snippets/typescript.json Normal file
View File

@@ -0,0 +1,28 @@
{
"Log to console": {
"prefix": "console log",
"body": ["console.info(\"__${1:Place}\", {${2:Value}})", "$0"],
"description": "Logs to console"
},
"Defines a function": {
"prefix": "function",
"body": ["function ${1:Name}(${2:args}) {\n\t${3}\n}", "$0"],
"description": "Defines a function"
},
"Defienes a JSX component": {
"prefix": "jsx component",
"body": [
"export function ${1:Name}(${2:args}): React.FC<${3}> {\n\t${4}\n}",
"$0"
],
"description": "Defines a JSX component"
},
"Create Docstring": {
"prefix": "docstring jsdoc",
"body": [
"/**\n* ${1:Description}\n* @param {${2:Type}} ${3:Name}\n* @returns {${4:Type}} ${5:Name}\n*/",
"$0"
],
"description": "Creates a new JSDoc string"
}
}

View File

@@ -1,44 +1,48 @@
// ╭───────────────────────────────╮ // ╭───────────────────────────────
// │- Zed editor tasks │ // │- Zed editor tasks -
// │- author: Daniel Heras Quesada │ // │- author: Daniel Heras Quesada -
// ╰───────────────────────────────╯ // ╰───────────────────────────────
[ [
{ {
"label": "Example task", "label": "🚀 Build migrate",
"command": "for i in {1..5}; do echo \"Hello $i/5\"; sleep 1; done", "command": "bash ~/.config/zed/tasks/build-migrate.sh",
"env": { "use_new_terminal": false,
"foo": "bar" "allow_concurrent_runs": false,
"reveal": "always",
"hide": "never",
"shell": "system"
}, },
"use_new_terminal": false, {
"allow_concurrent_runs": false, "label": "👚 Commit Stradi",
"reveal": "always", "command": "bash ~/.config/zed/tasks/commit-stradi.sh",
"hide": "never", "use_new_terminal": false,
"shell": "system" "allow_concurrent_runs": false,
}, "reveal": "always",
{ "hide": "always",
"label": "Build migrate", "shell": "system"
"command": "bash ~/.config/zed/tasks/build-migrate.sh", },
"use_new_terminal": false, {
"allow_concurrent_runs": false, "label": "😴 Lazygit",
"reveal": "always", "command": "lazygit",
"hide": "never", "use_new_terminal": false,
"shell": "system" "allow_concurrent_runs": false
}, },
{ {
"label": "Lazygit", "label": "🐾 Blueprints",
"command": "lazygit", "command": "~/Packages/code-templates/code_templates",
"args": [], "use_new_terminal": true,
"env": {}, "allow_concurrent_runs": false,
"use_new_terminal": true, "reveal": "always",
"allow_concurrent_runs": false, "hide": "never",
}, "shell": "system"
{ }
"label": "Blueprints", // {
"command": "~/Packages/code-templates/code_templates", // "label": "📝 Preview document",
"use_new_terminal": true, // "command": "bash ~/.config/zed/tasks/preview-doc.sh '$ZED_FILE'",
"allow_concurrent_runs": false, // "use_new_terminal": true,
"reveal": "always", // "allow_concurrent_runs": false,
"hide": "never", // "reveal": "always",
"shell": "system" // "hide": "never",
} // "shell": "system"
// }
] ]

View File

@@ -1,6 +1,6 @@
:broom: │ 🧹 │ clean, cleanup, remove :broom: │ 🧹 │ clean, cleanup, remove
:recycle: │ ♻️ │ recycle, actor :recycle: │ ♻️ │ recycle, actor
:wrench : │ 🔧 │ adjustment, rection, adapter :wrench: │ 🔧 │ adjustment, rection, adapter
:gear: │ ⚙️ │ adjustment :gear: │ ⚙️ │ adjustment
:control_knobs: │ 🎛 │ config, adjustment :control_knobs: │ 🎛 │ config, adjustment
:bug: │ 🐛 │ bug :bug: │ 🐛 │ bug
@@ -22,3 +22,6 @@
:mag_right: │ 🔎 │ search :mag_right: │ 🔎 │ search
:old_key: │ 🗝 │ dentials :old_key: │ 🗝 │ dentials
:rocket: │ 🚀 │ shipping :rocket: │ 🚀 │ shipping
:stopwatch: │ ⏱ │ speed, performance
:wheelchair: │ ♿️ │ accessibility, a11y
:globe_with_meridians: | 🌐 | intl, i18n, i10n, tradus, lang

View File

@@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
emoji="$(cat ~/.config/zed/tasks/assets/emoji_list.txt | fzf | awk -F' ' '{print $1}')" emoji="$(cat ~/.config/zed/tasks/assets/emoji_list.txt | fzf | awk -F' ' '{print $3}')"
branch="$(git branch --show-current | awk -F'/' '{print $2}')" branch="$(git branch --show-current | awk -F'/' '{print $2}')"

4
tasks/preview-doc.sh Executable file
View File

@@ -0,0 +1,4 @@
[[ $# -ne 1 ]] && exit 1;
FILE_NAME="md_preview_intex.html"
fswatch -0 "$1" | pandoc -f markdown $1 > $FILE_NAME && surf $FILE_NAME
rm $FILE_NAME

430
themes/repose-dark.json Normal file
View File

@@ -0,0 +1,430 @@
{
// BG: #212325
// BG head
// BG tab-alt
// TERTIARY/ BORDER: #2f3338
// MAIN / FG: #d6d2bc
// PALID FG: #d6d2bc
// SECONDARY : #8f8e84
// BG_CLEAR: #403d39
// ERROR: #c43c53
// HIGHLIGHT: #e76f51
// CURRENT: #52796f
// HL1: #355070
// HL2: #6d597a
// HL3: #eaac8b
// HL4: #b56576
// HL5: #e56b6f
// HL6: #eff6e0
// HL7: #ede0d4
// HL8: #598392
// HL9: #e0b1cb
"$schema": "https://zed.dev/schema/themes/v0.2.0.json",
"name": "Repose",
"author": "Daniel Heras Quesada",
"themes": [
{
"name": "Repose dark",
"appearance": "dark",
"style": {
"border": "#414141",
"border.variant": "#403d39ff",
"border.focused": "#598392ff",
"border.selected": "#355070ff",
"border.transparent": "#00000000",
"border.disabled": "#414754ff",
"elevated_surface.background": "#212325ff",
"surface.background": "#212325ff",
"background": "#212325ff",
"element.background": "#2f3338ff",
"element.hover": "#2f3338ff",
"element.active": "#403d39ff",
"element.selected": "#403d39ff",
"element.disabled": "#2f3338ff",
"drop_target.background": "#8f8e8480",
"ghost_element.background": "#00000000",
"ghost_element.hover": "#2f3338ff",
"ghost_element.active": "#403d39ff",
"ghost_element.selected": "#403d39ff",
"ghost_element.disabled": "#2f3338ff",
"text": "#5f5e54",
"text.muted": "#8f8e84",
"text.placeholder": "#7a796f",
"text.disabled": "#7a796f",
"text.accent": "#52796fff",
"icon": "#d6d2bcff",
"icon.muted": "#d6d2bcff",
"icon.disabled": "#8f8e84ff",
"icon.placeholder": "#d6d2bcff",
"icon.accent": "#52796fff",
"status_bar.background": "#d6d2bcff",
"title_bar.background": "#d6d2bcff",
"status_bar.foreground": "#212325ff",
"title_bar.foreground": "#212325ff",
"title_bar.inactive_background": "#2f3338ff",
"toolbar.background": "#2f3338ff",
"tab_bar.background": "#2f3338ff",
"tab.inactive_background": "#2f3338aa",
"tab.active_background": "#2f3338ff",
"search.match_background": "#403d3966",
"panel.background": "#d6d2bc",
"panel.focused_border": null,
"pane.focused_border": null,
"scrollbar.thumb.background": "#8f8e844c",
"scrollbar.thumb.hover_background": "#d6d2bcfa",
"scrollbar.thumb.border": "#2f3338ff",
"scrollbar.track.background": "#00000000",
"scrollbar.track.border": "#2f3338ff",
"editor.foreground": "#d6d2bcff",
"editor.background": "#2f3338ff",
"editor.gutter.background": "#2f3338ff",
"editor.subheader.background": "#212325ff",
"editor.active_line.background": "#d6d2bc09",
"editor.highlighted_line.background": "#212325ff",
"editor.line_number": "#8f8e84",
"editor.active_line_number": "#d6d2bc",
"editor.hover_line_number": "#d6d2bc",
"editor.invisible": "#8f8e84ff",
"editor.wrap_guide": "#403d390d",
"editor.active_wrap_guide": "#403d391a",
"editor.document_highlight.read_background": "#74ade81a",
"editor.document_highlight.write_background": "#21232566",
"terminal.background": "#2f3338ff",
"terminal.foreground": "#d6d2bcff",
"terminal.bright_foreground": "#d6d2bcff",
"terminal.dim_foreground": "#2f3338ff",
"terminal.ansi.black": "#2f3338ff",
"terminal.ansi.bright_black": "#525561ff",
"terminal.ansi.dim_black": "#8f8e84ff",
"terminal.ansi.red": "#b56576ff",
"terminal.ansi.bright_red": "#673a3cff",
"terminal.ansi.dim_red": "#e56b6fff",
"terminal.ansi.green": "#52796fff",
"terminal.ansi.bright_green": "#598392ff",
"terminal.ansi.dim_green": "#d1e0bfff",
"terminal.ansi.yellow": "#eaac8bff",
"terminal.ansi.bright_yellow": "#e5c07bff",
"terminal.ansi.dim_yellow": "#eaac8bff",
"terminal.ansi.blue": "#52796fff",
"terminal.ansi.bright_blue": "#355070ff",
"terminal.ansi.dim_blue": "#355070ff",
"terminal.ansi.magenta": "#6d597aff",
"terminal.ansi.bright_magenta": "#e0b1cbff",
"terminal.ansi.dim_magenta": "#6d597aff",
"terminal.ansi.cyan": "#598392ff",
"terminal.ansi.bright_cyan": "#598392ff",
"terminal.ansi.dim_cyan": "#598392ff",
"terminal.ansi.white": "#d6d2bcff",
"terminal.ansi.bright_white": "#d6d2bcff",
"terminal.ansi.dim_white": "#8f8e84ff",
"link_text.hover": "#52796fff",
"version_control.added": "#52796eff",
"version_control.modified": "#eaac8cff",
"version_control.deleted": "#b56576ff",
"version_control.conflict_marker.ours": "#52796f1a",
"version_control.conflict_marker.theirs": "#74ade81a",
"conflict": "#eaac8bff",
"conflict.background": "#eaac8b1a",
"conflict.border": "#5d4c2fff",
"created": "#52796fff",
"created.background": "#52796f1a",
"created.border": "#38482fff",
"deleted": "#b56576ff",
"deleted.background": "#b565761a",
"deleted.border": "#4c2b2cff",
"error": "#b56576ff",
"error.background": "#b565761a",
"error.border": "#4c2b2cff",
"hidden": "#8f8e84ff",
"hidden.background": "#696b771a",
"hidden.border": "#414754ff",
"hint": "#788ca6ff",
"hint.background": "#5a6f891a",
"hint.border": "#355070ff",
"ignored": "#8f8e84ff",
"ignored.background": "#696b771a",
"ignored.border": "#2f3338",
"info": "#52796fff",
"info.background": "#74ade81a",
"info.border": "#355070ff",
"modified": "#eaac8bff",
"modified.background": "#eaac8b1a",
"modified.border": "#5d4c2fff",
"predictive": "#5a6a87ff",
"predictive.background": "#5a6a871a",
"predictive.border": "#38482fff",
"renamed": "#52796fff",
"renamed.background": "#74ade81a",
"renamed.border": "#355070ff",
"success": "#52796fff",
"success.background": "#52796f1a",
"success.border": "#38482fff",
"unreachable": "#d6d2bcff",
"unreachable.background": "#8389941a",
"unreachable.border": "#2f3338",
"warning": "#eaac8bff",
"warning.background": "#eaac8b1a",
"warning.border": "#5d4c2fff",
"players": [
{
"cursor": "#52796fff",
"background": "#52796fff",
"selection": "#74ade83d"
},
{
"cursor": "#be5046ff",
"background": "#be5046ff",
"selection": "#be50463d"
},
{
"cursor": "#bf956aff",
"background": "#bf956aff",
"selection": "#bf956a3d"
},
{
"cursor": "#6d597aff",
"background": "#6d597aff",
"selection": "#6d597a3d"
},
{
"cursor": "#598392ff",
"background": "#598392ff",
"selection": "#5983923d"
},
{
"cursor": "#b56576ff",
"background": "#b56576ff",
"selection": "#b565763d"
},
{
"cursor": "#eaac8bff",
"background": "#eaac8bff",
"selection": "#eaac8b3d"
},
{
"cursor": "#52796fff",
"background": "#52796fff",
"selection": "#52796f3d"
}
],
"syntax": {
"attribute": {
"color": "#52796fff",
"font_style": null,
"font_weight": null
},
"boolean": {
"color": "#bf956aff",
"font_style": null,
"font_weight": null
},
"comment": {
"color": "#5d636fff",
"font_style": null,
"font_weight": null
},
"comment.doc": {
"color": "#878e98ff",
"font_style": null,
"font_weight": null
},
"constant": {
"color": "#dfc184ff",
"font_style": null,
"font_weight": null
},
"constructor": {
"color": "#73ade9ff",
"font_style": null,
"font_weight": null
},
"embedded": {
"color": "#d6d2bcff",
"font_style": null,
"font_weight": null
},
"emphasis": {
"color": "#52796fff",
"font_style": null,
"font_weight": null
},
"emphasis.strong": {
"color": "#bf956aff",
"font_style": null,
"font_weight": 700
},
"enum": {
"color": "#b56576ff",
"font_style": null,
"font_weight": null
},
"function": {
"color": "#73ade9ff",
"font_style": null,
"font_weight": null
},
"hint": {
"color": "#788ca6ff",
"font_style": null,
"font_weight": null
},
"keyword": {
"color": "#6d597aff",
"font_style": null,
"font_weight": null
},
"label": {
"color": "#52796fff",
"font_style": null,
"font_weight": null
},
"link_text": {
"color": "#73ade9ff",
"font_style": "normal",
"font_weight": null
},
"link_uri": {
"color": "#598392ff",
"font_style": null,
"font_weight": null
},
"namespace": {
"color": "#d6d2bcff",
"font_style": null,
"font_weight": null
},
"number": {
"color": "#bf956aff",
"font_style": null,
"font_weight": null
},
"operator": {
"color": "#598392ff",
"font_style": null,
"font_weight": null
},
"predictive": {
"color": "#5a6a87ff",
"font_style": "italic",
"font_weight": null
},
"preproc": {
"color": "#d6d2bcff",
"font_style": null,
"font_weight": null
},
"primary": {
"color": "#d6d2bcff",
"font_style": null,
"font_weight": null
},
"property": {
"color": "#b56576ff",
"font_style": null,
"font_weight": null
},
"punctuation": {
"color": "#d6d2bcff",
"font_style": null,
"font_weight": null
},
"punctuation.bracket": {
"color": "#b2b9c6ff",
"font_style": null,
"font_weight": null
},
"punctuation.delimiter": {
"color": "#b2b9c6ff",
"font_style": null,
"font_weight": null
},
"punctuation.list_marker": {
"color": "#b56576ff",
"font_style": null,
"font_weight": null
},
"punctuation.markup": {
"color": "#b56576ff",
"font_style": null,
"font_weight": null
},
"punctuation.special": {
"color": "#b1574bff",
"font_style": null,
"font_weight": null
},
"selector": {
"color": "#dfc184ff",
"font_style": null,
"font_weight": null
},
"selector.pseudo": {
"color": "#52796fff",
"font_style": null,
"font_weight": null
},
"string": {
"color": "#52796fff",
"font_style": null,
"font_weight": null
},
"string.escape": {
"color": "#878e98ff",
"font_style": null,
"font_weight": null
},
"string.regex": {
"color": "#bf956aff",
"font_style": null,
"font_weight": null
},
"string.special": {
"color": "#bf956aff",
"font_style": null,
"font_weight": null
},
"string.special.symbol": {
"color": "#bf956aff",
"font_style": null,
"font_weight": null
},
"tag": {
"color": "#52796fff",
"font_style": null,
"font_weight": null
},
"text.literal": {
"color": "#52796fff",
"font_style": null,
"font_weight": null
},
"title": {
"color": "#b56576ff",
"font_style": null,
"font_weight": 400
},
"type": {
"color": "#598392ff",
"font_style": null,
"font_weight": null
},
"variable": {
"color": "#d6d2bcff",
"font_style": null,
"font_weight": null
},
"variable.special": {
"color": "#bf956aff",
"font_style": null,
"font_weight": null
},
"variant": {
"color": "#73ade9ff",
"font_style": null,
"font_weight": null
}
}
}
}
]
}