This one line script will eventually replace most of the manual install listed right below.
./install.sh
- Install Xcode first
- Download iTerm here
- Launch iTerm2
- Copy/paste iterm/Meslo Slashed/ fonts into your system font directory
- In iTerm2 go to Preferences > Profiles > Text > Font > Change Font and change to:
- SourceCodePro Powerline Awesome Regular
- 14 pt font size
- Go to Preferences and check "Load preferences from a custom folder or URL"
- Click "Browse" next to the checkbox above and load the plist in this repo: iterm2/com.googlecode.iterm2.plist
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Note: might need to install the Homebrew Bundler manually before running the next step. If so, run: brew tap Homebrew/bundle
This will install NVM, Yarn, Zsh, Zsh Completions, etc
brew bundle
cp .bash_profile ~/.bash_profile
. ~/.bash_profile
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
Open vim ~/.tmux.conf and add
> set -g default-terminal "screen-256color"
Migrate any exports from ~/.bash_profiles to ~/.zshrc
cp .vimrc ~/.vimrc
vim +PluginInstall +qall (execute from the terminal. not from inside vim)
Ctl t
Cmd+d
Cmd+Shift+d
Cmd+[ to move to the left pane Cmd+] to move to the right pane
Cmd+Shift+d
vi **/News.js
Say that you have the following structure in your current directory: toolbox/iterm/docs. You can type shorthands and they will get auto completed after pressing TAB
cd tool/term/doc
ls src/**/
ls src/**/*.js
This will expand your env var
$PATH <kbd>Tab</kbd>
You can start typing kill and then name of process and Zsh will give you a list of possible processes to kill and their respective PID.
kill nod<kbd>Tab</kbd>
Say you wanted to invoke the Help guide for ls
ls -<kbd>Tab</kbd>
alias | grep git
Read more about cool stuff we can do in VIM here:
- [https://statico.github.io/vim3.html](Vim after 15 Years)
,t This will open up the search at the bottom of the screen. Simply start searching.
; This will open up the search at the bottom of the screen. Simply start searching.
Shift+t
g+t
Ctrl+n
Ctrl+w+w
g+d
Please note that you need to make sure bashmarks.sh has been patch with the local copy of
bashmarks.sh which adds two new functions: _d
and bashmarks
as there were name
collisions when used within oh-my-zsh
bashmarks
cd /directory/to/bookmark/my_project
s my_proj
g my_proj
p my_proj
_l
_d my_proj
- copy ~/.oh-myzsh
- copy ~/.vimrc
- copy ~/.zshrc