timhwang21 / dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotfiles

Setup

Note: for personal use. Don't blame me if this screws up your settings.

git clone https://github.com/timhwang21/dotfiles.git
cd dotfiles
# Initial setup: install from brew, git, etc.
bin/bootstrap-download
# Install from local files
bin/bootstrap

MacOS Applications

Essentials

Personal

Work

Other manual steps

SSH key

# Personal -- swap with work email when needed
ssh-keygen -t ed25519 -C "timhwang21@gmail.com"
eval "$(ssh-agent -s)"
ssh-add --apple-use-keychain ~/.ssh/id_ed25519

# Follow per-site instructions below
touch ~/.ssh/config
open ~/.ssh/config

# Add to each site's config
# https://github.com/settings/ssh/new
# https://bitbucket.org/account/settings/ssh-keys/
pbcopy < ~/.ssh/id_ed25519.pub

# Test
ssh -T git@github.com
ssh -T git@bitbucket.org

.ssh/config contents:

Host github.com
  AddKeysToAgent yes
  UseKeychain yes
  IdentityFile ~/.ssh/id_ed25519

Host bitbucket.org
  AddKeysToAgent yes
  IdentityFile ~/.ssh/{ssh-key-name}

Settings

defaults write -g InitialKeyRepeat -int 10 # normal minimum is 15
defaults write -g KeyRepeat -int 1 # normal minimum is 2
  • Displays > Medium
  • Trackpad > Secondary click > Click in Bottom Right Corner
  • Trackpad > Natural scrolling off

TODO

LaTeX

Needed for Pandoc PDF export.

# first install BasicTeX - http://www.tug.org/mactex/morepackages.html
sudo tlmgr update --self
sudo tlmgr install collection-fontsrecommended

About


Languages

Language:Vim Script 60.9%Language:Shell 39.1%