Collection of my dotfiles.
-
Place config files in
~directory. Create~/vimfilesdirectory and createbackupandswapdirectories in it. -
Download plugin manager and save it in
~/vimfiles/autoloaddirectory. -
Copy
custom-snippetsdirectory to~/vimfilesto add custom snippets.
Make neovim read config files from home directory instead of default:
- Add below text to
~\AppData\Local\nvim\init.vim:
set runtimepath+=~/vimfiles,~/vimfiles/after
set packpath+=~/vimfiles
source ~/_vimrc- Add below text to
~\AppData\Local\nvim\ginit.vim:
set runtimepath+=~/vimfiles,~/vimfiles/after
set packpath+=~/vimfiles
source ~/_gvimrc-
After that, reload NeoVim, and run
:PlugInstallcommand to install plugins. Make sure that everything installs correctly. -
Reload, done.
- Create common venv for nvim python plugins
virtualenv nvim-venv - Activate
nvim-venv/Scripts/activate.ps1 - Install
pip install pynvim python-language-server[all] - In
_vimrcfile add two variables:g:python3_host_progto point topython.exeinnvim-venv;g:python_lspto point topyls.exeinnvim-venv.
Done.