Skip to content

marcusvb/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Usage

  1. Copy your saved ssh keys to ~/.ssh/

  2. xcode-select --install

  3. Install Homebrew (and git)

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    brew install git
  4. Clone this repository

    git clone git@github.com:marcusvb/dotfiles.git
    

    or symlink from dataStore:

    ln -s /Volumes/DataStore/repos ~/repos
    
  5. Setup packages/ folder

  6. Setup macos/ folder

  7. Remapping keys:

    • Karabiner

      Run setup.sh which:

      • maps the dictation key to execute the mute script
      • maps the ±/§ key -> `/~ (for laptop keyboard only)
      • Caps lock key -> ^ CMD Option (right control - macOS just doesn't specify this. Allows us to use this as a hotkey for Loop)
    • MacOs key remapping

      This needs to be manually set in the macOs settings. Navigate to system preferences > keyboard > navigation > shortcuts > keyboard > Move focus to next window. Set shortcut to CMD+§

  8. Go through the dirs and apply what you want, e.g. cd/vscode; ./setup.sh

  9. Open Loop application and import the keybinds.json

  10. Open ITerm > general > settings > load from /Users/marcus/repos/dotfiles/iterm and "import all settings and data". In Profiles load in the Hotkey Window.json

Crontab

  • backup_keepass.sh - contains a script to cp the keepass db

Known issue: crontab not having permissions to execute. Under Full disk access add cron

Git (git/)

  • .gitignore_global - Contains global gitignores, such as OS-specific files and several compiled files
  • .gitconfig - Sets several global Git variables

iTerm

  • Hotkey Window.json - contains the hotkey.json for the drop down window
  • com.googlecode.iterm2.plist - contains all other preferences for the iterm app

Karabiner

  • karabiner.json - contains the config for karabiner to map / apply actions on certain key events
  • mute-mic.script - self explanatory

Known issue: notifications not working. Open script editor and run display notification "hello" which activates notifications for osascript.

Loop

  • keybinds.json - Manually import this window mapping export

macOS Preferences (macos/)

  • setup.sh - Executes a long list of commands pertaining to macOS Preferences
  • com.marcus.remapkeys.plist - contains the remapping for dutch keyboard to similar US equivalent

VSCode (vscode/)

  • keybindings.json - keybindings config file
  • settings.json

ZSH (zsh/)

  • setup.sh - Symlinks the zshrc and .p10k.zsh to that of the home directory
  • ~/.zshrc contains all aliases, and functions for the terminal
  • .p10k.zsh contains the theme settings for POWER10K for zsh
  • Don't forget to install ohmyzsh, extra plugins for .p10k.zsh, and setup iTerm to use proper encoding for characters

Enabling Plugins & Install OhMyZsh (zsh-autosuggestions & zsh-syntax-highlighting)

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions

Helper Scripts (scripts/)

  • symlink.sh - Symlinks a file from a source path to a destination path in a verbose way, unlinking the existing file first, might it exist
Big thanks to github.com/rkalis for original source code

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published