feat: remade scripts to be simpler

This commit is contained in:
2026-03-28 22:26:19 +00:00
commit a39315d77c
24 changed files with 879 additions and 0 deletions
+72
View File
@@ -0,0 +1,72 @@
console_title_template = '{{ .Shell }} in {{ .Folder }}'
version = 3
final_space = true
[secondary_prompt]
template = '❯❯ '
foreground = 'magenta'
background = 'transparent'
[transient_prompt]
template = ' '
background = 'transparent'
foreground_templates = ['{{if gt .Code 0}}red{{end}}', '{{if eq .Code 0}}magenta{{end}}']
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
template = '{{ .Path }}'
foreground = 'blue'
background = 'transparent'
type = 'path'
style = 'plain'
[blocks.segments.properties]
cache_duration = 'none'
style = 'full'
[[blocks.segments]]
template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <cyan>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>'
foreground = 'p:grey'
background = 'transparent'
type = 'git'
style = 'plain'
[blocks.segments.properties]
branch_icon = ''
cache_duration = 'none'
commit_icon = '@'
fetch_status = true
[[blocks]]
type = 'rprompt'
overflow = 'hidden'
[[blocks.segments]]
template = '{{ .FormattedMs }}'
foreground = 'yellow'
background = 'transparent'
type = 'executiontime'
style = 'plain'
[blocks.segments.properties]
cache_duration = 'none'
threshold = 5000
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
template = ''
background = 'transparent'
type = 'text'
style = 'plain'
foreground_templates = ['{{if gt .Code 0}}red{{end}}', '{{if eq .Code 0}}magenta{{end}}']
[blocks.segments.properties]
cache_duration = 'none'
+43
View File
@@ -0,0 +1,43 @@
# Reload tmux configuration
unbind r
bind r source-file ~/.config/tmux/tmux.conf \; display-message "Tmux config reloaded!"
# Set prefix key to Ctrl-s
set -g prefix C-s
# Enable mouse support
set -g mouse on
# Set index starting at 1 for windows and panes
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
# Remap pane navigation to vim-style keys
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# Set split binds
bind v split-window -h
bind h split-window -v
bind n new-window
bind q kill-pane
set-option -g status-position top
#* TMUX Plugin Manager Configuration
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'dreamsofcode-io/catppuccin-tmux'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin '[email protected]:user/plugin'
# set -g @plugin '[email protected]:user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
+21
View File
@@ -0,0 +1,21 @@
// 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"
}
},
{
"context": "Editor",
"bindings": {
// "j k": ["workspace::SendKeystrokes", "escape"]
}
}
]
+35
View File
@@ -0,0 +1,35 @@
// 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 `zed: open default settings` from the
// command palette (cmd-shift-p / ctrl-shift-p)
{
"icon_theme": "Catppuccin Mocha",
"agent": {
"always_allow_tool_actions": true,
"default_profile": "write",
"default_model": {
"provider": "zed.dev",
"model": "claude-3-7-sonnet"
},
},
"telemetry": {
"metrics": false,
"diagnostics": false
},
"vim_mode": false,
"ui_font_size": 14,
"buffer_font_size": 14,
"theme": {
"mode": "system",
"light": "One Light",
"dark": "Min Dark (Blurred)"
},
"hover_popover_enabled": true,
"features": {
"edit_prediction_provider": "zed"
}
}
@@ -0,0 +1,35 @@
// 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 `zed: open default settings` from the
// command palette (cmd-shift-p / ctrl-shift-p)
{
"icon_theme": "Catppuccin Mocha",
"agent": {
"default_profile": "write",
"default_model": {
"provider": "zed.dev",
"model": "claude-sonnet-4"
},
"version": "2"
},
"telemetry": {
"metrics": false,
"diagnostics": false
},
"vim_mode": false,
"ui_font_size": 14,
"buffer_font_size": 14,
"theme": {
"mode": "system",
"light": "One Light",
"dark": "Min Dark (Blurred)"
},
"hover_popover_enabled": true,
"features": {
"edit_prediction_provider": "zed"
}
}