anyu / workstation

new comp setup scripts & dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Workstation

  1. Generate SSH key for GitHub and clone repo
  2. Run ./.setup.sh

Manual steps

Prerequisites

  • Install Homebrew
  • Install 1Pass

iTerm2

  • Preferences > Profiles > Text > Font > size 13
  • Preferences > Profiles > Colors > Color Presets > Import > import .itermcolors file

macOS settings

  • Set up hot corners
  • Update keypress speeds
    • Keyboard > set Key Repeat to Fast; Delay Until Repeat to Short
  • Set Modifier Keys > USB Keyboard > Swap Option and Command keys

Alfred

  • Replace Spotlight shortcut with Alfred

      1. Keyboard shortcuts > Spotlight > uncheck Show spotlight search
      1. Alfred > Preferences > change Alfred hotkey to cmd+space
  • Activate PowerPack

  • Import Alfred Workflows - download & double-click

Chrome plugins

JetBrains

Install command-line launcher for JetBrains IDE, eg. Goland.

  1. Add script at /usr/local/bin/goland; make executable
#!/usr/bin/env bash

open -na "<path to binary>" --args "$@" .
  1. Alias god to script path
alias god=/usr/local/bin/goland

Other Jetbrains config

  • Preferences > Plugins > Marketplace
  • Enabling key repeat (eg. for vim plugin)
    • Intellij Ultimate Edition: defaults write com.jetbrains.goland ApplePressAndHoldEnabled -bool false
    • Intellij Community Edition: defaults write com.jetbrains.intellij.ce ApplePressAndHoldEnabled -bool false
    • Goland: defaults write com.jetbrains.intellij ApplePressAndHoldEnabled -bool false
  • Resolve keymap conflict between IdeaVim and Intellij:
    • Preferences > search vim:
      • ^G: Add Selection for Next Occurrence > set Handler to IDE

About

new comp setup scripts & dotfiles


Languages

Language:Shell 75.0%Language:Ruby 17.7%Language:Vim Script 7.3%