You know the drill:
git clone git@github.com:kallgren/dotfiles.git ~
- Install Homebrew
cd ~/dotfilesbrew bundle(Installs applications listed in Brewfile)- Configure BetterTouchTool and Flux to run at startup
(Note: this is not a complete list of applications as of 2025-11-25)
I handle configs by symlinking with GNU Stow (which you just installed through Homebrew).
Note
Specify each desired package individually as not all folders in this repo are meant for stowing
stow --no-folding zsh tmux vim code
stow claude
- Open up this repository with VS Code and install any relevant recommended extensions
- Install Oh My ZSH!
- Import btt/kallgren.bttpreset
- Adjust trackpad rotate gesture settings (for knob-style volume control) (because it is not included in settings export):
- Rotate block time: 0.01
- Set needed rotation amount (degree): ~3
The preset includes:
- App toggle keybindings (on left hand on my keyboard) for commonly used applications, using Hyper (Shift + Ctrl + Option + Command)
- Window management keybindings (on right hand on my keyboard) using Hyper with logical placements (exploiting symbol combos to extend options, and using num layer for more complex or specific window configurations, see ZMK config)
- Touch gestures for volume and brightness control
- Clipboard history on Hyper + v
- Setup Alt + Tab to toggle windows within application
This is my preferred folder structure for my coding projects.
~/Code/
├── Work/ # Work related
├── Personal/ # Personal projects
└── Throwaway/ # Temporary tests and experiments
- iTerm2
- Monaco Nerd Font
brew install vim(Apple's shippedvimversion may not have thetermguicolorsfeature enabled)git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpmgit clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vimln -s ~/dotfiles/.vimrc ~/dotfiles/.tmux.conf ~mkdir -p ~/.vim/colors && cp ~/dotfiles/colors/kallgren.vim "$_"- Open and configure iTerm2:
- Switch to Monaco Nerd Font installed earlier
- Create separate profiles for the dark and light theme and import the iterm2/*.itermcolors files
- Add custom keybindings to toggle between the profiles! (Ctrl + Cmd + k/l)
- Fire up
tmux+vim - Install vim plugins by running
:PluginInstallinside vim - Install tmux plugins by pressing prefix (Ctrl + Space), I
- Done! ✌️ Switch between the light and dark color themes in vim, tmux and iterm2 at once from within vim with the single key binding ,bg
- Ferris Sweep: flash ZMK firmware