██████╗ ██████╗ ████████╗███████╗██╗██╗ ███████╗███████╗
██╔══██╗██╔═══██╗╚══██╔══╝██╔════╝██║██║ ██╔════╝██╔════╝
██║ ██║██║ ██║ ██║ █████╗ ██║██║ █████╗ ███████╗
██║ ██║██║ ██║ ██║ ██╔══╝ ██║██║ ██╔══╝ ╚════██║
██████╔╝╚██████╔╝ ██║ ██║ ██║███████╗███████╗███████║ Setup work environment on macOS
╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝ Made by: Hugo Ventura <https://github.com/hugovntr>
Homebrew must be installed on your system.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Note
The part of the script that is responsible for automatically installing homebrew is bugged and I haven't taken the time to debug it (mostly due to the fact that it requires manual user input)
Caution
Backup your existing installation before cloning this repository
# Clone the repository
git clone https://github.com/hugovntr/dotfiles.git ~/.dotfiles
# Navigate to the dotfiles folder
cd ~/.dotfiles/Once you are in the dotfiles folder, you may run the setup.sh script.
First, ensure that the script has the correct chmod
chmod +x setup.sh ./.setup/utils.shNext, run the script:
./setup.shI advise you to restart your machine once it's completed
Because of the way my brain is set up, I don't use vim default navigation key bindings.
Instead, I use jklm (Left, Up, Down, Right).
This configuration is the same to switch between panes in tmux, or to resize panes.
- The leader key is mapped to
Space
- The leader key is mapped to
Ctrl+QIf you are using a mac, I strongly suggest that you remapCapsLockalone toEscapeand when pressed with another key, toCtrl. It keeps those fingers close to the home row