Welcome to my repo used for keeping my Neovim configuration files that are important for me whenever I setup a new system that I use neovim regularly on.
This project is licensed under the terms of the MIT license.
Plugins | Description |
---|---|
vim-plug | Minimalist vim plugin manager |
unite.vim | Used to create interfaces, dependency of vim-fugitive |
vim-airline | Lean & mean status/tabline that's light as air |
vim-airline-themes | A collection of themes for vim-airline |
vim-bufferline | super simple vim plugin to show the list of buffers in the command bar |
vim-fugitive | A Git wrapper for vim |
vim-sensible | Defaults everyone can agree on |
vim-colors-solarized | Precision colorscheme for the vim text editor |
ag.vim | ag, the_silver_searcher (better than ack, which is better than grep) |
ctrlp.vim | Fuzzy file, buffer, mru, tag, etc finder |
NERDTree | A tree explorer plugin for vim |
First, you'll (obviously) need Neovim, though ordinary Vim may work also (but the following instructions will not work for Vim). You need to clone this repository and move it to $XDG_CONFIG_HOME/nvim.
In order to use vim-colors-solarized, you will need to download and install the solarized colorschemes for your terminal emulator. Without the solarized colorscheme enabled, your vim session will look very ugly. If you really don't want to use the solarized colorscheme or can't use it because your terminal emulator doesn't support it, comment lines 51-53 and line 67, and uncomment line 72 in init.vim.
Vim-airline is set up to use powerline symbols. If you don't already have pre-patched Powerline fonts, you can clone the powerline/fonts repo and run install.sh from inside the repository. Clone it with:
git clone https://github.com/powerline/fonts
And install it with:
cd fonts
bash install.sh
You'll then need to set a Powerline-patched font as your terminal font. I use "Ubuntu Mono deriative Powerline Regular" 14pt. If you are on OS X, Menlo seems like a popular choice.
CtrlP.vim is set to use ag.vim, which depends on the_silver_searcher being installed. You'll need to install the_silver_searcher with your Linux distro's package manager or Homebrew or Ports for Mac. To install on Mac, install Homebrew and then run:
brew install the_silver_searcher
On Ubuntu or Debian, run:
sudo apt-get install silversearcher-ag
On Fedora, run:
sudo dnf install the_silver_searcher
On Arch Linux, run:
sudo pacman -S the_silver-searcher
git clone --recursive https://github.com/Tenn1518/neovim-config ~/.config/nvim
If you get an error when entering neovim, don't worry. That's to be expected, since your plugins aren't installed yet. Install them with:
:PlugInstall
inside neovim. That's it! Surprised?
I don't really know a simple way to clone the repo and move it to ~/AppData/Local/nvim since I don't have a Windows system to test that, so just clone this repository and move the folder to ~/AppData/Local/nvim.
Add more plugins and stuffs
That's pretty much it.
Plugins are managed by vim-plug, a minimalist vim plugin manager. To install plugins, run ":PlugInstall". To update plugins, run ":PlugUpdate".