Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/utilyre/uvim
My "minimal" Neovim config
https://github.com/utilyre/uvim
config lua neovim nvim nvim-config
Last synced: 12 days ago
JSON representation
My "minimal" Neovim config
- Host: GitHub
- URL: https://github.com/utilyre/uvim
- Owner: utilyre
- License: mit
- Created: 2023-01-14T09:56:17.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-13T20:49:41.000Z (10 months ago)
- Last Synced: 2024-04-28T04:45:55.751Z (7 months ago)
- Topics: config, lua, neovim, nvim, nvim-config
- Language: Lua
- Homepage:
- Size: 1.45 MB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# uvim
This is my **"minimal"** _Neovim config_ that I put pride on.
## ⚡ Requirements
- 🍺 Get yourself a fresh install of [Neovim][neovim].
- 🚀 Use a [Nerd Font][nerdfonts] within your terminal.
- 🔍 Install [`fd-find`][fd-find] and [`ripgrep`][ripgrep] through your
favorite package manager.- 🐙 Setup [`git`][git-scm] if you haven't already.
## 📦 Installation
1. Run the following and append it to your shell startup script
```bash
export NVIM_APPNAME=uvim
```2. Clone this repository
```bash
git clone https://github.com/utilyre/uvim.git ~/.config/$NVIM_APPNAME
```3. Spin up Neovim in headless mode
```bash
nvim --headless +q
```## ☕ Tips
- Set `NVIM_DEV` environment variable to modify where [lazy.nvim][lazy.nvim]
should look for `dev = true` plugins.- Run `:TSInstall [language]` to install the [tree-sitter][tree-sitter] parser
for the given language.- See `:help lspconfig-all` to get an understanding of how you would setup a
language server.> plugin/rust_analyzer.lua
```lua
--$ rustup component add rust-analyzer
vim.api.nvim_create_autocmd("FileType", {
once = true,
pattern = "rust",
callback = function(args)
vim.schedule(vim.cmd.edit)
require("lspconfig").rust_analyzer.setup({
cmd = { "rustup", "run", "stable", "rust-analyzer" },
})
end,
})
```[neovim]: https://neovim.io
[nerdfonts]: https://www.nerdfonts.com
[fd-find]: https://crates.io/crates/fd-find
[ripgrep]: https://crates.io/crates/ripgrep
[git-scm]: https://git-scm.com
[lazy.nvim]: https://github.com/folke/lazy.nvim
[tree-sitter]: https://tree-sitter.github.io