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.
- Host: GitHub
- URL: https://github.com/Programmer-RD-AI-Archive/nvim.config
- Owner: Programmer-RD-AI
- License: apache-2.0
- Created: 2024-12-05T18:35:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-15T18:11:17.000Z (over 1 year ago)
- Last Synced: 2025-02-06T13:17:59.707Z (about 1 year ago)
- Topics: config, configuration, lua, neovim, nvim, nvim-config, nvim-configs, nvim-lua, vim
- Language: Lua
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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