22a's dotfiles
This repo contains configuration files for neovim, zsh, tmux, iTerm2, and macOS as well as provision scripts to bootstrap a new machine to create an adequately pleasant development environment.
-
An expensive apple computer*
* My personal and work machines are all macs so these dotfiles have been tailored specifically for neovim in iTerm2 on macOS. For *nix and/or vim (not neo) support check out the legacy linus branch.
The provision scripts have been written with a fresh macOS install in mind, it assumes a blank canvas. It will forcibly symlink over your dotfiles if you let it.
Install the xcode command line tools:
xcode-select --install
# Click accept, accept, etc.
Clone this repo:
git clone https://github.com/22a/dotfiles.git;
cd dotfiles
Run the provision scripts:
./scripts/provision/all.sh
-
Generate a new ssh key
ssh-keygen -t rsa -b 4096 -C "[email protected]"
-
Add it to ssh-agent
ssh-add -K ~/.ssh/id_rsa
-
Add it to GitHub https://github.com/settings/keys
-
-
Update the remote for this repo so we can push changes
git remote set-url origin [email protected]:22a/dotfiles.git
-
Import gpg key to gpg-suite
-
populate
~/.gituser
file[user] email = [email protected] name = Peter Meehan signingkey = DEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEF
where
signingkey
is the fingerprint for your gpg key, visible undergpg --list-keys
-
Disable spotlight keyboard shortcuts
System Preferences... -> Keyboard -> Shortcuts -> Spotlight -> Untick both
-
Point Alfred preferences directory to dropbox sync
-
Tell iTerm2 to use the config file in the root of this repo
General -> Preferences -> Load preferences from a custom foler or URL
Then close iTerm entirely:
cmd + alt + q
, and open it again -
Remove guest user
-
Add more desktop spaces