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

https://github.com/malisha4065/neovimconfig

My Neovim configuration! (Primeagen's config modified)
https://github.com/malisha4065/neovimconfig

lua neovim neovimconfiguration

Last synced: 8 months ago
JSON representation

My Neovim configuration! (Primeagen's config modified)

Awesome Lists containing this project

README

          

# Malisha's Neovim Configuration

A customized Neovim setup focused on productivity and a pleasant development experience, featuring a dark theme with transparent background and powerful development tools.

## Features

- **Modern Dark Theme**: Custom `darkvoid` theme with transparency and customizable colors
- **File Navigation**:
- Telescope for fuzzy finding (`pf`, ``, `ps`)
- Native file explorer via `pv`
- Harpoon for quick file switching between marked files
- **Development Tools**:
- Language Server Protocol (LSP) integration via lsp-zero (with lua-snip configured)
- Treesitter for enhanced syntax highlighting
- GitHub Copilot for AI-assisted coding
- Undotree for visualizing change history
- Fugitive for Git integration
- **Quality of Life**:
- Sensible defaults (relative line numbers, smart indentation, etc.)
- Useful keybindings for efficient text manipulation

## Installation

1. Clone this repository to your Neovim configuration directory:
```bash
git clone https://github.com/Malisha4065/NeovimConfig.git ~/.config/nvim
```

2. Install [Packer](https://github.com/wbthomason/packer.nvim) for plugin management:
```bash
git clone https://github.com/wbthomason/packer.nvim \
~/.local/share/nvim/site/pack/packer/start/packer.nvim
```

3. Launch Neovim and install plugins:
```
:PackerSync
```

## Key Mappings

### General
- `` - Leader key
- `pv` - Open file explorer
- `` - Source current file

### Navigation
- `pf` - Find files
- `` - Find Git files
- `ps` - Grep search
- `a` - Add file to Harpoon
- `` - Toggle Harpoon menu
- `` - Navigate to Harpoon marks 1-4

### LSP
- `gd` - Go to definition
- `K` - Show hover information
- `vws` - Workspace symbol search
- `vd` - Open diagnostic float
- `[d` / `]d` - Navigate diagnostics
- `vca` - Code action
- `vrr` - Show references
- `vrn` - Rename symbol

### Git
- `gs` - Git status (via Fugitive)

### Editing
- `f` - Format current buffer
- `s` - Search and replace current word
- `J`/`K` in visual mode - Move selected lines down/up

## Customization

To modify this configuration:

- Add new plugins in packer.lua
- Adjust theme settings in darkvoid.lua
- Change keybindings in remap.lua
- Modify editor settings in set.lua

## Required Dependencies

- Neovim (0.7.0+)
- A Nerd Font for icons
- Git
- `ripgrep` for Telescope grep functionality
- Node.js (for some LSP servers)

## Credits

This configuration was inspired by ThePrimeagen's setup with personal customizations.