119 lines
2.8 KiB
Markdown
119 lines
2.8 KiB
Markdown
# Jachym's Neovim Config
|
|
|
|
This setup is designed to enhance your coding experience with a variety of plugins for improved aesthetics, functionality, and productivity.
|
|
|
|
## Installation
|
|
|
|
- Clone this repo to your nvim config
|
|
|
|
```sh
|
|
git clone https://git.pupes.org/jachym/nvim ~/.config/nvim
|
|
```
|
|
|
|
- Start Neovim
|
|
|
|
```sh
|
|
nvim
|
|
```
|
|
|
|
## Usage
|
|
|
|
### General
|
|
|
|
| key | description |
|
|
| ----------- | ------------------ |
|
|
| `<esc>` | clear hlsearch |
|
|
| `<c-h>` | go to left window |
|
|
| `<c-j>` | go to lower window |
|
|
| `<c-k>` | go to upper window |
|
|
| `<c-l>` | go to right window |
|
|
| `<Leader>l` | open lazy |
|
|
|
|
### FZF
|
|
|
|
| key | description |
|
|
| ------------ | ----------- |
|
|
| `<Leader>ff` | files |
|
|
| `<Leader>fb` | buffers |
|
|
| `<Leader>fh` | oldfiles |
|
|
| `<Leader>fg` | live grep |
|
|
|
|
### Tree
|
|
|
|
| key | description |
|
|
| ----------- | ----------- |
|
|
| `<Leader>e` | toggle tree |
|
|
|
|
### LSP
|
|
|
|
| key | description |
|
|
| ------------ | ---------------- |
|
|
| `<Leader>cm` | open mason |
|
|
| `gd` | go to definition |
|
|
| `<Leader>cr` | rename |
|
|
| `<Leader>ca` | code actions |
|
|
|
|
### Treesitter
|
|
|
|
| key | description |
|
|
| ----------- | ------------------- |
|
|
| `<c-space>` | increment selection |
|
|
| `<bs>` | decrement selection |
|
|
|
|
## Plugins Overview
|
|
|
|
Below is a breakdown of the key components of my configuration.
|
|
|
|
### Colorscheme
|
|
- **`bluz71/vim-moonfly-colors`**
|
|
A dark charcoal theme
|
|
|
|
### LSP
|
|
- **`neovim/nvim-lspconfig`**
|
|
Provides configurations and an abstraction layer for setting up LSP
|
|
|
|
- **`williamboman/mason.nvim`**
|
|
A package manager for LSP servers
|
|
|
|
- **`williamboman/mason-lspconfig.nvim`**
|
|
Integrates Mason with nvim-lspconfig, making it easier to use LSP configurations with Mason
|
|
|
|
### Autocompletion
|
|
- **`saghen/blink.cmp`**
|
|
A fast auto-completion plugin
|
|
|
|
- **`rafamadriz/friendly-snippets`**
|
|
A collection of useful snippets
|
|
|
|
### Formatting
|
|
- **`stevearc/conform.nvim`**
|
|
A lightweight yet powerful formatter plugin
|
|
|
|
### User Interface (UI)
|
|
- **`nvim-lualine/lualine.nvim`**
|
|
A customizable status line that provides useful information
|
|
|
|
- **`akinsho/bufferline.nvim`**
|
|
Displays opened buffers in a visually appealing way
|
|
|
|
### Misc
|
|
- **`nvim-tree/nvim-tree.lua`**
|
|
A file explorer that allows for easy file management
|
|
|
|
- **`nvim-tree/nvim-web-devicons`**
|
|
Adds icon support for various plugins
|
|
|
|
- **`ibhagwan/fzf-lua`**
|
|
A powerful fuzzy finder for everything
|
|
|
|
- **`windwp/nvim-autopairs`**
|
|
Automatically inserts closing pairs for brackets, quotes, and more
|
|
|
|
- **`nvim-treesitter/nvim-treesitter`**
|
|
Provides advanced syntax highlighting and code parsing capabilities
|
|
|
|
|
|
## Contributing
|
|
|
|
Feel free to contribute to this configuration by submitting issues or pull requests. Your feedback and suggestions are welcome!
|