This is my personal setting for Neovim.
Most essentially, Install Neovim
Then Put the total .config
folder in the home directory.
Then neovim will be open by the commandnvim
.
For using python plugins, neovim modual in python must be installed (pip2 and pip3 are needed):
sudo pip2 install --upgrade neovim
sudo pip3 install --upgrade neovim
tips: remember to update neovim modual and neovim itself regularly.
vim-plug must be installed for automatically managing your neovim's plugins.
The installation is very easy (for only one command): Installation
Then enter the neovim and execute:
:PlugInstall
All the plugins will be installed properly
Nyaovim is a perfect GUI fore-end for neovim made by Electron, which can be easily extended. The markdown-preview is available in Nyaovim.
It's easy to install(you should firstly install npm):
npm install -g nyaovim
Then use the command nyaovim
for opening it.
Or use electron-packager
to package the NyaoVim and install it to your system's desktop(for using it as an app).
For correctly show the icons, nerd-font should be installed. It's alreadily patched in the most popular programming fonts, so just pick one here.
For nyaovim, you should choose the version without "mono", and for neovim in terminal it should contain "mono".
Then you should set the font(non-mono) in NyaoVim(~/.config/nyaovim/nyaovimrc.html
), or choose the right font in your terminal(mono).
- All configuration file is in
~/.config/nvim/
(same as~/.vim
for vim), and - the initialization script is
~/.config/nvim/init.vim
(same as~/.vimrc
for vim), and - plugins installed by
vim-plug
are in~/.config/nvim/plugged/
- And the configuration files for NyaoVim are in
~/.config/nyaovim/
It's necessary to read the total init.vim
and read the helping files by :h <plugin-name>
for knowing how to use all the shortcuts and plugins. Otherwise, all the configuration/plugins is meaningless for being deployed, so just try everything and make it perfect for yourself!
After getting to knowing how to use the plugins installed, the specific configuration is needed for some completion plugins:
- For using c++ completion, you should properly install clang and set the correct path of libclang and headers to enable the deoplete-clang: deoplete-clang
- For using python completion(deoplete-jedi), jedi backend should be installed by typing the command:
pip install jedi
- For making the plugin Neomake(grammar checker/automatical compiler) do the right thing in your style, configure the neomake as you like , such as compiling arguments, etc..
Add the description for using this.