rrain7 / 2021Records

缅怀一下荒废的上半年
0 stars 0 forks source link

工具 #15

Open rrain7 opened 1 year ago

rrain7 commented 1 year ago
# 字体
brew install --cask font-iosevka

# DNS 查询
brew install dog

# 私人书库
zlib-searcher

# npm
brew install pnpm

# ai config
envd

# java version manager
sdk

# colima config envd
DOCKER_HOST=unix:///Users/xin/.colima/default/docker.sock

# terminal
brew install --cask kitty

brew install --cask warp

# dokcer info
docker context list

# git diff
brew install git-delta
# and config in zshrc
alias diff="kitty +kitty diff"

# show img in terminal
brew install imagemagick
# and config in zshrc
alias icat="kitty +kitten icat"

# neovim
brew install neovim

# ip on mac
brew install iproute2mac

# hidden bar
brew install --cask hiddenbar

# split screen
brew install --cask rectangle

brew install --cask alt-tab

# new ls 
brew install exa
# and config in zshrc
alias ls="exa --icons"
alias bat='bat --paging=never'

# nerd-font
brew tap homebrew/cask-fonts &&\nbrew install --cask font-FiraCode-Nerd-Font

# input-source-pro
brew install --cask input-source-pro
rrain7 commented 1 year ago

zshrc

plugins=( git zsh-autosuggestions zsh-syntax-highlighting autojump alias-tips golang rust extract z web-search )

rrain7 commented 1 year ago

alias tip tool https://github.com/djui/alias-tips.git

rrain7 commented 1 year ago

terminal font

font_family JetBrainsMono Nerd Font Mono

rrain7 commented 1 year ago

kitty config

enabled_layous stack
tab_bar_edge top
tab_bar_style separator
tab_separator " ┇"

kitty_mod ctrl+shift
map kitty_mod+/      launch --allow-remote-control kitty +kitten kitty_search/search.py @active-kitty-window-id

map ctrl+shift+f5 load_config_file
map ctrl+cmd+, load_config_file 🍎
rrain7 commented 1 year ago

starship.toml

command_timeout = 2000 ...

[time] disabled = true time_format = "%R" # Hour:Minute Format style = "bg:#33658A" format = ' ♥ $time '

rrain7 commented 1 year ago

vs code extension

code --install-extension antfu.slidev code --install-extension bungcip.better-toml code --install-extension cweijan.vscode-office code --install-extension donjayamanne.python-environment-manager code --install-extension donjayamanne.python-extension-pack code --install-extension dustypomerleau.rust-syntax code --install-extension eamodio.gitlens code --install-extension formulahendry.code-runner code --install-extension GitHub.copilot code --install-extension golang.go code --install-extension jebbs.plantuml code --install-extension KevinRose.vsc-python-indent code --install-extension LeetCode.vscode-leetcode code --install-extension mhutchie.git-graph code --install-extension ms-azuretools.vscode-docker code --install-extension ms-python.isort code --install-extension ms-python.python code --install-extension ms-python.vscode-pylance code --install-extension ms-toolsai.jupyter code --install-extension ms-toolsai.jupyter-keymap code --install-extension ms-toolsai.vscode-jupyter-cell-tags code --install-extension ms-toolsai.vscode-jupyter-slideshow code --install-extension ms-vscode-remote.remote-containers code --install-extension ms-vscode.cpptools code --install-extension ms-vscode.cpptools-themes code --install-extension ms-vsliveshare.vsliveshare code --install-extension msyrus.go-doc code --install-extension njpwerner.autodocstring code --install-extension PKief.material-icon-theme code --install-extension redhat.java code --install-extension ritwickdey.LiveServer code --install-extension rust-lang.rust-analyzer code --install-extension serayuzgur.crates code --install-extension Swellaby.rust-pack code --install-extension tamasfe.even-better-toml code --install-extension tinkertrain.theme-panda code --install-extension tonybaloney.vscode-pets code --install-extension usernamehw.errorlens code --install-extension vadimcn.vscode-lldb code --install-extension VisualStudioExptTeam.intellicode-api-usage-examples code --install-extension VisualStudioExptTeam.vscodeintellicode code --install-extension vscjava.vscode-java-debug code --install-extension vscjava.vscode-java-dependency code --install-extension vscjava.vscode-java-pack code --install-extension vscjava.vscode-java-test code --install-extension vscjava.vscode-maven code --install-extension vscjava.vscode-spring-initializr code --install-extension waderyan.gitblame code --install-extension WakaTime.vscode-wakatime code --install-extension wayou.vscode-todo-highlight code --install-extension wholroyd.jinja code --install-extension zhuyuanxiang.pangu-markdown-vscode

rrain7 commented 1 year ago

wezterm.lua

local wezterm = require 'wezterm'

return { font = wezterm.font_with_fallback { { family = 'JetBrainsMono Nerd Font Mono', weight = 'Medium', harfbuzz_features = { 'calt=0', 'clig=0', 'liga=0' }, }, { family = 'Terminus', weight = 'Bold' }, 'Noto Color Emoji', }, }

rrain7 commented 1 year ago

jetbrains plugins

rrain7 commented 1 year ago

用 rg 代替 grep

https://github.com/BurntSushi/ripgrep

brew install ripgrep
rrain7 commented 1 year ago

单词插件

https://metword.co/ https://app.metword.co/me

rrain7 commented 1 year ago

mac 播客软件 podurama

rrain7 commented 1 year ago

用 pnpm 代替 npm

https://pnpm.io/