- Vim Script 100%
| assets | ||
| autoload | ||
| vim-plug | ||
| .gitignore | ||
| init.vim | ||
| LICENSE | ||
| README.en-US.md | ||
| README.md | ||
Table of Contents
- Overview
- Important Notice
- Prerequisites
- Installation
- Active Theme
- Installed Plugins
- Updating
- Contributing
Overview
This repository contains personal Neovim configuration files. Files are frequently updated to incorporate new features and plugins. It is recommended to check for potential conflicts with existing settings before use.
Important Notice
If custom Neovim configurations already exist on the system, they are likely to conflict with this repository. In that case, a backup must be created and the previous configuration removed before proceeding with the installation.
# Backup current configuration
cp -r ~/.config/nvim ~/.config/nvim.bak
# Remove previous configuration
rm -rf ~/.config/nvim
Prerequisites
- Neovim 0.5+
- vim-plug (plugin manager)
- Git installed and configured
Installation
Regular user
Clone the repository into the Neovim configuration directory:
git clone https://github.com/itamcampos/neovimfiles.git ~/.config/nvim
Then install the plugins:
nvim +PlugInstall +qa
Root user
sudo git clone https://github.com/itamcampos/neovimfiles.git /etc/xdg/nvim
sudo HOME=/etc/xdg nvim +PlugInstall +qa
Active Theme
The configured color scheme is One Dark, developed by @Navarasu. Based on Atom One Dark and Atom One Light themes, with TreeSitter support.
Available styles:
| Style | Description |
|---|---|
dark |
Default dark theme |
darker |
Darker variant |
cool |
Cool blue tones |
deep |
Deep dark background |
warm |
Warm tones |
warmer |
Even warmer variant |
light |
Light theme |
To change the style in init.vim or init.lua:
-- init.lua
require('onedark').setup { style = 'dark' }
require('onedark').load()
Installed Plugins
| Plugin | Description |
|---|---|
| One Dark | Active color scheme. Dark and light themes for Neovim >= 0.5, written in Lua with TreeSitter syntax highlighting. |
| Fern | General-purpose asynchronous tree viewer written in pure Vim script. |
| Fix CursorHold | Fixes performance issues related to autocmd events in Neovim. |
Updating
To update installed plugins, open Neovim and run:
:PlugUpdate
To update this configuration repository:
cd ~/.config/nvim && git pull
Contributing
Suggestions are welcome. Open an issue or submit a pull request.