Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/plusiv/my-neovim-conf
Personal Neovim configuration
https://github.com/plusiv/my-neovim-conf
Last synced: 16 days ago
JSON representation
Personal Neovim configuration
- Host: GitHub
- URL: https://github.com/plusiv/my-neovim-conf
- Owner: plusiv
- Created: 2022-11-16T06:03:24.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-25T15:03:49.000Z (about 1 year ago)
- Last Synced: 2024-04-16T01:41:40.013Z (9 months ago)
- Language: Vim Script
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Personal NeoVim Configuration
## Installation
For installing the configuration you need to create a symlink or copy the `init.vim` file inside the project folder to your NeoVim configuration path.```shell
cd my-neovim-conf
ln -s $(pwd)/init.vim $HOME/.config/nvim/init.vim# Create a symlink for plugins configs
ln -s $(pwd)/plugins.vim $HOME/.config/nvim/plugins.vim# Create a symlink for additional configs dir
ln -s $(pwd)/additional-conf $HOME/.config/nvim/additional-conf# Create a symlink for lua configs dir
ln -s $(pwd)/lua $HOME/.config/nvim/lua
```## Using custom Python env
To use a custom Python interptreter for nvim you must to create a new env with python `venv` .
Using the root folder for vim configuration is recomended. Additionally, the `env` folder must be called `py_nvim_env`.```shell
NVIM_PYTHON_ENV=py_nvim_env
# Creates a new env file
python3 -m venv $NVIM_PYTHON_ENV
# Activare env file
source ./$NVIM_PYTHON_ENV/bin/activate
# Install neo vim python dependency
python -m pip install neovim
# Create symlink for python interptreter
ln -s $(pwd)/$NVIM_PYTHON_ENV $HOME/.config/nvim/$NVIM_PYTHON_ENV
# Deactivate environment (optionally)
deactivate
```