Primary
Device: Macbook Air
OS: MacOS(Sonama)
Ram: 8gb
Chip: Apple M1
Tools:
- Arc Browser
- AdBlock
- Vimium (operate your browser with Vim controls)
- Maccy (clipboard manager)
- Homerow (Navitgate accross Mac OS applications with Vim controls)
- KindaVim (Use Vim controls across text inputs in Mac OS)
Secondary
Device: Ipad 9
OS: IpadOS 17
Tools:
- WorkingCopy
- Install Apple's CLI tools
bash xcode-select --install
- Clone repo into a new directory
git clone https://github.com/vgnshiyer/.dotfiles ~/.dotfiles
- Install Homebrew, and software listed in brewfile
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Add Homebrew to PATH
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
# Install software from Brewfile
brew bundle --file ~/.dotfiles/Brewfile
- Configure git
# Set your global Git username and email
git config --global user.name "YOUR_NAME"
git config --global user.email your@email
# Set Git to use the OSX keychain as the credential helper [Credentials will be stored] (`store` option will be stored as plaintext)
git config --global credentials.helper osxkeychain
- Track changes with stow
stow .
- Install fish cli
# install fish
brew install fish
# add fish to shells
echo /opt/homebrew/bin/fish | sudo tee -a /etc/shells
# change default shell
chsh -s /opt/homebrew/bin/fish
# Update fish config
stow . --force
- Install alacritty
brew install --cask alacritty
# add fonts
brew tap epk/epk
# install sf-mono-nerd-font
brew install --cask font-sf-mono-nerd-font
# install starship
brew install startship
- Install tmux
# Install tmux
brew install tmux
Have this clutter-free look to mac os
- Automatically Hide dock & menu bar
- Configure keyboard shortcuts
keyboard shortcutes --> Mission Control
1. ⌥ Option + 1 : switch to window 1
2. ⌥ Option + 2 : switch to window 2
3. ⌥ Option + 3 : switch to window 3
- Install yabai
# Install yabai: https://github.com/koekeishiya/yabai
brew install koekeishiya/formulae/yabai
# Install skhd
brew install koekeishiya/formulae/skhd
# Start services
skhd --start-service
yabai --start-service
- Link vscode settings
# remove existing files
rm ~/Library/Application\ Support/Code/User/settings.json ~/Library/Application\ Support/Code/User/keybindings.json
# link settings
ln -s /Users/vgnshiyer/.dotfiles/vscode_settings/settings.json /Users/vgnshiyer/Library/Application\ Support/Code/User/settings.json
ln -s /Users/vgnshiyer/.dotfiles/vscode_settings/keybindings.json /Users/vgnshiyer/Library/Application\ Support/Code/User/keybindings.json
- I use vim also. Replicate my vim setup with my
.vimrc
file. Install vim-plug as the plugin manager for vim. (Deprecated: I use nvim now)
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
-
Open
.vimrc
and type the command:PlugInstall
. -
Installing language servers: When opening a new file, type
:LspInstallServer
. This installs the appropriate language server for the filetype.
Note: Do not add .vim/
to source control. Vim-plug manages updates to plugins in the .vim/plugged/
directory via git.
- Add pokefetch to your terminal session (Display a random pokemon along with system info to your terminal)
sudo ln -s ~/.dotfiles/bin/pokefetech/pokefetch.py /usr/local/bin/pokefetch
-
Add them to your fish config (or zshrc) here.
-
Notetaking: I have commands
zet
,tday
andsb
for my notetaking workflow which is integrated with Obsidian for cross-platform access.
zet
--> opens a quick note with my default template.tday
--> opens today's daily note.sb
--> this command opens my second-brain directory which consists of all my notes. Find it here