Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonathandion/web-dev.nvim
Small Neovim configuration written in Lua that is specifically designed for web development.
https://github.com/jonathandion/web-dev.nvim
kickstart-nvim lua neovim neovim-config neovim-configuration neovim-lsp neovim-lua vim vim-configuration web-development
Last synced: 11 days ago
JSON representation
Small Neovim configuration written in Lua that is specifically designed for web development.
- Host: GitHub
- URL: https://github.com/jonathandion/web-dev.nvim
- Owner: jonathandion
- Created: 2022-12-18T22:18:18.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-08T21:10:53.000Z (over 1 year ago)
- Last Synced: 2024-10-12T03:19:09.089Z (28 days ago)
- Topics: kickstart-nvim, lua, neovim, neovim-config, neovim-configuration, neovim-lsp, neovim-lua, vim, vim-configuration, web-development
- Language: Lua
- Homepage:
- Size: 56.6 KB
- Stars: 66
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-neovim - jonathandion/web-dev.nvim - Small, simple and flexible configuration for web development ✨. (Preconfigured Configuration / Competitive Programming)
README
```
__ __ _
_ _____ / / _______/ /__ _ __ ___ _ __(_)_ _
| |/|/ / -_) _ \/___/ _ / -_) |/ / / _ \ |/ / / ' \
|__,__/\__/_.__/ \_,_/\__/|___(_)_//_/___/_/_/_/_/
```
* 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
| | |
|-----|-----|
| | |
## ⚡️ RequirementsThe _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](./src/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', 'sr', require('telescope.builtin').resume, { desc = '[S]earch [R]esume' })
```You can find my extra configuration file [here](./src/after/plugin/custom.lua) 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`.