backup: 2025-04-08

This commit is contained in:
Marsway 2025-04-09 11:59:12 +08:00
parent 8097b24a61
commit d31c43d3c0
8 changed files with 101 additions and 21 deletions

1
.bin/z.lua Submodule

@ -0,0 +1 @@
Subproject commit 4bbd0f1e5889f2755438952785a11b7a8222f696

73
.config/Brewfile Normal file
View File

@ -0,0 +1,73 @@
brew "autossh"
brew "fish"
brew "fzf"
brew "go"
brew "htop"
brew "lua"
brew "mackup"
brew "mas"
brew "neofetch"
brew "neovim"
brew "node"
brew "ocrmypdf"
brew "pnpm"
brew "repo"
brew "rust"
brew "stow"
brew "stylua"
brew "tmux"
brew "trash"
brew "tree"
brew "wget"
brew "xdotool"
brew "xprop"
brew "xwininfo"
cask "agent-tars"
cask "alacritty"
cask "bettertouchtool"
cask "capacities"
cask "cherry-studio"
cask "clash-verge-rev"
cask "coteditor"
cask "cursor"
cask "dockdoor"
cask "flutter"
cask "font-jetbrains-mono"
cask "font-jetbrains-mono-nerd-font"
cask "font-maple-mono-nf-cn"
cask "ghostty"
cask "hammerspoon"
cask "kando"
cask "keka"
cask "kitty"
cask "lm-studio"
cask "lookaway"
cask "lunarbar"
cask "maccy"
cask "miniconda"
cask "obsidian"
cask "only-switch"
cask "orbstack"
cask "picgo"
cask "snipaste"
cask "spacelauncher"
cask "syncalicious"
cask "tailscale"
cask "thor"
cask "trae"
cask "trae-cn"
cask "visual-studio-code"
cask "wezterm"
vscode "github.copilot"
vscode "github.copilot-chat"
vscode "kevinrose.vsc-python-indent"
vscode "ms-azuretools.vscode-docker"
vscode "ms-python.debugpy"
vscode "ms-python.python"
vscode "ms-python.vscode-pylance"
vscode "ms-vscode-remote.remote-containers"
vscode "ms-vscode-remote.remote-ssh"
vscode "ms-vscode-remote.remote-ssh-edit"
vscode "ms-vscode.remote-explorer"
vscode "parallelsdesktop.parallels-desktop"
vscode "subframe7536.theme-maple"

View File

@ -1,8 +1,8 @@
function brew function brew
command /bin/zsh -c "brew $argv" command /bin/zsh -c "brew $argv"
echo "Updating Brewfile..." echo "Updating Brewfile..."
command /bin/zsh -c "brew bundle dump --force --file=~/.vvconfig/Brewfile" command /bin/zsh -c "brew bundle dump --force --file=~/.config/Brewfile"
end end
function brew_install function brew_install
brew bundle --file="~/.vvconfig/Brewfile" brew bundle --file="~/.config/Brewfile"
end end

View File

@ -1,4 +1,4 @@
lua ~/.vvconfig/scripts/z.lua/z.lua --init fish | source lua ~/.bin/z.lua/z.lua --init fish | source
abbr -a zs 'z -c' abbr -a zs 'z -c'
abbr -a zb 'z -b' abbr -a zb 'z -b'
abbr -a zbi 'z -b -i' abbr -a zbi 'z -b -i'

View File

@ -2,7 +2,7 @@
# VERSION: 3.0 # VERSION: 3.0
SETUVAR THEME_EDEN_PROMPT_CHAR:\u00bb SETUVAR THEME_EDEN_PROMPT_CHAR:\u00bb
SETUVAR --export ZLUA_LUAEXE:/opt/homebrew/bin/lua SETUVAR --export ZLUA_LUAEXE:/opt/homebrew/bin/lua
SETUVAR --export ZLUA_SCRIPT:/Users/marsway/\x2evvconfig/scripts/z\x2elua/z\x2elua SETUVAR --export ZLUA_SCRIPT:/Users/marsway/\x2ebin/z\x2elua/z\x2elua
SETUVAR _ZL_DATA:/Users/marsway/\x2elocal/share/zlua/zlua\x2etxt SETUVAR _ZL_DATA:/Users/marsway/\x2elocal/share/zlua/zlua\x2etxt
SETUVAR _ZL_DATA_DIR:/Users/marsway/\x2elocal/share/zlua SETUVAR _ZL_DATA_DIR:/Users/marsway/\x2elocal/share/zlua
SETUVAR __fish_initialized:3800 SETUVAR __fish_initialized:3800

3
.gitmodules vendored
View File

@ -4,3 +4,6 @@
[submodule ".config/alacritty/themes"] [submodule ".config/alacritty/themes"]
path = .config/alacritty/themes path = .config/alacritty/themes
url = https://github.com/alacritty/alacritty-theme.git url = https://github.com/alacritty/alacritty-theme.git
[submodule ".bin/z.lua"]
path = .bin/z.lua
url = https://github.com/skywind3000/z.lua.git

32
.vimrc
View File

@ -1,31 +1,31 @@
" function " function
" count " count
source ~/.vvconfig/.config/vim/vimconfig/Count.vim source ~/.config/vim/vimconfig/Count.vim
" toggle comment " toggle comment
source ~/.vvconfig/.config/vim/vimconfig/ToggleComment.vim source ~/.config/vim/vimconfig/ToggleComment.vim
" auto insert copyright when create .h .cc file " auto insert copyright when create .h .cc file
source ~/.vvconfig/.config/vim/vimconfig/CopyRight.vim source ~/.config/vim/vimconfig/CopyRight.vim
" macro definition __copyRight__ " macro definition __copyRight__
source ~/.vvconfig/.config/vim/vimconfig/InsertCopyRight.vim source ~/.config/vim/vimconfig/InsertCopyRight.vim
" normal config " normal config
source ~/.vvconfig/.config/vim/vimconfig/setting.vim source ~/.config/vim/vimconfig/setting.vim
" NERDTree " NERDTree
set runtimepath+=~/.vvconfig/.config/vim/vimplugin/nerdtree-master set runtimepath+=~/.config/vim/vimplugin/nerdtree-master
source ~/.vvconfig/.config/vim/vimconfig/nerdtree.vim source ~/.config/vim/vimconfig/nerdtree.vim
" auto reformat when save .h .cc file " auto reformat when save .h .cc file
source ~/.vvconfig/.config/vim/vimconfig/autoReformat.vim source ~/.config/vim/vimconfig/autoReformat.vim
" theme " theme
" vim color " vim color
source ~/.vvconfig/.config/vim/vimcolor/solarized-master/vim-colors-solarized/colors/solarized.vim source ~/.config/vim/vimcolor/solarized-master/vim-colors-solarized/colors/solarized.vim
" cpp highLight " cpp highLight
source ~/.vvconfig/.config/vim/vimcolor/setCpp.vim source ~/.config/vim/vimcolor/setCpp.vim
" airline " airline
set runtimepath+=~/.vvconfig/.config/vim/vimplugin/vim-airline-master set runtimepath+=~/.config/vim/vimplugin/vim-airline-master
source ~/.vvconfig/.config/vim/vimcolor/airline.vim source ~/.config/vim/vimcolor/airline.vim
" one dark " one dark
set runtimepath+=~/.vvconfig/.config/vim/vimplugin/onedark.vim-main set runtimepath+=~/.config/vim/vimplugin/onedark.vim-main
source ~/.vvconfig/.config/vim/vimcolor/onedark.vim source ~/.config/vim/vimcolor/onedark.vim
" rainbow " rainbow
set runtimepath+=~/.vvconfig/.config/vim/vimplugin/rainbow-master set runtimepath+=~/.config/vim/vimplugin/rainbow-master
source ~/.vvconfig/.config/vim/vimcolor/rainbow.vim source ~/.config/vim/vimcolor/rainbow.vim

View File

@ -19,6 +19,9 @@ brew "tmux"
brew "trash" brew "trash"
brew "tree" brew "tree"
brew "wget" brew "wget"
brew "xdotool"
brew "xprop"
brew "xwininfo"
cask "agent-tars" cask "agent-tars"
cask "alacritty" cask "alacritty"
cask "bettertouchtool" cask "bettertouchtool"
@ -48,12 +51,12 @@ cask "orbstack"
cask "picgo" cask "picgo"
cask "snipaste" cask "snipaste"
cask "spacelauncher" cask "spacelauncher"
cask "syncalicious"
cask "tailscale" cask "tailscale"
cask "thor" cask "thor"
cask "trae" cask "trae"
cask "trae-cn" cask "trae-cn"
cask "visual-studio-code" cask "visual-studio-code"
cask "warp"
cask "wezterm" cask "wezterm"
vscode "github.copilot" vscode "github.copilot"
vscode "github.copilot-chat" vscode "github.copilot-chat"