tinytengu / neovim-config

My neovim config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nvim-config

This is my carefully crafted, in some places neatly stolen Neovim config written in Lua.

Preview (clickable)

Preview

My goal was to make it unified as much as possible so everything looks similar, keybindings make sense and so on.

It has most of the things one may need. This is a full list of packaged plugins:

Keybindings

Consider using <leader>w to call WhichKey plugin

No category

Mode Binding Description Module
Insert jk Famouse binding, exit from Insert mode quickly

Go to

Mode Binding Description Module
Normal gD Declaration LSP
Normal gd definiton LSP
Normal gi implementation LSP
Normal gr reference LSP

<leader> - semantic action

Mainly used for actions that can be semantically described with a few letters

Mode Binding Description Module
Normal <leader>h hover LSP
Normal <leader>rn rename variable/function/etc. in a buffer LSP
Normal <leader>ca code actions LSP
Normal <leader>d diagnostic float window LSP
Normal <leader>dll diagnostic loclist LSP
Normal <leader>bf Buffer format LSP
Normal <leader>e File explorer
Normal <leader>nh :noh - no highlight

Windows

Mode Binding Description Module
Normal <Alt-Left> Navigate to window at left
Normal <Alt-Right> Navigate to window at right
Normal <Alt-Up> Navigate to window at above
Normal <Alt-Down> Navigate to window at below

Buffers

Mode Binding Description Module
Normal <Shift-Left> Navigate to the next buffer
Normal <Shift-Right> Navigate to the previous buffer

About

My neovim config


Languages

Language:Lua 100.0%