This will guide you through installing my development enviorment. This was written with MacOS in mind but should be available in Windows and Linux with little modifications.
This will go over:
- iTerm2
- Oh My Zsh
- Editors
brew cask install iterm2
Or, if you do not have homebrew Download and install iTerm2
iTerm2 has better color fidelity than the built in Terminal, so your themes will look better.
Get the iTerm color settings
- Solarized Dark theme (patched version to fix the bright black value)
Just save it somewhere and open the file(s). The color settings will be imported into iTerm2. Apply them in iTerm through iTerm → preferences → profiles → colors → load presets. You can create a different profile other than Default
if you wish to do so.
Scrolling isn't enabled in Vim for iTerm like it is in Terminal. This fixes that.
- iTerm2 > Preferences > Advanced
- Mouse > Scroll wheel sends arrow keys in alternate screen mode > change to yes
By default, word jumps (option + → or ←) and word deletions (option + backspace) do not work. To enable these, go to "iTerm → Preferences → Profiles → Keys → Load Preset... → Natural Text Editing → Boom! Head explodes".
More info here: https://github.com/robbyrussell/oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
When the installation is done, edit ~/.zshrc
and set ZSH_THEME="agnoster"
or just use my .zshrc file.
- Source Code Pro (I use this font @ 14pt)
- Powerline Font (Or download multiple fonts, this also includes Source Code Pro)
Open the downloaded font and press "Install Font".
Set this font in iTerm2 (iTerm → Preferences → Profiles → Text → Change Font), best to do this for "Font" and for "Non-ASCII Font".
Restart iTerm2 for all changes to take effect.
Install instructions can be found in my zshrc repo.
I use VS Code as my main editor. Check out my VSCode+Vim config for more info.
Sometimes it's quicker to edit a file in vim itself. My vimrc will walk you through the installation.