A Neovim and iTerm2 configuration inspired by Spacemacs.
Based on:
- init.vim from neovim-config by Jason Jones
- Theme from space-vim-dark by Liu-Cheng Xu
- Icon from Hyper by ZEIT
Not all of these are required. Just use what you like. If you put all of them together that is how I work.
- init.vim (Neovim config file)
- NeoSpace theme and Airline theme (not included in this repo. See neospace-theme
- iTerm2 settings file
- Sample .zshrc (needed to get a dark titlebar in iTerm2) & zsh-theme
- .icns icon file to replace the iTerm2 icon
- Font for use in iTerm and Neovim
You do not need to go through each section. Just follow the directions for what you want. One Neovim plugin, Deoplete, uses Python 3. Make sure you have it installed.
I recommend using brew if you are on macOS.
brew install neovim
If not see the downloads page.
Run this to install:
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
or see the vim-plug page for more information.
Navigate to ~/.config/nvim/
and place the init.vim
file in this repo in there.
Then run Neovim.
nvim
Install all the plugins.
:PlugInstall
Restart Neovim and you are good to go.
The NeoSpace theme and Airline theme should just work if the steps were followed for installing Neovim and init.vim above. The Neospace theme is loaded and added in the init.vim config.
If you'd like to use the NeoSpace theme without using my init.vim config visit the NeoSpace Github page.
If you would like my exact copy of all the iTerm2 settings take the com.googlecode.iterm2.plist
file and place it somewhere on your hard drive. Then go to iTerm2 > Preferences > General > Preferences
and check the box 'Load prefernces from a custom folder or URL' and browse to the .plist file.
If you just want the color theme see the neospace.itermcolors theme here.
This contains some code you might find useful. You'll probably need to copy the contents in to your own file. It will call the neospace zsh-theme.
This will add some coloring to iterm when in a git repo.
Place this file in your ~/.oh-my-zsh/themes
directory and make sure it is called from your .zshrc
file
To use this icon go to Applications/iterm.app
and highlight the app. Then press cmd/i
. Then drag this icon file to the top left icon in the window. You'll need to restart the app and redrag the icon to your dock to see the new icon.
Install the fonts and then use them in iTerm > Preferences > Profiles > Text > Font