My git, zsh, vim, vscode configs.
Git:
gs, gc, gcofor git status, commit, checkoutgprto auto create a PR on GitHub based on branch history
Oh-my-zsh:
vi-mode: vim for current shell commandautocd: cd by typing directory name onlyctrl-rto search command history with fzfctrl-zto suspend current commandvimrcto quickly edit shell rc file based on shell environmentgrephfind text with grep, highlight only, no filtering
VSCode Keybindings:
- cmd 1-9: Switch to editor tabs 1-9
- cmd E: Delete current line
- cmd Q: Quick open previous editor
- for more, see vscode/
zshrc: used on my primary machinesbashrc: used when zsh is not available (raspberry pi, cloud, etc)sh_aliases: used by both rc filesvimrc: Vim configuration with plugins and settings
git-config.sh: one time script to set up global settingsiterm-profile.json: iTerm2 color scheme and settingsvscode/
macOS Pre-requisites: Homebrew
-
Install Xcode Command Line Tools:
xcode-select --install
-
Disable accent menu:
defaults write -g ApplePressAndHoldEnabled -bool false -
Install essential tools:
# Oh My Zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" # fzf brew install fzf # Python, Node, Bun brew install pyenv nvm curl -fsSL https://bun.sh/install | bash # Development tools brew install gh brew install --cask docker tableplus brew install --cask visual-studio-code iterm2 obsidian
Use
./applyto copy sh_aliases, vimrc, zshrc from this repo to appropriate places. It will show a diff, ask for confirmation, and create a backup for each file.