Skip to content

pkozlows/dotfiles

 
 

Repository files navigation

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.

About

Mac OS terminal setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 86.1%
  • Shell 11.5%
  • Vim Snippet 1.1%
  • Python 0.5%
  • Lua 0.5%
  • Ruby 0.2%
  • Other 0.1%