Skip to content

vr4b4c/dotfiles

Repository files navigation

Dotfiles

Config

Secret key for encryption is stored in 1Password > Dotfiles > DOTFILES_SECRET_KEY

Backup

  • Export Brew bundle brew bundle dump --force
  • Commit and push dotfiles changes
  • Run DOTFILES_SECRET_KEY=*** script/backup-secrets.sh
  • Export Postico connections

Install

  • Install Brew
  • Download dotfiles as .zip and unzip into ~/dotfiles
  • cd into dotfiles directory
  • Read secret key for encryption from 1Password > Dotfiles > DOTFILES_SECRET_KEY
  • Run DOTFILES_SECRET_KEY=*** script/restore-secrets.sh
  • Install git brew install git
  • Clone dotfiles: git clone git@github.com:vr4b4c/dotfiles.git $HOME/dotfiles
  • Install rcm brew install rcm
  • Decide which hostname to use (supported hostnames are host-* directories, -B switch in the next command)
  • Setup dotfiles: RCRC=$HOME/dotfiles/rcrc rcup -B vrabac
  • Install Brew cask packages with Cmd + Space

OSX

  • Dock on the left
    • System Preferences > Dock > Position on screen > Left
  • Inverse mouse scroll
    • System Preferences > Trackpad > Scroll & Zoom > (uncheck) Scroll Direction: Natural
  • Keyboard speed
    • System Preferences > Keyboard > Key repeat > Slide to Fast
    • System Preferences > Keyboard > Delay until repeat > Slide to Short
  • Disable fn key to trigger input source change System Preferences > Keyboard > Pres fn key to: Do Nothing
  • Toggle auto-hide dock Cmd + Alt + D
  • Add second virtual Desktop ^ + arrow up clik on the + icon on the right side
  • Switch to Desktop N System Preferences > Keyboard > Keybboard Shortcuts... > Mission Control > Mission Control > (check) Switch to Desktop N

Oh my zsh

iTerm2

  • Download and install themes
  • Select theme in iTerm2 > Settings > Profiles > Colors > Color presets
  • Set transparency iTerm2 > Settings > Profiles > Window > Transparency = 10
  • Allow clipboard usage iTerm2 > Settings > General > Selection > (check) Applications in terminal may access clipboard
  • Mute sound iTerm2 > Settings > Profiles > Default > Terminal > (check) Silence bell

Rectangle

  • Start on login Rectangle > Preferences... > System (3rd tab) > (check) Launch on login

Croatian/US keyboard for Mac

  • Instalation instructions
  • Restart the machine for the layout to be registered with the systemselect
  • Select the new layout (listed under Others)

Tmux

  • catppuccin theme plugin interferes with other themes
    • on first install, set one of catppuccin themes and run tpm plugin installation procedure
  • Italic font fix

Neovim

  • tsserver LSP system depenencies
    • Install nodejs plugin asdf plugin add nodejs
    • Install default nodejs version asdf install nodejs X.Y.Z
    • tsserver

Links

Docs

Releases

No releases published

Packages

No packages published