Skip to content
プロジェクト

概要

💻 Ruby の Rakefile を中心に構成した個人用 dotfiles。Hammerspoon、Fish など…

開発ツール

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
+1
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Dotfiles

Oli's Dotfiles

My macOS dotfiles. Installation instructions are my own
Regular Neovim tweaks. Occasional workflow tips worth stealing :smile:
My current Neovim config can be found here

:computer: Setting up a new Mac

  • Ensure you're signed into iCloud and the App Store
  • Clone the dotfiles:
git clone https://github.com/olimorris/dotfiles.git ~/.dotfiles
  • Copy rclone.conf from 1Password to ~/.dotfiles/.config/rclone/rclone.conf
  • Copy .env from 1Password to ~/.dotfiles/.config/env/.env and update as required
  • Open up a terminal and run:
cd ~/.dotfiles && rake init
  • Grab a coffee. This will take a while

:wrench: What actually happens

  • Your Homebrew and macOS apps will be installed
  • Your application settings will be restored via tasks/mackup.rb
  • 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

:floppy_disk: Useful commands

  • To move files between Macs (run backup --help for the groups and options):
backup push --dotfiles --code    # Mac -> cloud, newer file wins, nothing deleted
backup pull --dotfiles --code    # cloud -> Mac, newer file wins, nothing deleted
backup sync --dotfiles --code    # push, then pull
backup reset --code              # make this Mac match the cloud, deleting local extras
  • To save this Mac's package lists into ~/.dotfiles without pushing:
rake backup:packages
  • To apply the files in ~/.dotfiles to this Mac:
rake setup             # links, app configs and packages
rake setup:links       # dotbot
rake setup:apps        # app configs
rake setup:packages    # brew, casks, App Store, gems, npm, pip, skills. Never uninstalls
rake setup:macos       # macOS defaults, not part of rake setup
  • To update everything and refresh the package lists:
cd ~/.dotfiles && rake update

:keyboard: 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

:clap: Thanks

関連プロジェクトを探す

読み込み中…