dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

the config that makes me a productivity whiz 🧙‍♂️


my dotfiles

The files that make me a programming whiz 🧙‍♂️

Get started 🚀

git clone --recurse-submodules https://github.com/harsilspatel/dotfiles.git
cd dotfiles
./install

These dotfiles include configurations for:

  • Hammerspoon
  • BetterTouchTool
  • Homebrew
  • Karabiner-Elements
  • Neovim
  • Powerlevel10k
  • Tmux
  • VS Code
  • Z shell
  • and more...

Tips and tricks ✨

Here are a few tricks that help me be productive!

Redundant caps lock

In caps lock's stead, holding down shift works for capitalizing letters. So a common hack is to map to it to escape and control.

  • caps lock to escape
  • caps lock + <key> to control + <key>

Better shifting

Pressing just a shift (by itself) does nothing, it's useful only when pressed with other keys. So it can be mapped to parentheses which are used very frequently in programming.

  • left shift to (
  • right shift to )

Please note, this mapping is only for when a shift key pressed by itself. If pressed in combination with other key it works as it used.

Convenient navigation

Arrow keys are very frequently used but they require moving the hand away from the home row. We can create vim-like mappings:

  • right command + h to left
  • right command + j to down
  • right command + k to up
  • right command + l to right

Note that we're only mapping the right command and leaving the left one as is.

Screenshot 📸

screenshot