git clone [email protected]:kallgren/dotfiles.git ~
- Install Homebrew
cd ~/dotfiles
brew bundle
(Installs applications listed in Brewfile)- Configure BetterTouchTool, Monitor Control and Flux to run at startup
ln -s ~/dotfiles/.vscode/settings.json ~/dotfiles/.vscode/keybindings.json ~/Library/Application\ Support/Code/User/
- Open up this repository with VS Code and install any relevant recommended extensions
- Install Oh My ZSH!
ln -s ~/dotfiles/.zshrc ~
- Import 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
- iTerm2
- Monaco Nerd Font
brew install vim
(Apple's shippedvim
version may not have thetermguicolors
feature enabled)git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
ln -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 .itermcolors files
- Add custom keybindings to toggle between the profiles! (Ctrl + Cmd + k/l)
- Fire up
tmux
+vim
- Install vim plugins by running
:PluginInstall
inside 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