Skip to content

Latest commit

 

History

History
64 lines (54 loc) · 1.96 KB

README.md

File metadata and controls

64 lines (54 loc) · 1.96 KB

Dotfiles

These are my dot files. Your mileage may vary.

This setup has only been tested on MacOS, although a lot of it should work on Linux.

Setup

  1. Install deps

    1. Install Hammerspoon
    2. Install Karabiner Elements
    3. Install Alacritty.
    4. Install Homebrew
  2. Setup github and clone this repo

    1. Generate ssh key

      ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa -C "<your email address>"
      
    2. Copy ssh key to clipboard

      cat ~/.ssh/id_rsa.pub | pbcopy
      
    3. Add ssh key to github

    4. Clone this repo

  3. Run

    ./init/init.sh
    

    from this directory. Notes:

    • This will backup and disable all your customizations for vim, terminal, etc. You can add bash customizations to ~/.custom.rc. If you need other customizations, file an issue, and I can add a way to source custom vim, tmux, etc.
    • This will remap your keyboard kind of severely, but it's reversible if you find it too annoying. It's better for RSI and faster. In particular:
      • W+J => <shift>
      • V+J => <ctrl>
      • F+J simultaneously => <enter>
      • ; => <backspace>
      • D+; => ;
      • F+; => :
      • Key repeat rate is jacked up really high. Every millisecond counts ☺️
      • The right <command> button is remapped to be a launcher, so for instance pressing <right_command>-c launches Google Chrome. See karabiner.yaml for the exact shortcuts
      • A few other shortcuts. See karabiner.yaml
  4. Read the docs

Updates

Whenever you pull a new version, run sz in any open shells to update zsh settings, and vu to download new vim plugins. Then you can type gv in any running vim processes to reload vim settings.