GloryVim is a minimalistic and powerful configuration of NeoVim, focused on development in Python, Lua. This project aims to create a user-friendly development environment with a focus on performance and extensibility.
Before installation, make sure you have the following components installed:
1.Neovim: version 0.5 or higher. 2.Node.js: required for some plugins to work.
3.Python 3: To support Python development.
4.Git: for cloning a repository.
5.Packer: package manager for Neovim (will be installed automatically).
If you don't already have Neovim installed, run the following commands in a terminal: Ubuntu/Debian:
sudo apt update
sudo apt install neovim
Arch Linux:
sudo pacman -S neovim
Fedora:
sudo dnf install neovim
For macOS using Homebrew:
brew install neovim
Windows: Step 1: Download Neovim
- Visit the Neovim Releases page.
- Download the latest release in
.zip
format for Windows (look for a file named likenvim-win64.zip
).
Step 2: Extract Neovim
- Create a directory where you want to install Neovim. A common location is
C:\Program Files\Neovim
. - Extract the contents of the downloaded
.zip
file into the newly created directory.
Step 3: Add Neovim to the System PATH
- Right-click on "This PC" or "My Computer" and select "Properties".
- Click on "Advanced system settings".
- In the System Properties window, click on the "Environment Variables" button.
- In the Environment Variables window, find the
Path
variable in the "System variables" section and select it, then click "Edit". - In the Edit Environment Variable window, click "New" and add the path to the Neovim
bin
folder. This is usuallyC:\Program Files\Neovim\bin
. - Click "OK" to close all dialog boxes.
Step 4: Verify Installation
- Open PowerShell or Command Prompt.
- Type
nvim
and press Enter. If Neovim starts, the installation was successful!
Make sure Node.js is installed. To install, you can use nvm (Node Version Manager):
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
source ~/.bashrc
nvm install node
For Windows, you can download the installer from the Node.js website(https://nodejs.org/en/download/package-manager) and follow the instructions.
Make sure Python 3 is installed. To install use: For Ubuntu/Debian:
sudo apt install python3 python3-pip
Fedora:
sudo dnf install python3 python3-pip
For macOS using Homebrew:
brew install python
Windows: (https://www.python.org/) Download the latest Python release from the Python website. Run the installer and make sure to check "Add Python to PATH".
Open a terminal and run the following command to clone the repository:
git clone https://github.com/GitW1n/GloryVim.git ~/.config/nvim
For Windows
- Press
Win + X
and select "Windows PowerShell" or "Command Prompt".
- Navigate to your desired configuration directory for Neovim (for example,
C:\Users\<YourUsername>\AppData\Local\nvim
). You can use the following command:cd $HOME\AppData\Local\nvim
If Packer is not installed, you can install it like this:
git clone --depth 1 https://github.com/wbthomason/packer.nvim \
~/.local/share/nvim/site/pack/packer/start/packer.nvim
For Windows:
git clone --depth 1 https://github.com/wbthomason/packer.nvim `
$HOME\AppData\Local\nvim\site\pack\packer\start\packer.nvim
Open Neovim and run the following command to install the plugins:
:PackerInstall
Treesitter is required for improved syntax highlighting and other code features. Make sure you have gcc
or clang
compiler installed, as Treesitter uses them to build parsers.
For Ubuntu/Debian:
sudo apt install build-essential
Fedora:
sudo dnf install gcc gcc-c++
For macOS using Homebrew:
brew install gcc
Windows:
- Make sure you have
nvim-treesitter
installed: Make sure thenvim-treesitter
plugin is added to yourplugins.lua
file:
use 'nvim-treesitter/nvim-treesitter'
- Opening Neovim: Launch Neovim and run the command to install the plugins:
:PackerInstall
- Installing parsers: To install missing parsers, open Neovim and run the following command:
:TSInstall <language>
- Replace with your preferred language (eg
python
,lua
,javascript
,html, css
). To install all parsers use:
:TSInstall all
- Verifying installation: Verify that the parsers are successfully installed by running the command:
:TSList
This command will show a list of installed parsers. 5. Additional dependencies: Some languages may require you to install additional dependencies, such as tree-sitter-cli. You can install it via npm:
npm install -g tree-sitter-cli
If you have specific dependencies for some plugins, follow the instructions in each plugin's documentation section.
After completing all the steps you should have a fully working GloryVim configuration. Launch Neovim and check that all plugins and settings are working correctly.
To familiarize yourself with the basic Neovim commands, you can run the :help
command in the editor itself.
To get repository updates, use the git pull
command in the ~/.config/nvim
folder.
If you encounter issues while installing or using GloryVim, try the following solutions:
- Ensure Neovim is in PATH: Make sure that the path to Neovim's
bin
directory is correctly added to the systemPATH
environment variable. - Check Installation: Verify that you have extracted Neovim properly and that the executable
nvim.exe
is present in thebin
directory.
- Packer Issues: If plugins are not installing with Packer, ensure that you have cloned Packer correctly.
- Verify Packer Installation:
Ensure that Packer is installed correctly in the right directory. The path should be:
For Unix-based systems(ex. Linux): ~/.local/share/nvim/site/pack/packer/start/packer.nvim
For Windows: $HOME\AppData\Local\nvim\site\pack\packer\start\packer.nvim
- You can reinstall it by running the following command in PowerShell:
git clone --depth 1 https://github.com/wbthomason/packer.nvim `
$HOME\AppData\Local\nvim\site\pack\packer\start\packer.nvim
Run :PackerSync:
If plugins aren’t installing after a fresh setup, try running:
If new errors are found, the guide will be updated to resolve them.