Skip to content

vsoftco/nvim-pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Single-file Neovim configuration

Pre-requisites

  • Neovim 12 or newer
  • Depending on the plugins you enable, additional dependencies may be required; all requirements are documented in init.lua

Features

  • The entire configuration is defined in init.lua
  • Uses the built-in vim.pack plugin manager
  • Enable or disable plugins directly in the vim.pack.add() section of init.lua by commenting or un-commenting them
  • Each plugin is configured only when it is loaded, so removing unused ones will not affect the rest of the setup
  • Any required dependencies are documented

Installation

Clone this configuration into ~/.config/nvim (make sure to back up your existing one first)

git clone https://github.com/vsoftco/nvim-pack ~/.config/nvim

then launch Neovim

nvim

This configuration provides the following custom commands as wrappers around vim.pack:

  • :PackUpdate - updates plugins
  • :PackClean- removes unused plugins from the disk
  • :PackSync - pin plugins to the version recorded in nvim-pack-lock.json

Test configuration (optional)

To try this configuration without affecting your current setup, clone it into a separate directory under ~/.config, for example

git clone https://github.com/vsoftco/nvim-pack ~/.config/nvim-test

Then start Neovim with

NVIM_APPNAME=nvim-test nvim

About

Modern Neovim configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages