首页
备份一些常用的文件代码等
壁纸

Helix配置文件
= "catppuccin_mocha"
[]
= "relative"
= 5
= 1
= "hint"
= true
= "+"
= false
= "all"
[]
= true
[]
= ["mode", "spacer", "version-control", "spacer", "diagnostics"]
= ["file-name", "file-modification-indicator"]
= ["position", "position-percentage", "file-type"]
[]
= true
= 500
[]
= true
Helix theme diff
< "ui.background" = { fg = "text", bg = "base" }
> "ui.background" = { fg = "text" }
< "ui.statusline" = { fg = "subtext1", bg = "mantle" }
< "ui.statusline.inactive" = { fg = "surface2", bg = "mantle" }
> "ui.statusline" = { fg = "subtext1" }
> "ui.statusline.inactive" = { fg = "surface2" }
< "ui.popup" = { fg = "text", bg = "surface0" }
> "ui.popup" = { fg = "text" }
< "ui.help" = { fg = "overlay2", bg = "surface0" }
> "ui.help" = { fg = "overlay2" }
< "ui.text.focus" = { fg = "text", bg = "surface0", modifiers = ["bold"] }
> "ui.text.focus" = { fg = "text", modifiers = ["bold"] }
< "ui.menu" = { fg = "overlay2", bg = "surface0" }
< "ui.menu.selected" = { fg = "text", bg = "surface1", modifiers = ["bold"] }
> "ui.menu" = { fg = "overlay2" }
> "ui.menu.selected" = { fg = "text", modifiers = ["bold"] }
Ghostty配置文件
theme = Catppuccin Mocha
font-family = Monaspace Neon
font-family = 圆体-简
font-style = Bold
font-style-bold = SemiBold
font-style-italic = Bold Italic
font-style-bold-italic = SemiBold Italic
font-size = 16
font-thicken = true
font-thicken-strength = 127
working-directory = /Users/jane/space
window-inherit-working-directory = false
background-opacity = 0.8
adjust-cell-height = 5
mouse-hide-while-typing = true
cursor-style-blink = false
shell-integration-features = no-cursor
window-padding-x = 5
maximize = true
macos-option-as-alt = true
macos-titlebar-style = hidden
keybind = clear
keybind = performable:super+v=paste_from_clipboard
Zellij配置文件
theme "catppuccin-mocha"
default_layout "compact"
pane_frames false
show_startup_tips false
show_release_notes false
keybinds clear-defaults=true {
normal {
bind "Super t" {
NewTab {
cwd "~/space"
}
}
bind "Super r" { SwitchToMode "RenameTab"; TabNameInput 0; }
bind "Super 0" { GoToTab 0; }
bind "Super 1" { GoToTab 1; }
bind "Super 2" { GoToTab 2; }
bind "Super 3" { GoToTab 3; }
bind "Super 4" { GoToTab 4; }
bind "Super 5" { GoToTab 5; }
bind "Super 6" { GoToTab 6; }
bind "Super 7" { GoToTab 7; }
bind "Super 8" { GoToTab 8; }
bind "Super 9" { GoToTab 9; }
}
renametab {
bind "Enter" { SwitchToMode "Normal"; }
}
}
starship配置文件
= false
= """
$directory\
$git_branch\
$git_status\
$cmd_duration\
$character
"""
[]
= "[$duration ]($style)"
= "green bold"
[]
= '[#](white bold)'
= '[#](red bold)'
= "[#](green bold)"
= "[#](green bold)"
= "[#](green bold)"
= "[#](green bold)"
[]
= "[$read_only$path ]($style)"
= ""
= "blue bold"
[]
= "[$symbol$branch]($style)"
= ""
= "yellow bold"
[]
= '[$all_status$ahead_behind ]($style)'
= "yellow bold"
Zed配置文件
// keymap.json
// settings.json
常用软件
浏览器: Safari
终端: Ghostty
数据库管理: DataGrip
Docker: OrbStack
编辑器: Zed
git无法 clone 和 push 的问题
~/.ssh/config
Host github.com
Hostname ssh.github.com
Port 443
User git
下载ShellCrash
&& &&
常用github actions
# gitleaks
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell启用vim模式
bindkey -v
export KEYTIMEOUT=1
bindkey "^H" backward-delete-char
bindkey "^?" backward-delete-char