https://github.com/magidc/nvim-config
My config for Neovim
https://github.com/magidc/nvim-config
dotfiles dotfiles-linux ide lua neovim neovim-config neovim-configuration neovim-dotfiles nvim rust rust-ide vim vimrc
Last synced: 4 days ago
JSON representation
My config for Neovim
- Host: GitHub
- URL: https://github.com/magidc/nvim-config
- Owner: magidc
- Created: 2022-05-07T21:30:23.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-09-30T22:13:16.000Z (6 months ago)
- Last Synced: 2025-10-01T00:13:31.527Z (6 months ago)
- Topics: dotfiles, dotfiles-linux, ide, lua, neovim, neovim-config, neovim-configuration, neovim-dotfiles, nvim, rust, rust-ide, vim, vimrc
- Language: Lua
- Homepage:
- Size: 8.34 MB
- Stars: 111
- Watchers: 3
- Forks: 23
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Neovim configuration for Java, Python, Rust and Lua
This is my personal LUA based configuration for Neovim that I use on a daily basis as Java, Python and RUST IDE. This setup is the product of continuous enhancements based in what I have found in configurations shared by other users. It is an ongoing project that may evolve with time as I come accross with new plugins, refine mappings or refactor configuration files.
Feel free to fork this repository and adapt it to your own needs.
*Autocompletion*

*Compilation errors*

*Debug*

*Launching Java application*

*Telescope fuzzy finder*

# Installation
## Manual Setup
0. Clone this repository into `~/.config/nvim`:
```
git clone --depth 1 https://github.com/magidc/nvim-config.git ~/.config/nvim
```
1. Install latest [NeoVIM version](https://github.com/neovim/neovim/wiki/Installing-Neovim). The configuration also includes an script to install automatically Neovim in APT based Linux distributions (Debian, Ubuntu, PopOs...). See [install_nvim.sh](https://github.com/magidc/nvim-config/blob/master/install_nvim.sh)
2. Install [ripgrep](https://github.com/BurntSushi/ripgrep) into your OS. It is required by some [Telescope](https://github.com/nvim-telescope/telescope.nvim) plugin searching modes.
3. This environment is preconfigured with Language Server Providers (LSP) and Debug Adapters (DAP) for Java, Python, Rust and Lua. These components provide IDE features like autocompletions, error highlight or debugging. As it is required to have installed these components in your system, this Neovim setup relies on [mason.nvim](https://github.com/mason-org/mason.nvim#installation) plugin to install them automatically if they are missing.
# UI theme
Several UI themes are preconfigured in this setup. Active theme is set by editing file `lua/settings.lua`.
Default active theme is [Tokyonight](https://github.com/folke/tokyonight.nvim).
# Custom mappings
Most of mappings are defined in file `lua/mappings.lua`. WhichKey plugin is used in order to provide a description for each one of them.
Other mappings can be found in specific plugin configuration files in `lua/plugins/configs` directory. Also, language specific mappings are defined in LSP config files, these mappings are only available when working with specific programming languages (when LSP are attached)
# Equivalent mapping configurations for other IDEs VIM integrations
I have created configuration files with (almost) equivalent mappings for [Eclipse IDE vim plugin (vrapper)](https://github.com/magidc/dotfiles/blob/master/vrapperrc), [IntelliJ vim plugin (ideaVim)](https://github.com/magidc/dotfiles/blob/master/jetbrains/ideavimrc) and [VSCode vim plugin (vscodevim)](https://github.com/magidc/dotfiles/blob/master/vscode/keybindings.json).
These configurations will allow users who are used to these key combinations to remain confortable and efficient while working with other IDEs.
# Featured plugins
* [Telescope](https://github.com/nvim-telescope/telescope.nvim)
> Highly extendable fuzzy finder over lists
* [Neotree](https://github.com/nvim-neo-tree/neo-tree.nvim)
> Tree file explorer
* [Aerial](https://github.com/stevearc/aerial.nvim)
> Code outline window for skimming and quick navigation
* [WhichKey](https://github.com/folke/which-key.nvim)
> Displays a popup with possible key bindings of the command you started typing
* [Nvim-jdtls](https://github.com/mfussenegger/nvim-jdtls)
> Extensions for the built-in LSP support in Neovim for eclipse.jdt.ls
* [Nvim-dap](https://github.com/mfussenegger/nvim-dap)
> Debug Adapter Protocol client implementation for Neovim
* Others...
# Troubleshooting
If you have problems while installing or using this setup, please report an issue,
# Feedback and suggestions
I would appreciate suggestions and feedback regarding this Neovim configuration. As it is an ongoing project I will be changing over the time to become more useful and easy to use. Please do not hesitate to contact me if you have any comments