feat: move updateable files mutable

This commit is contained in:
johannes committed 2026-08-07 00:13:11 +02:00
1 parent bf3b7a047f
commit 849d2e9801
11 files changed
+34 -31

No files matched your search

+272
View File
@@ -0,0 +1,272 @@
#? Config file for btop v.1.4.6
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
color_theme = "/home/johannes/.config/btop/themes/catppuccin.theme"
#* If the theme set background should be shown, set to False if you want terminal background transparency.
theme_background = false
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
truecolor = true
#* Set to true to force tty mode regardless if a real tty has been detected or not.
#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols.
force_tty = false
#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.
#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box.
#* Use whitespace " " as separator between different presets.
#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty"
presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"
#* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists.
#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift.
vim_keys = true
#* Rounded corners on boxes, is ignored if TTY mode is ON.
rounded_corners = true
#* Use terminal synchronized output sequences to reduce flickering on supported terminals.
terminal_sync = true
#* Default symbols to use for graph creation, "braille", "block" or "tty".
#* "braille" offers the highest resolution but might not be included in all fonts.
#* "block" has half the resolution of braille but uses more common characters.
#* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY.
#* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view.
graph_symbol = "braille"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_cpu = "default"
# Graph symbol to use for graphs in gpu box, "default", "braille", "block" or "tty".
graph_symbol_gpu = "default"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_mem = "default"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_net = "default"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_proc = "default"
#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace.
shown_boxes = "cpu net proc mem"
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
update_ms = 1000
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
proc_sorting = "cpu lazy"
#* Reverse sorting order, True or False.
proc_reversed = false
#* Show processes as a tree.
proc_tree = false
#* Use the cpu graph colors in the process list.
proc_colors = true
#* Use a darkening gradient in the process list.
proc_gradient = true
#* If process cpu usage should be of the core it's running on or usage of the total available cpu power.
proc_per_core = false
#* Show process memory as bytes instead of percent.
proc_mem_bytes = true
#* Show cpu graph for each process.
proc_cpu_graphs = true
#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate)
proc_info_smaps = false
#* Show proc box on left side of screen instead of right.
proc_left = false
#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop).
proc_filter_kernel = false
#* In tree-view, always accumulate child process resources in the parent process.
proc_aggregate = false
#* Should cpu and memory usage display be preserved for dead processes when paused.
keep_dead_proc_usage = false
#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available.
#* Select from a list of detected attributes from the options menu.
cpu_graph_upper = "total"
#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available.
#* Select from a list of detected attributes from the options menu.
cpu_graph_lower = "total"
#* If gpu info should be shown in the cpu box. Available values = "Auto", "On" and "Off".
show_gpu_info = "Auto"
#* Toggles if the lower CPU graph should be inverted.
cpu_invert_lower = true
#* Set to True to completely disable the lower CPU graph.
cpu_single_graph = false
#* Show cpu box at bottom of screen instead of top.
cpu_bottom = false
#* Shows the system uptime in the CPU box.
show_uptime = true
#* Shows the CPU package current power consumption in watts. Requires running `make setcap` or `make setuid` or running with sudo.
show_cpu_watts = true
#* Show cpu temperature.
check_temp = true
#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors.
cpu_sensor = "Auto"
#* Show temperatures for cpu cores also if check_temp is True and sensors has been found.
show_coretemp = true
#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core.
#* Use lm-sensors or similar to see which cores are reporting temperatures on your machine.
#* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries.
#* Example: "4:0 5:1 6:3"
cpu_core_map = ""
#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine".
temp_scale = "celsius"
#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024.
base_10_sizes = false
#* Show CPU frequency.
show_cpu_freq = true
#* How to calculate CPU frequency, available values: "first", "range", "lowest", "highest" and "average".
freq_mode = "first"
#* Draw a clock at top of screen, formatting according to strftime, empty string to disable.
#* Special formatting: /host = hostname | /user = username | /uptime = system uptime
clock_format = "%X"
#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort.
background_update = true
#* Custom cpu model name, empty string to disable.
custom_cpu_name = ""
#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ".
#* Only disks matching the filter will be shown. Prepend exclude= to only show disks not matching the filter. Examples: disk_filter="/boot /home/user", disks_filter="exclude=/boot /home/user"
disks_filter = ""
#* Show graphs instead of meters for memory values.
mem_graphs = true
#* Show mem box below net box instead of above.
mem_below_net = false
#* Count ZFS ARC in cached and available memory.
zfs_arc_cached = true
#* If swap memory should be shown in memory box.
show_swap = true
#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk.
swap_disk = true
#* If mem box should be split to also show disks info.
show_disks = true
#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
only_physical = true
#* Read disks list from /etc/fstab. This also disables only_physical.
use_fstab = true
#* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool)
zfs_hide_datasets = false
#* Set to true to show available disk space for privileged users.
disk_free_priv = false
#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view.
show_io_stat = true
#* Toggles io mode for disks, showing big graphs for disk read/write speeds.
io_mode = false
#* Set to True to show combined read/write io graphs in io mode.
io_graph_combined = false
#* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ".
#* Example: "/mnt/media:100 /:20 /boot:1".
io_graph_speeds = ""
#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False.
net_download = 100
net_upload = 100
#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest.
net_auto = true
#* Sync the auto scaling for download and upload to whichever currently has the highest scale.
net_sync = true
#* Starts with the Network Interface specified here.
net_iface = ""
#* "True" shows bitrates in base 10 (Kbps, Mbps). "False" shows bitrates in binary sizes (Kibps, Mibps, etc.). "Auto" uses base_10_sizes.
base_10_bitrate = "Auto"
#* Show battery stats in top right if battery is present.
show_battery = true
#* Which battery to use if multiple are present. "Auto" for auto detection.
selected_battery = "Auto"
#* Show power stats of battery next to charge indicator.
show_battery_watts = true
#* Set loglevel for "~/.local/state/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
log_level = "WARNING"
#* Automatically save current settings to config file on exit.
save_config_on_exit = true
#* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards.
nvml_measure_pcie_speeds = true
#* Measure PCIe throughput on AMD cards, may impact performance on certain cards.
rsmi_measure_pcie_speeds = true
#* Horizontally mirror the GPU graph.
gpu_mirror_graph = true
#* Set which GPU vendors to show. Available values are "nvidia amd intel"
shown_gpus = "nvidia amd intel"
#* Custom gpu0 model name, empty string to disable.
custom_gpu_name0 = ""
#* Custom gpu1 model name, empty string to disable.
custom_gpu_name1 = ""
#* Custom gpu2 model name, empty string to disable.
custom_gpu_name2 = ""
#* Custom gpu3 model name, empty string to disable.
custom_gpu_name3 = ""
#* Custom gpu4 model name, empty string to disable.
custom_gpu_name4 = ""
#* Custom gpu5 model name, empty string to disable.
custom_gpu_name5 = ""
@@ -0,0 +1,83 @@
# Main background, empty for terminal default, need to be empty if you want transparent background
theme[main_bg]="#eff1f5"
# Main text color
theme[main_fg]="#4c4f69"
# Title color for boxes
theme[title]="#4c4f69"
# Highlight color for keyboard shortcuts
theme[hi_fg]="#1e66f5"
# Background color of selected item in processes box
theme[selected_bg]="#bcc0cc"
# Foreground color of selected item in processes box
theme[selected_fg]="#1e66f5"
# Color of inactive/disabled text
theme[inactive_fg]="#8c8fa1"
# Color of text appearing on top of graphs, i.e uptime and current network graph scaling
theme[graph_text]="#dc8a78"
# Background color of the percentage meters
theme[meter_bg]="#bcc0cc"
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
theme[proc_misc]="#dc8a78"
# CPU, Memory, Network, Proc box outline colors
theme[cpu_box]="#8839ef" #Mauve
theme[mem_box]="#40a02b" #Green
theme[net_box]="#e64553" #Maroon
theme[proc_box]="#1e66f5" #Blue
# Box divider line and small boxes line color
theme[div_line]="#9ca0b0"
# Temperature graph color (Green -> Yellow -> Red)
theme[temp_start]="#40a02b"
theme[temp_mid]="#df8e1d"
theme[temp_end]="#d20f39"
# CPU graph colors (Teal -> Lavender)
theme[cpu_start]="#179299"
theme[cpu_mid]="#209fb5"
theme[cpu_end]="#7287fd"
# Mem/Disk free meter (Mauve -> Lavender -> Blue)
theme[free_start]="#8839ef"
theme[free_mid]="#7287fd"
theme[free_end]="#1e66f5"
# Mem/Disk cached meter (Sapphire -> Lavender)
theme[cached_start]="#209fb5"
theme[cached_mid]="#1e66f5"
theme[cached_end]="#7287fd"
# Mem/Disk available meter (Peach -> Red)
theme[available_start]="#fe640b"
theme[available_mid]="#e64553"
theme[available_end]="#d20f39"
# Mem/Disk used meter (Green -> Sky)
theme[used_start]="#40a02b"
theme[used_mid]="#179299"
theme[used_end]="#04a5e5"
# Download graph colors (Peach -> Red)
theme[download_start]="#fe640b"
theme[download_mid]="#e64553"
theme[download_end]="#d20f39"
# Upload graph colors (Green -> Sky)
theme[upload_start]="#40a02b"
theme[upload_mid]="#179299"
theme[upload_end]="#04a5e5"
# Process box color gradient for threads, mem and cpu usage (Sapphire -> Mauve)
theme[process_start]="#209fb5"
theme[process_mid]="#7287fd"
theme[process_end]="#8839ef"
@@ -0,0 +1,83 @@
# Main background, empty for terminal default, need to be empty if you want transparent background
theme[main_bg]="#1e1e2e"
# Main text color
theme[main_fg]="#cdd6f4"
# Title color for boxes
theme[title]="#cdd6f4"
# Highlight color for keyboard shortcuts
theme[hi_fg]="#89b4fa"
# Background color of selected item in processes box
theme[selected_bg]="#45475a"
# Foreground color of selected item in processes box
theme[selected_fg]="#89b4fa"
# Color of inactive/disabled text
theme[inactive_fg]="#7f849c"
# Color of text appearing on top of graphs, i.e uptime and current network graph scaling
theme[graph_text]="#f5e0dc"
# Background color of the percentage meters
theme[meter_bg]="#45475a"
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
theme[proc_misc]="#f5e0dc"
# CPU, Memory, Network, Proc box outline colors
theme[cpu_box]="#cba6f7" #Mauve
theme[mem_box]="#a6e3a1" #Green
theme[net_box]="#eba0ac" #Maroon
theme[proc_box]="#89b4fa" #Blue
# Box divider line and small boxes line color
theme[div_line]="#6c7086"
# Temperature graph color (Green -> Yellow -> Red)
theme[temp_start]="#a6e3a1"
theme[temp_mid]="#f9e2af"
theme[temp_end]="#f38ba8"
# CPU graph colors (Teal -> Lavender)
theme[cpu_start]="#94e2d5"
theme[cpu_mid]="#74c7ec"
theme[cpu_end]="#b4befe"
# Mem/Disk free meter (Mauve -> Lavender -> Blue)
theme[free_start]="#cba6f7"
theme[free_mid]="#b4befe"
theme[free_end]="#89b4fa"
# Mem/Disk cached meter (Sapphire -> Lavender)
theme[cached_start]="#74c7ec"
theme[cached_mid]="#89b4fa"
theme[cached_end]="#b4befe"
# Mem/Disk available meter (Peach -> Red)
theme[available_start]="#fab387"
theme[available_mid]="#eba0ac"
theme[available_end]="#f38ba8"
# Mem/Disk used meter (Green -> Sky)
theme[used_start]="#a6e3a1"
theme[used_mid]="#94e2d5"
theme[used_end]="#89dceb"
# Download graph colors (Peach -> Red)
theme[download_start]="#fab387"
theme[download_mid]="#eba0ac"
theme[download_end]="#f38ba8"
# Upload graph colors (Green -> Sky)
theme[upload_start]="#a6e3a1"
theme[upload_mid]="#94e2d5"
theme[upload_end]="#89dceb"
# Process box color gradient for threads, mem and cpu usage (Sapphire -> Mauve)
theme[process_start]="#74c7ec"
theme[process_mid]="#b4befe"
theme[process_end]="#cba6f7"
+127
View File
@@ -0,0 +1,127 @@
customCommands:
- key: <c-a>
description: AI-powered conventional commit
context: global
prompts:
- type: "menu"
key: "Type"
title: "Type of change"
options:
- name: "AI defined"
description: "Let AI analyze and determine the best commit type"
value: "ai-defined"
- name: "build"
description: "Changes that affect the build system or external dependencies"
value: "build"
- name: "feat"
description: "A new feature"
value: "feat"
- name: "fix"
description: "A bug fix"
value: "fix"
- name: "chore"
description: "Other changes that don't modify src or test files"
value: "chore"
- name: "ci"
description: "Changes to CI configuration files and scripts"
value: "ci"
- name: "docs"
description: "Documentation only changes"
value: "docs"
- name: "perf"
description: "A code change that improves performance"
value: "perf"
- name: "refactor"
description: "A code change that neither fixes a bug nor adds a feature"
value: "refactor"
- name: "revert"
description: "Reverts a previous commit"
value: "revert"
- name: "style"
description: "Changes that do not affect the meaning of the code"
value: "style"
- name: "test"
description: "Adding missing tests or correcting existing tests"
value: "test"
- type: menuFromCommand
title: "AI Generated Commit Messages"
key: CommitMsg
command: |
bash -c "
# Check for staged changes
diff=\$(git diff --cached | head -n 10)
if [ -z \"\$diff\" ]; then
echo \"No changes in staging. Add changes first.\"
exit 1
fi
SELECTED_TYPE=\"{{.Form.Type}}\"
COMMITS_TO_SUGGEST=8
aichat \"
You are an expert at writing Git commits. Your job is to write commit messages that follow the Conventional Commits format.
The user has selected: \$SELECTED_TYPE
Your task is to:
1. Analyze the code changes
2. Determine the most appropriate commit type (if user selected 'ai-defined')
3. Determine an appropriate scope (component/area affected)
4. Decide if this is a breaking change
5. Write clear, concise commit messages
Available commit types:
- feat: A new feature
- fix: A bug fix
- docs: Documentation only changes
- style: Changes that do not affect the meaning of the code
- refactor: A code change that neither fixes a bug nor adds a feature
- perf: A code change that improves performance
- test: Adding missing tests or correcting existing tests
- build: Changes that affect the build system or external dependencies
- ci: Changes to CI configuration files and scripts
- chore: Other changes that don't modify src or test files
- revert: Reverts a previous commit
Follow these guidelines:
- Structure: <type>(<scope>): <description>
- If user selected 'ai-defined', analyze the changes and pick the most suitable type
- If user selected a specific type, use that type: \$SELECTED_TYPE
- Add scope in parentheses if applicable (e.g., auth, api, ui, config)
- Use exclamation mark (!) after type/scope for breaking changes: type(scope)!: description
- Use lowercase for description (except proper nouns)
- Use imperative mood (\\\"add\\\", not \\\"added\\\")
- Keep description under 50 characters when possible
- No period at the end of subject line
Examples:
- feat(auth): add OAuth login support
- fix(api): handle null response in user endpoint
- docs(readme): update installation instructions
- style(ui): improve button spacing consistency
- refactor(database): simplify query builder logic
- test(auth): add unit tests for login flow
- build(deps): upgrade React to version 18
- ci(github): fix deployment workflow
- chore(config): update ESLint rules
- perf(api)!: optimize database queries
IMPORTANT:
- Generate exactly \$COMMITS_TO_SUGGEST different commit message options
- If user selected 'ai-defined', you can use different types for different options
- If user selected a specific type, all messages must use that type
- Only return commit messages, no explanations
- Do not use markdown code blocks
- One message per line
Previous commits for context:
\$(git log --oneline -10)
Changes to analyze:
\$(git diff --cached --stat)
\$(git diff --cached)
\"
"
command: "git commit -m \"{{.Form.CommitMsg}}\""
loadingText: "Generating commit messages..."
+2
View File
@@ -0,0 +1,2 @@
require("git"):setup()
require("starship"):setup()
+29
View File
@@ -0,0 +1,29 @@
[[plugin.deps]]
use = "yazi-rs/plugins:git"
rev = "9014ed2"
hash = "88e56a64b7ce7c4314427452343fef17"
[[plugin.deps]]
use = "ahkohd/eza-preview"
rev = "e8fb6c8"
hash = "c238595c801caa4f28553b9af8cf8804"
[[plugin.deps]]
use = "yazi-rs/plugins:smart-filter"
rev = "9014ed2"
hash = "d6f7351ea25a43c9b5f4315fa1e23935"
[[plugin.deps]]
use = "Rolv-Apneseth/starship"
rev = "159eaba"
hash = "7de446280b1ba8c49ffd86dbc24bbbe6"
[[flavor.deps]]
use = "yazi-rs/flavors:catppuccin-mocha"
rev = "1a5f787"
hash = "7dfe41c9c3d9be76da8a844263d0bbed"
[[flavor.deps]]
use = "yazi-rs/flavors:catppuccin-latte"
rev = "1a5f787"
hash = "b8f46853c27707115f25f3423a47bd38"
+15
View File
@@ -0,0 +1,15 @@
[mgr]
show_hidden = true
show_symlink = true
[preview]
wrap = "yes"
[[plugin.prepend_previewers]]
url = "*/"
run = "eza-preview"
[[mgr.prepend_keymap]]
on = "F"
run = "plugin smart-filter"
desc = "Smart filter"
+129
View File
@@ -0,0 +1,129 @@
[
{
"context": "VimControl && !menu",
"use_key_equivalents": true,
"bindings": {
"space space": "file_finder::Toggle",
"space w": "workspace::Save",
"space q q": ["pane::CloseActiveItem", { "close_pinned": false }],
"space q Q": "workspace::CloseWindow",
"space f f": "file_finder::Toggle",
"space f g": "pane::DeploySearch",
"space f r": ["projects::OpenRecent", { "create_new_window": false }],
"space f s": "workspace::Save",
"space f S": "workspace::SaveAll",
"space ,": "tab_switcher::Toggle",
"space b b": "tab_switcher::Toggle",
"space b d": ["pane::CloseActiveItem", { "close_pinned": false }],
"space b n": "pane::ActivateNextItem",
"space b p": "pane::ActivatePreviousItem",
"space s s": "pane::DeploySearch",
"space s r": ["pane::DeploySearch", { "replace_enabled": true }],
"space s d": "diagnostics::Deploy",
"space s p": "project_symbols::Toggle",
"space c a": "editor::ToggleCodeActions",
"space c r": "editor::Rename",
"space c f": "editor::Format",
"space c s": "outline::Toggle",
"space c h": "editor::Hover",
"space c d": "editor::GoToDefinition",
"space c D": "editor::GoToTypeDefinition",
"space c i": "editor::GoToImplementation",
"space c R": "editor::FindAllReferences",
"space d n": ["editor::GoToDiagnostic", { "severity": { "min": "hint", "max": "error" } }],
"space d p": ["editor::GoToPreviousDiagnostic", { "severity": { "min": "hint", "max": "error" } }],
"space d d": "diagnostics::Deploy",
"space g s": "git_panel::ToggleFocus",
"space g b": "editor::BlameHover",
"space g h": "editor::ToggleSelectedDiffHunks",
"space g H": "editor::ExpandAllDiffHunks",
"space g n": "editor::GoToHunk",
"space g p": "editor::GoToPreviousHunk",
"space u e": "project_panel::ToggleFocus",
"space u g": "git_panel::ToggleFocus",
"space u d": "debug_panel::ToggleFocus",
"space u t": "terminal_panel::Toggle",
"space u a": "workspace::ToggleAllDocks",
"space u z": "workspace::ToggleZoom",
"space u h": "editor::ToggleInlayHints",
"space u c": "theme_selector::Toggle",
"space r s": "vim::Substitute",
"space r shift-s": "vim::SubstituteLine",
"space x x": "task::Spawn",
"space x r": ["task::Rerun", { "reevaluate_context": true }],
"space a a": "agent::ToggleFocus",
"space a i": "assistant::InlineAssist",
"space p h": "workspace::ActivatePaneLeft",
"space p l": "workspace::ActivatePaneRight",
"space p k": "workspace::ActivatePaneUp",
"space p j": "workspace::ActivatePaneDown",
"space p v": "pane::SplitRight",
"space p s": "pane::SplitDown",
"space m m": "markdown::OpenPreview",
"space D b": "editor::ToggleBreakpoint",
"space D s": "debugger::Start",
"space D c": "debugger::Continue",
"space D r": "debugger::Rerun",
"space D x": "debugger::Stop",
"space D o": "debugger::StepOver",
"space D i": "debugger::StepInto",
"space D O": "debugger::StepOut"
}
},
{
"context": "vim_mode == normal || vim_mode == visual",
"bindings": {
"s": "vim::PushSneak",
"shift-s": "vim::PushSneakBackward"
}
},
{
"context": "EmptyPane || SharedScreen",
"use_key_equivalents": true,
"bindings": {
"space space": "file_finder::Toggle",
"space f f": "file_finder::Toggle",
"space f g": "pane::DeploySearch",
"space f r": ["projects::OpenRecent", { "create_new_window": false }],
"space u e": "project_panel::ToggleFocus",
"space u t": "terminal_panel::Toggle",
"space a a": "agent::ToggleFocus",
"space x x": "task::Spawn"
}
},
{
"context": "ProjectPanel && not_editing",
"bindings": {
"space space": "file_finder::Toggle",
"q": "project_panel::ToggleFocus",
"a": "project_panel::NewFile",
"A": "project_panel::NewDirectory",
"r": "project_panel::Rename",
"d": ["project_panel::Trash", { "skip_prompt": false }],
"y": "project_panel::CopyPath",
"Y": "workspace::CopyRelativePath"
}
},
{
"context": "Terminal",
"bindings": {
"ctrl-h": ["terminal::SendKeystroke", "ctrl-h"],
"ctrl-j": ["terminal::SendKeystroke", "ctrl-j"],
"ctrl-k": ["terminal::SendKeystroke", "ctrl-k"],
"ctrl-l": ["terminal::SendKeystroke", "ctrl-l"]
}
}
]
+236
View File
@@ -0,0 +1,236 @@
{
"project_panel": {
"dock": "left"
},
"collaboration_panel": {
"button": false
},
"base_keymap": "VSCode",
"vim_mode": true,
"vim": {
"default_mode": "normal",
"use_system_clipboard": "always",
"use_smartcase_find": true,
"use_regex_search": true,
"gdefault": false,
"toggle_relative_line_numbers": false,
"highlight_on_yank_duration": 200
},
"theme": {
"mode": "system",
"dark": "Catppuccin Mocha",
"light": "Catppuccin Latte"
},
"icon_theme": {
"mode": "system",
"dark": "Catppuccin Mocha",
"light": "Catppuccin Latte"
},
"auto_install_extensions": {
"catppuccin": true,
"catppuccin-icons": true,
"lua": true,
"php": true,
"typst": true
},
"telemetry": {
"metrics": false,
"diagnostics": false
},
"features": {
"edit_predictions": {
"provider": "zed"
}
},
"show_edit_predictions": true,
"edit_predictions": {
"disabled_globs": [
"**/.env*",
"**/*.pem",
"**/*.key",
"**/*.cert",
"**/*.crt",
"**/.dev.vars",
"**/secrets.yml",
"**/secrets.yaml",
"**/*secret*",
"**/*credential*"
]
},
"buffer_font_family": ".ZedMono",
"buffer_font_size": 15,
"buffer_line_height": "comfortable",
"ui_font_size": 16,
"cursor_blink": false,
"relative_line_numbers": "enabled",
"vertical_scroll_margin": 8,
"horizontal_scroll_margin": 8,
"scroll_beyond_last_line": "off",
"soft_wrap": "editor_width",
"tab_size": 4,
"hard_tabs": false,
"format_on_save": "on",
"formatter": "language_server",
"remove_trailing_whitespace_on_save": true,
"ensure_final_newline_on_save": true,
"show_completion_documentation": false,
"auto_signature_help": false,
"inlay_hints": {
"enabled": true,
"show_type_hints": true,
"show_parameter_hints": true,
"show_other_hints": true,
"show_background": false
},
"code_lens": "menu",
"git": {
"git_gutter": "tracked_files",
"inline_blame": {
"enabled": true
},
"hunk_style": "staged_hollow"
},
"terminal": {
"dock": "bottom",
"copy_on_select": false,
"keep_selection_on_copy": true,
"line_height": "comfortable",
"detect_venv": {
"on": {
"directories": [".env", "env", ".venv", "venv"],
"activate_script": "default"
}
}
},
"lsp": {
"gopls": {
"initialization_options": {
"hints": {
"assignVariableTypes": true,
"compositeLiteralFields": true,
"compositeLiteralTypes": true,
"constantValues": true,
"functionTypeParameters": true,
"parameterNames": true,
"rangeVariableTypes": true
},
"codelenses": {
"test": true,
"generate": true,
"regenerate_cgo": true,
"tidy": true,
"upgrade_dependency": true,
"vendor": true
}
}
},
"rust-analyzer": {
"initialization_options": {
"check": {
"command": "clippy"
},
"cargo": {
"allTargets": true
},
"inlayHints": {
"maxLength": null,
"lifetimeElisionHints": {
"enable": "skip_trivial",
"useParameterNames": true
},
"closureReturnTypeHints": {
"enable": "always"
}
}
}
}
},
"languages": {
"Lua": {
"tab_size": 2,
"hard_tabs": false,
"format_on_save": "on",
"formatter": {
"external": {
"command": "stylua",
"arguments": [
"--syntax=Lua54",
"--respect-ignores",
"--stdin-filepath",
"{buffer_path}",
"-"
]
}
},
"inlay_hints": {
"enabled": true,
"show_type_hints": true,
"show_parameter_hints": true,
"show_other_hints": true
}
},
"Go": {
"tab_size": 4,
"hard_tabs": true,
"formatter": "language_server",
"format_on_save": "on",
"inlay_hints": {
"enabled": true,
"show_type_hints": true,
"show_parameter_hints": true,
"show_other_hints": true
}
},
"Rust": {
"tab_size": 4,
"hard_tabs": false,
"formatter": "language_server",
"format_on_save": "on",
"inlay_hints": {
"enabled": true,
"show_type_hints": true,
"show_parameter_hints": true,
"show_other_hints": true
}
},
"JavaScript": {
"tab_size": 2,
"formatter": "language_server",
"format_on_save": "on"
},
"TypeScript": {
"tab_size": 2,
"formatter": "language_server",
"format_on_save": "on"
},
"TSX": {
"tab_size": 2,
"formatter": "language_server",
"format_on_save": "on"
},
"JSON": {
"tab_size": 2,
"formatter": "language_server",
"format_on_save": "on"
},
"YAML": {
"tab_size": 2,
"formatter": "language_server",
"format_on_save": "on"
},
"PHP": {
"tab_size": 4,
"formatter": "language_server",
"format_on_save": "on"
},
"Markdown": {
"soft_wrap": "editor_width",
"format_on_save": "off"
},
"Typst": {
"tab_size": 2,
"formatter": "language_server",
"format_on_save": "on"
}
}
}