Proyek
Lihat di GitHub
olimorris/dotfiles
Tentang
💻 Dotfiles pribadi saya yang dibangun dengan Ruby Rakefile sebagai intinya. Hammerspoon, Fish…
Alat pengembanganPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- +1
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Asli
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.conffrom 1Password to~/.dotfiles/.config/rclone/rclone.conf - Copy
.envfrom 1Password to~/.dotfiles/.config/env/.envand 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 --helpfor 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
~/.dotfileswithout pushing:
rake backup:packages
- To apply the files in
~/.dotfilesto 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
Jelajahi proyek terkait
Memuat…