2020-12-15 21:03:30 +00:00
|
|
|
# Vim config
|
|
|
|
Personal configuration and plugins for Vim
|
|
|
|
|
2022-04-28 10:00:56 +01:00
|
|
|
## Installing neovim AppImage
|
|
|
|
```bash
|
|
|
|
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
|
|
|
|
chmod u+x nvim.appimage
|
|
|
|
mv nvim.appimage "$HOME/bin/."
|
|
|
|
# ./nvim.appimage
|
|
|
|
```
|
|
|
|
|
|
|
|
### To use with existing `~/.vimrc`
|
|
|
|
Add the following lines to neovim init file:
|
|
|
|
> set runtimepath^=~/.vim runtimepath+=~/.vim/after
|
|
|
|
> let &packpath = &runtimepath
|
|
|
|
> source ~/.vimrc
|
|
|
|
|
|
|
|
Using the following commands:
|
|
|
|
> :call mkdir(stdpath('config'), 'p')
|
|
|
|
> :exe 'edit '.stdpath('config').'/init.vim'
|
|
|
|
|
|
|
|
From [vim documentation](https://neovim.io/doc/user/nvim.html#nvim-from-vim)
|
|
|
|
|
|
|
|
### Enabling python support
|
|
|
|
Install `pynvim` package for python
|
|
|
|
|
2021-02-22 11:15:12 +00:00
|
|
|
## Miscellaneous settings
|
|
|
|
- Modifications in `pack/plugins/start/python-syntax`
|
|
|
|
- Edit `.git/modules/pack/plugins/start/python-syntax/info/exclude` to exclude `doc`
|
|
|
|
|