For various dotfiles, installation scripts, and other setup I might want to do
Download and install iterm2 on a mac, or cygwin on windows
cd ~
git clone https://github.com/mitchellvitez/config.git
mv config/* .
mv config/.* .
bash config.sh
If on a mac, set iterm theme (preferences > profiles > colors) to "vital", and restart for key repeat defaults to take hold
The setup script was written for a mac setup with iterm2. It should work tolerably well on linux / cygwin, but isn't optimized for those cases.
If you're using a different itermcolors file and want to standardize with cygwin, check out .itermcolors to ANSI
In case I ever lose my memory, here's an overview of the most common operations. These should all be usable right after installation.
I have leader mapped to ,
FZF fuzzy file/pathname search ,f
Ag (search within files) ,a
Toggle comments on a line ,c
Enter normal mode from insert mode (in addition to Esc) jk or kj (just hit those two keys at about the same time)
: and ; both begin commands
Common command keys are case insensitive (W, Q)
The leader shortcut here is ctrlw
Vertical split ctrlw |
Horizontal split ctrlw -
Reload ~/.tmux.conf
ctrlw r
Movement between panes uses Vim mappings (Left is ctrlw h, down is ctrlw j etc.)