- Download Google Chrome at website Set as default browser
- Sign in to Chrome user accounts
- Dock
- Remove: System Preferences (accessible from top-left logo anyway), Safari, Mail, Maps, Contacts, Photos, Reminders, iTunes, Podcasts, AppleTV, News, Notes, and App Store. Remember that these are accessible via Cmd + (space) (spotlight search)
- In System Preferences, set automatic hide and show
- In System Preferences, uncheck "show previous apps"
- Keyboard
- Key Repeat = Fast Delay Until Repeat = Short
- Turn off backlight after 10 seconds of inactivity
- Modifier Keys: Caps Lock --> Control (makes tmux life SO much easier)
- Trackpad
- Tap to Click = On (feels nicer)
- Uncheck Smart Zoom and Rotate (Scroll & Zoom tab)
- Finder
- Sidebar: home, Downloads, Desktop, Applications
- new Finder window shows: home
- show all filename extensions
- Menubar
- Show Bluetooth in menubar
- Show battery % in menubar
- General
- Set accent/highlight color to red
- Scroll bar: always
- Spotlight
- Uncheck: Fonts, Images, Documents
- Messages
- turn off sounds and notification center
- Mail
- Use either spark (+ TickTick) or outlook (since college email tied to msft)
- When you wish to switch primaries: change primary (through apple mail app), setup open at login, set notification settings, consider tasks app change
- Apple mail - default primary
- Desktop
- create folder Screenshots
defaults write com.apple.screencapture location /Users/kesavan/Desktop/Screenshots
- Command line tools:
xcode-select --install
- Install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
websitebrew doctor
to make sure install was successful
brew install git
brew install node
- a good read for git [here] (https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup)
- Terminal: Homebrew theme, change font size
git config --global user.name "kvenkatesh5"
-git config --global user.email "..."
brew install vim
installs dependencies for vimbrew install nvim
because I want to use neovim!brew install zsh
but for macOS Catalina it should already be set as default shell type in casesh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
for oh-my-zshZSH_DISABLE_COMPFIX=true
in zshrc BEFORE oh-my-zsh is sourced then updateupgrade_oh_my_zsh
- Disable ZSH noises (see .zshrc source)
- resolves permission issues as per this
- Install Spotify
- install Lastpass
- install Zoom
- remove launchpad from Dock, it is just a hotkey away (f4 (not with fn))
- ./.macos file (see [https://github.com/mathiasbynens/dotfiles])
- read this
- maybe try this out with a harmless bash script just to make sure we know what we are doing
- add this ./.macos script to the dotfiles directory and comment out commands either don't know or don't need
- cd and then make symlink to file in home
- go to dotfiles and change permission of original file (in dotfiles directory) via
chmod +x ./.macos
- go to home and run the file
./.macos
- install Messenger, Whatsapp, Slack for mac, Discord for mac, Twitter
- install f.lux for screen brightness management (a bit annoying but helps eyes)
- install Firefox Developer Edition
- install Sublime Text 3, Visual Studio Code
- install Geany as a potential tool for editing
- instlal Dropbox
- install settings sync extension and update environment
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false
- iTerm2:
brew cask install iterm2
or via website - *this is optional since native mac terminal is decent too
- open at login, hide from cmd+t, hotkey currently using is SHFT+CRTL (remember =caps lock!) + T
- I think one idea is just to keep iterm hidden from cmd+tab, disable guake style dropdwon, but set ctrl+t hotkey toquickly open all windows
ln -s
creates symbolic link,-v
makes it verbosemv ~/.gitconfig ~/dotfiles/.gitconfig
ln -sv ~/dotfiles/.gitconfig ~
sets up symbolic link
ln -sv ~/dotfiles/.vimrc ~/.vimrc
-
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim``` - useful link for [vim plug](https://github.com/junegunn/vim-plug)
mkdir ~/dotfiles/nvim
mkdir ~/.config
ln -sv ~/dotfiles/nvim ~/.config/
mv .zshrc dotfiles
ln -sv ~/dotfiles/.zshrc ~/.zshrc
- add to .zshrc
if type nvim > /dev/null 2>&1; then
alias vim='nvim'
fi
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
to download vimplug- look at init.vim file for neovim setup (has brief documentation as well)
- note
:so %
inside nvim sources init.vim file
- note
brew install tmux
- add tmux plugin to zshrc
- see here
- basics learned here and here
- check out the hotkeys in oh-my-zsh
- plug 'christoomey/vim-tmux-navigator' in init.vim
- after making .tmux.conf file, run
ln -sv ~/dotfiles/.tmux.conf ~/.tmux.conf
- use this for .tmux.conf to incorporate vim here
- to source the file, go into tmux and reach command prompt (via
C-b :
) and typesource-file ~/.tmux.conf
brew install tmux
- plug 'christoomey/vim-tmux-navigator' in .vimrc
- after making .tmux.conf file, run
ln -sv ~/dotfiles/.tmux.conf ~/.tmux.conf
- use this for .tmux.conf to incorporate vim here
- to source the file, go into tmux and reach command prompt (via
C-b :
) and typesource-file ~/.tmux.conf
brew cask install basictex
- The alternate option is
mactex
but I want to use vim as my editor so I don't need all the extra stuff (latex ide, etc.) that this installs
- The alternate option is
- when missing a package (say for example, missing
hyphenat.sty
), runsudo tlmgr install hyphenat
or whatever package it is in particular, tlmgr is texlive manager
- https://github.com/lervag/vimtex
pip3 install neovim-remote
- Plug vimtex
- Change zshrc alias to
vim=nvim --listen VIM
due to lervag/vimtex#1296 sudo tlmgr install latexmk
brew cask install xquartz
- install R and Rstudio from internet
- https://adoptopenjdk.net/
- choose OpenJDK 8 (LTS) and Hotspot for JVM
- Get the jetbrains suite using a college email!
- Download ideavim plugin and enable it
- Write .ideavimrc
- Inside editor, hit : and write source ~/.ideavimrc to source the file
- Update Ctrl+R command to be IDE not vim
- Make sure to change codestyle
- Not sure if I like vim in Jetbrains; I think if you want vim, just use vim!
- CONCEPT: MacVim uses vim, I have set up terminal to use neovim
- continue to use vimplug, but run the vim command given on https://github.com/junegunn/vim-plug
- also, start switching to jj escape rather than jk escape
- the defaults written in using the .macos script still maintain
- symlink a .gvimrc file
- set in System Preferences that function keys have standard functionality (helpful for building/running files)
- set a gvimrc.custom.after to take care of reset gui variables
- set up bits/stdc.h -> https://github.com/tekfyl/bits-stdc-.h-for-mac
- Resources:
- https://www.youtube.com/watch?v=MpUvdLD932c
- https://queirozf.com/entries/jupyter-kernels-how-to-add-change-remove
- to create a conda environment from a yml script:
conda env create -v -f name-here.yml
- to add environment kernel to jupyter
python -m ipykernel install --user --name tensorflow --display-name "Python 3.7 (tensorflow)"
- follow Heaton's tutorial to setup Tensorflow (if Tensorflow updates, expect that the video will update also)
- Filezilla
- to start up python, command
module load python
, negative sign ahead of module load (ml) removes it - to start up anaconda,
ml anaconda
- Mathematica
- Matlab
- MATLAB (student license, university affiliated) -
userpath('Users/kesavan/Matlab')
, since default is inside documents
- MATLAB (student license, university affiliated) -
- Zotero
- Install dynalist for organizing work/tasks
- follow these instructions
https://education.github.com/pack/offers?sort=popularity&tag=All
- HazeOver is an option, but I didn't like it so much
- https://github.com/Homebrew/homebrew-cask-fonts
- Classic Console, Terminus TTF (nice for competitive programming, macvim), Hack, Fira Code
- Bartender 3
- Magnet Pro
- Parallels
- Install princexml into /Users/kesavan/opt/prince, see link https://www.princexml.com/doc/10/installing/
- carefully add this directory /bin to your path (i added line in zshrc)
- git config - fancier
- git ignore - detailed
- Node (npm)
- LSP + autocompletion