Skip to content
Projets

À propos

💻 Mes dotfiles personnels, organisés autour d’un Rakefile Ruby. Hammerspoon, Fish…

Outils de développement

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

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

Explorer des projets similaires

Chargement…