jonathandion/web-dev.nvim

github github
pluginpreconfigured-configuration
star 36
alert-circle 0
users 1
git-branch 0
CREATED

2022-12-18

UPDATED

7 days ago


                                   __          __                    _     
                       _    _____ / /  _______/ /__ _  __  ___ _  __(_)_ _ 
                      | |/|/ / -_) _ \/___/ _  / -_) |/ / / _ \ |/ / /  ' \
                      |__,__/\__/_.__/    \_,_/\__/|___(_)_//_/___/_/_/_/_/
  • Small: ~400 lines of code.
  • Fast: ~20ms startup time.
  • Lazy: loads plugins on demand.
  • Simple: one single file, easy to read and understand.
  • Flexible: customize it to your specific needs and preferences.

📸 Screenshots

⚡️ Requirements

The minimum recommended requirements are:

  • neovim >= 0.7.0

📦 Installation

  • Run ./scripts/install
  • Start Neovim (nvim) and run :PackerInstall - ignore any error message about missing plugins, :PackerInstall will fix that shortly
  • Restart Neovim

Manually

  • Backup your previous configuration
  • Copy and paste the init.lua into $HOME/.config/nvim/init.lua

⚙️ Configuration

You could directly modify the init.lua file with your personal customizations. However, if you update your config from this repo, you may need to reapply your changes.

Alternatively, you can create a separate custom.plugins module to register your own plugins, and handle further customizations in the /after/plugin/ directory (see :help load-plugins). This technique makes upgrading to a newer version of this repo easier.

The following is an example custom.lua file (located at $HOME/.config/nvim/after/plugin/custom.lua).

vim.opt.relativenumber = true
vim.keymap.set('n', '<leader>sr', require('telescope.builtin').resume, { desc = '[S]earch [R]esume' })

You can find my extra configuration file here as an example.

⚠️ Disclamer

This repo is primarily for personal use. The after/plugin directory contains personal configs that fit my workflow. You can also install them by running ./scripts/install all.