Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0faf3e3eef | |||
| a5401e517b |
@@ -85,7 +85,7 @@ alias free='free -h'
|
||||
alias bat='bat --theme="ansi" --paging=never'
|
||||
|
||||
# Application shortcuts
|
||||
alias vim='nvim'
|
||||
alias vi='nvim'
|
||||
alias :q='exit'
|
||||
alias files='thunar .'
|
||||
alias fetch='pfetch'
|
||||
|
||||
@@ -0,0 +1,137 @@
|
||||
[
|
||||
// ─── UNBINDS ────────────────────────────────────────────────────────────────
|
||||
{
|
||||
"context": "Editor && vim_mode == insert",
|
||||
"bindings": { "ctrl-l": null, "ctrl-h": null }
|
||||
},
|
||||
{
|
||||
"context": "FileFinder || FileFinder > Picker > Editor || FileFinder > Picker > menu",
|
||||
"bindings": { "ctrl-l": null, "ctrl-h": null }
|
||||
},
|
||||
{
|
||||
"context": "BufferSearchBar",
|
||||
"bindings": { "ctrl-l": null, "ctrl-h": null }
|
||||
},
|
||||
{
|
||||
"context": "vim_mode == literal",
|
||||
"bindings": { "ctrl-l": null }
|
||||
},
|
||||
{
|
||||
"context": "VimControl && !menu",
|
||||
"bindings": { "ctrl-b": null, "ctrl-o": null }
|
||||
},
|
||||
{
|
||||
"context": "Workspace",
|
||||
"bindings": { "ctrl-b": null}
|
||||
},
|
||||
{
|
||||
"unbind": { "ctrl-o": "workspace::OpenFiles" }
|
||||
},
|
||||
// ─── PANE NAVIGATION ────────────────────────────────────────────────────────
|
||||
{
|
||||
"context": "Editor && vim_mode == normal",
|
||||
"bindings": {
|
||||
"ctrl-h": "pane::ActivatePreviousItem",
|
||||
"ctrl-l": "pane::ActivateNextItem"
|
||||
}
|
||||
},
|
||||
// ─── EDITOR ─────────────────────────────────────────────────────────────────
|
||||
{
|
||||
"context": "Editor",
|
||||
"bindings": {
|
||||
"ctrl-e": "project_panel::Toggle",
|
||||
"ctrl-f": "pane::DeploySearch",
|
||||
"ctrl-o": "terminal_panel::Toggle",
|
||||
"ctrl-m": "tab_switcher::ToggleAll"
|
||||
}
|
||||
},
|
||||
// ─── BUFFER SEARCH BAR ──────────────────────────────────────────────────────
|
||||
{
|
||||
"context": "BufferSearchBar",
|
||||
"bindings": {
|
||||
"ctrl-r": "search::ToggleReplace"
|
||||
}
|
||||
},
|
||||
// ─── PROJECT SEARCH BAR ─────────────────────────────────────────────────────
|
||||
{
|
||||
"context": "ProjectSearchBar",
|
||||
"bindings": {
|
||||
"ctrl-r": "search::ToggleReplace"
|
||||
}
|
||||
},
|
||||
// ─── PROJECT SEARCH RESULTS ──────────────────────────────────────────────────
|
||||
{
|
||||
"context": "VimControl && !menu",
|
||||
"bindings": {
|
||||
"enter": "editor::OpenExcerpts"
|
||||
}
|
||||
},
|
||||
// ─── PROJECT PANEL (FILE TREE) ───────────────────────────────────────────────
|
||||
{
|
||||
"context": "ProjectPanel && not_editing",
|
||||
"bindings": {
|
||||
"ctrl-e": "project_panel::Toggle",
|
||||
"a": "project_panel::NewFile",
|
||||
"d": "project_panel::Delete",
|
||||
"r": "project_panel::Rename"
|
||||
}
|
||||
},
|
||||
// ─── TERMINAL ───────────────────────────────────────────────────────────────
|
||||
{
|
||||
"context": "Terminal",
|
||||
"bindings": {
|
||||
"ctrl-o": "terminal_panel::Toggle",
|
||||
"ctrl-h": "pane::ActivatePreviousItem",
|
||||
"ctrl-l": "pane::ActivateNextItem",
|
||||
"ctrl-q": "pane::CloseActiveItem",
|
||||
"ctrl-j": "terminal::Clear"
|
||||
}
|
||||
},
|
||||
// ─── WORKSPACE ──────────────────────────────────────────────────────────────
|
||||
{
|
||||
"context": "Workspace",
|
||||
"bindings": {
|
||||
"ctrl-o": "terminal_panel::Toggle",
|
||||
"ctrl-p": "file_finder::Toggle"
|
||||
}
|
||||
},
|
||||
// ─── CTRL-W CLOSE → CTRL-W Q ────────────────────────────────────────────────
|
||||
{
|
||||
"context": "Pane",
|
||||
"bindings": { "ctrl-w": null }
|
||||
},
|
||||
{
|
||||
"context": "Workspace",
|
||||
"bindings": { "ctrl-w": null }
|
||||
},
|
||||
{
|
||||
"context": "SettingsWindow",
|
||||
"bindings": { "ctrl-w": null }
|
||||
},
|
||||
{
|
||||
"context": "Pane",
|
||||
"bindings": { "ctrl-w q": "pane::CloseActiveItem" }
|
||||
},
|
||||
{
|
||||
"context": "SettingsWindow",
|
||||
"bindings": { "ctrl-w q": "workspace::CloseWindow" }
|
||||
},
|
||||
{
|
||||
"context": "Workspace",
|
||||
"unbind": {
|
||||
"ctrl-`": "terminal_panel::Toggle"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Workspace",
|
||||
"bindings": {
|
||||
"ctrl-`": "projects::OpenRecent"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Workspace",
|
||||
"unbind": {
|
||||
"ctrl-r": "projects::OpenRecent"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,149 @@
|
||||
{
|
||||
// ─── CORE BEHAVIOR ───────────────────────────────────────────────────────────
|
||||
"gutter": {
|
||||
"bookmarks": false,
|
||||
"runnables": false
|
||||
},
|
||||
"which_key": { "enabled": true },
|
||||
"cursor_shape": "block",
|
||||
"vim_mode": true,
|
||||
"base_keymap": "VSCode",
|
||||
"restore_on_startup": "last_workspace",
|
||||
"disable_ai": false,
|
||||
"session": { "trust_all_worktrees": true },
|
||||
"telemetry": { "diagnostics": false, "metrics": false },
|
||||
// ─── EDITOR BEHAVIOR ─────────────────────────────────────────────────────────
|
||||
"tab_size": 4,
|
||||
"hard_tabs": true,
|
||||
"soft_wrap": "editor_width",
|
||||
"show_whitespaces": "none",
|
||||
"format_on_save": "off",
|
||||
"use_on_type_format": true,
|
||||
"centered_layout": {
|
||||
"left_padding": 0.15,
|
||||
"right_padding": 0.15
|
||||
},
|
||||
"indent_guides": {
|
||||
"coloring": "fixed",
|
||||
"line_width": 1,
|
||||
"active_line_width": 2
|
||||
},
|
||||
// ─── FONTS & TEXT RENDERING ──────────────────────────────────────────────────
|
||||
"buffer_font_family": "Consolas",
|
||||
"buffer_font_size": 14.5,
|
||||
"buffer_font_features": { "liga": false },
|
||||
"buffer_line_height": { "custom": 2.2 },
|
||||
"ui_font_size": 14,
|
||||
// ─── THEME & APPEARANCE ──────────────────────────────────────────────────────
|
||||
"theme": {
|
||||
"mode": "system",
|
||||
"light": "One Light",
|
||||
"dark": "VSCode Dark Modern"
|
||||
},
|
||||
"theme_overrides": {
|
||||
"VSCode Dark Modern": {
|
||||
"border": "#1e1e1e",
|
||||
"border.variant": "#303030",
|
||||
"title_bar.background": "#1e1e1e",
|
||||
"panel.background": "#1e1e1e",
|
||||
"panel.focused_border": "#bbbbbb",
|
||||
"editor.document_highlight.read_background": "#00000000",
|
||||
"editor.document_highlight.write_background": "#00000000"
|
||||
}
|
||||
},
|
||||
"icon_theme": {
|
||||
"mode": "light",
|
||||
"light": "Warm Charmed Icons",
|
||||
"dark": "Warm Charmed Icons"
|
||||
},
|
||||
"scrollbar": { "selected_symbol": true,
|
||||
"show": "never" },
|
||||
// ─── TAB BAR & TABS ──────────────────────────────────────────────────────────
|
||||
"tab_bar": {
|
||||
"show": true,
|
||||
"show_nav_history_buttons": false,
|
||||
"show_tab_bar_buttons": false
|
||||
},
|
||||
"tabs": {
|
||||
"close_position": "left",
|
||||
"file_icons": false,
|
||||
"git_status": false
|
||||
},
|
||||
// ─── TOOLBAR & STATUS BAR ────────────────────────────────────────────────────
|
||||
"toolbar": {
|
||||
"breadcrumbs": false,
|
||||
"quick_actions": false,
|
||||
"selections_menu": false,
|
||||
"agent_review": false
|
||||
},
|
||||
"status_bar": {
|
||||
"cursor_position_button": true,
|
||||
"active_language_button": true
|
||||
},
|
||||
"title_bar": {
|
||||
"show_branch_name": true,
|
||||
"show_user_picture": false,
|
||||
"show_user_menu": false,
|
||||
"show_sign_in": false
|
||||
},
|
||||
// ─── PANELS & DOCKS ──────────────────────────────────────────────────────────
|
||||
"project_panel": {
|
||||
"dock": "left",
|
||||
"starts_open": false,
|
||||
"hide_root": true,
|
||||
"bold_folder_labels": true,
|
||||
"button": false
|
||||
},
|
||||
"outline_panel": { "button": true, "dock": "left" },
|
||||
"git_panel": { "dock": "left" },
|
||||
"collaboration_panel": { "dock": "left" },
|
||||
"terminal": {
|
||||
"dock": "right",
|
||||
"button": false,
|
||||
},
|
||||
"agent": {
|
||||
"dock": "right",
|
||||
"favorite_models": [],
|
||||
"model_parameters": []
|
||||
},
|
||||
// ─── BUTTONS ─────────────────────────────────────────────────────────────────
|
||||
"search": { "button": true },
|
||||
"debugger": { "button": false },
|
||||
"diagnostics": { "button": false },
|
||||
// ─── LANGUAGE SERVERS ────────────────────────────────────────────────────────
|
||||
"languages": {
|
||||
"PHP": {
|
||||
"language_servers": [
|
||||
"intelephense",
|
||||
"!phpactor",
|
||||
"!phptools",
|
||||
"!outsourced",
|
||||
"tailwindcss-language-server",
|
||||
"..."
|
||||
]
|
||||
},
|
||||
"HTML": {
|
||||
"language_servers": ["!tailwindcss-language-server", "..."]
|
||||
},
|
||||
"CSS": {
|
||||
"language_servers": ["!tailwindcss-language-server", "..."]
|
||||
},
|
||||
"JavaScript": {
|
||||
"language_servers": ["!tailwindcss-language-server", "..."]
|
||||
},
|
||||
"TypeScript": {
|
||||
"language_servers": ["!tailwindcss-language-server", "..."]
|
||||
},
|
||||
"JSON": {
|
||||
"language_servers": ["!json-language-server", "..."]
|
||||
},
|
||||
"Markdown": {
|
||||
"language_servers": [
|
||||
"markdown-oxide",
|
||||
"!tailwindcss-language-server",
|
||||
"!json-language-server",
|
||||
"..."
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user