https://github.com/technetos/neovim_setup
:zap: My neovim setup :zap:
https://github.com/technetos/neovim_setup
Last synced: 5 months ago
JSON representation
:zap: My neovim setup :zap:
- Host: GitHub
- URL: https://github.com/technetos/neovim_setup
- Owner: technetos
- Created: 2018-03-11T18:00:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-30T12:15:04.000Z (over 2 years ago)
- Last Synced: 2025-05-20T20:38:22.872Z (about 1 year ago)
- Language: Vim script
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
# Dependencies
neovim python3 library
```
pip3 install --user neovim
```
# Getting Started
```
git clone https://github.com/technetos/neovim_setup.git ~/.config/nvim
cd ~/.config/nvim
git submodule update --init
```
# Update a Specific Plugin
```
cd ~/.config/nvim/bundle/plugin
git pull origin master
```
Commit the changes
# Update All Plugins
```
git submodule foreach git pull origin master
```
Commit the changes
# Add a Plugin
Navigate to the bundle directory
```
cd ~/.config/nvim/bundle
```
All plugins are stored as git submodules
```
git submodule add https://github.com/user/plugin.git
```
Add the plugin to `init.vim`
```
execute pathogen#interpose('bundle/plugin')
```
Commit the changes
# Remove a Plugin
Remove the entry in `.gitmodules`, the entry will look something like the
following
```
[submodule "bundle/plugin"]
path = bundle/plugin
url = https://github.com/user/plugin.git
```
Remove the entry in `.git/config`, the entry will look something like the
following
```
[submodule "bundle/plugin"]
url = https://github.com/user/plugin.git
active = true
```
Remove the plugin from the index
```
git rm --cached bundle/plugin
```
Remove the untracked plugin
```
rm -rf bundle/plugin
```
Remove the plugin from `init.vim` and commit the changes