An open API service indexing awesome lists of open source software.

https://github.com/Programmer-RD-AI-Archive/nvim.config

A simple, foundational Neovim configuration designed to enhance productivity with essential plugins like LSP, Treesitter, Telescope, Fugitive, and more. This setup serves as a starting point, with plans for future improvements and customizations as I continue to refine my development workflow.
https://github.com/Programmer-RD-AI-Archive/nvim.config

config configuration lua neovim nvim nvim-config nvim-configs nvim-lua vim

Last synced: 6 months ago
JSON representation

A simple, foundational Neovim configuration designed to enhance productivity with essential plugins like LSP, Treesitter, Telescope, Fugitive, and more. This setup serves as a starting point, with plans for future improvements and customizations as I continue to refine my development workflow.

Awesome Lists containing this project

README

          

# nvim.config

My personal Neovim configuration.

## Getting Started

This configuration uses [lazy.nvim](https://github.com/folke/lazy.nvim) for plugin management.
The main configuration is structured within the `lua/` directory:

- `init.lua`: Main entry point, loads other modules.
- `lua/options.lua`: Core Neovim settings.
- `lua/keymaps.lua`: Custom keybindings.
- `lua/plugins.lua`: Plugin specifications for lazy.nvim.
- `lua/colorscheme.lua`: Sets the colorscheme (moonfly).
- `lua/lsp.lua`: Language Server Protocol (LSP) setup using mason.nvim and nvim-lspconfig.

## Custom Keymappings

The leader key is ``.

### General Mappings (`lua/keymaps.lua`)

- `w`: Save file
- `ee`: Toggle file explorer (NvimTree)
- `ef`: Toggle file explorer on current file (NvimTree)
- `p` / `P`: Paste from system clipboard
- `y` / `Y`: Copy to system clipboard
- `lg`: Open LazyGit
- `/`: Toggle comment (Normal/Visual mode)

### Telescope Mappings (`lua/plugins.lua`)

- `ff`: Find files
- `fg`: Live grep
- `fb`: List open buffers
- `fh`: Search help tags

### LSP Mappings (`lua/lsp.lua`)

Note: `` below refers to pressing the Spacebar key.

- `e`: Show diagnostics on hover
- `[d`: Go to previous diagnostic
- `]d`: Go to next diagnostic
- `q`: Show all diagnostics in a quickfix list
- `gD`: Go to declaration
- `gd`: Go to definition
- `K`: Show hover information
- `gi`: Go to implementation
- ``: Show signature help (while typing or on a function call)
- `wa`: Add workspace folder
- `wr`: Remove workspace folder
- `wl`: List workspace folders
- `D`: Go to type definition
- `rn`: Rename symbol
- `ca`: Show code actions
- `gr`: Find references
- `f`: Format buffer