Skip to content

💻 My personal dotfiles - utilising a sick Ruby Rakefile

Notifications You must be signed in to change notification settings

olimorris/dotfiles

Repository files navigation

Dotfiles

Oli's Dotfiles

My macOS dotfiles. Installation instructions are my own

Regular Neovim tweaks. Occasional workflow tips worth stealing 😄

💻 Setting up a new Mac

  • Ensure you're signed into iCloud and the App Store
  • Download the ~/Code and ~/.dotfiles folders from online storage
  • Open up a terminal and run:
cd ~/.dotfiles && rake install
  • Grab a coffee. This will take a while

🔧 What actually happens

  • Your Homebrew and macOS apps will be installed
  • Your application settings will be restored with Mackup
  • Your dotfiles will be restored with Dotbot
  • Your fonts will be installed
  • Your custom launch agents will be installed
  • Your development environments will be installed and configured

💾 Useful commands

  • To backup your dotfiles:
cd ~/.dotfiles && rake backup
  • To update and backup your dotfiles:
cd ~/.dotfiles && rake sync

⌨️ Useful keymaps

I implement a Hyperkey (ctrloptcmd) to allow for faster application toggling and easier to remember app shortcuts.

Click to see the app shortcuts
  • Create a temp email address Hyperkeyshifte
  • Hide my email Hyperkeyshifth
  • Lock screen Hyperkeyshiftl
  • Pick color with ColorSlurp Hyperkeyshiftp
  • Search files Hyperkeyshiftf
  • Search Raindrop bookmarks Hyperkeyshiftb
  • Search screen (uses OCR) Hyperkeyshiftr
  • Show Cleanshot history Hyperkeyshiftc
  • Show clipboard history Hyperkeyshiftv
  • Toggle dark mode Hyperkeyshiftd
  • Windows - Center optc
  • Windows - Maximise optm
  • Windows - Left half Hyperkey
  • Windows - Right half Hyperkey
  • Windows - First third Hyperkey
  • Windows - Last two thirds Hyperkey

Thanks to this great Reddit post

👏 Thanks