git clone git@github.com:teodc/dotfiles.git
cd dotfiles
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
cp Brewfile ~/
brew bundle install --file=~/Brewfile
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
cp amethyst/.amethyst.yml ~/
mkdir -p "$(bat --config-dir)/themes"
cp bat/config $(bat --config-dir)
curl https://raw.githubusercontent.com/catppuccin/bat/main/themes/Catppuccin%20Mocha.tmTheme -o "$(bat --config-dir)/themes/"
bat cache --build
mkdir -p ~/.config/ghostty
cp ghostty/config ~/.config/ghostty/
cp git/.gitconfig ~/
cp git/.gitignore ~/
cp ideavim/.ideavimrc ~/
cp karabiner/karabiner.json ~/.config/karabiner/
mkdir -p ~/.config/lazygit
cp lazygit/config.yml ~/.config/lazygit/
mkdir -p ~/.config/lsd
cp lsd/config.yaml ~/.config/lsd/
cp -R nvim/ ~/.config/
cp ssh/config ~/.ssh/
mkdir -p ~/.config/starship
cp starship/starship.toml ~/.config/starship/
# Preferences > Tools > Install Package Control
git clone https://github.com/catppuccin/sublime-text.git ~/Library/Application\ Support/Sublime\ Text/Packages/Catppuccin
cp sublime-text/Preferences.sublime-settings ~/Library/Application\ Support/Sublime\ Text/Packages/User/Preferences.sublime-settings
mkdir -p ~/.config/tmux
cp tmux/tmux.conf ~/.config/tmux/
# <prefix> + I
cp vim/.vimrc ~/
mkdir -p ~/.vim/colors
mkdir -p ~/.vim/backups
mkdir -p ~/.vim/swaps
mkdir -p ~/.vim/undo
# PlugInstall
mkdir -p ~/.config/yazi
cp yazi/yazi.toml ~/.config/yazi
cp yazi/theme.toml ~/.config/yazi
cp yazi/keymap.toml ~/.config/yazi
cp yazi/init.lua ~/.config/yazi
ya pack -a yazi-rs/flavors:catppuccin-mocha
ya pack -a yazi-rs/plugins:full-border
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-completions
cp zsh/.zshrc ~/
- Use
Amethystto tile windows with thefullscreenlayout by default. - Use
Karabiner-Elementsto open & jump to specific apps. - Bind most used apps to their own key (to prevent any crappy cmd+tab cycling):
shift+control+b: Brave Browsershift+control+m: Musicshift+control+i: IntelliJ IDEAshift+control+k: Slackshift+control+c: Discordshift+control+a: ChatGPT- etc.
- Add an extra num-key binding to apps that are part of your dev workflow (for even faster switching):
control+1: Browsercontrol+2: Terminalcontrol+3: IDEcontrol+4: HTTP clientcontrol+5: Database GUIcontrol+6: Notes
- Auto hide the Dock & the menu bar.
- Speed up keyboard & vim better:
defaults write -g ApplePressAndHoldEnabled -bool false defaults write -g InitialKeyRepeat -int 10 # normal minimum is 15 (225 ms) defaults write -g KeyRepeat -int 1 # normal minimum is 2 (30 ms) - Reduce some bothering animations:
defaults write -g NSToolbarFullScreenAnimationDuration -float 0.1 defaults write com.apple.dock autohide-time-modifier -float 0.1 defaults write com.apple.dock autohide-delay -float 0.1 defaults write com.apple.dock expose-animation-duration -float 0.1 defaults write com.apple.finder DisableAllAnimations -bool true killall Dock killall Finder - In
Settings > Accessibility > Display, enableReduce motionandIncrease contrast. - Disable
Automatically rearrange Spaces based on most recent use.