This repository hosts my Neovim configuration for Linux. It's a minimal configuration with Lua and easy to customize and extend the config. You can clone this repository and use it but not good. A good configuration is personal, you should make your own unique config files.
- Plugin management: lazy.nvim
- Status line: lualine.nvim
- File tree explorer: nvim-tree
- Syntax highlighter: nvim-treesitter
- Fast buffer jump: hop.nvim
- Theme: tokyonight.nvim
- Fuzzy searching: telescope.nvim
- Faster code commenting: Comment.nvim
- Code, snippets, nvim commands completion: nvim-cmp & LuaSnip
- Language server protocol (LSP) support: nvim-lspconfig & mason.nvim
- Code Formatting: null-ls
- Faster matching pair insertion and jump: nvim-autopairs
- Git integration: gitsigns.nvim
- Winbar code outline: lspsaga.nvim
- And more...plugins here
- Neovim
- A Nerd font
- Git
- GCC
- XClip (X11) for system clipboard support
- fd for telescope
- ripgrep for telescope
Keyboard shortcuts | Mode | Description |
---|---|---|
Ctrl + f | Normal | Code formatting |
Space + ff | Normal | Find files via telescope |
Space + fg | Normal | Grep via telescope |
F2 | Normal | Toggle Nvim Tree |
Ctrl + s | Normal | Save |
Ctrl + m | Normal | Toggle symbols outline |
Tab | Normal | Next buffer |
Shift + Tab | Normal | Previous buffer |
Space + q | Normal | Close buffer |
Esc | Normal | Remove hightlight |
Space + n | Normal | Toggle relative number |
Ctrl + n | Normal | Toggle Trouble |
Ctrl + h | Normal | Left window focus |
Ctrl + j | Normal | Down window focus |
Ctrl + k | Normal | Up window focus |
1 | Normal | Hop Word |
2 | Normal | Hop Line |
Ctrl + l | Normal | Right window focus |
Alt + k | Normal, Insert, Visual | Move text line up |
Alt + j | Normal, Insert, Visual | Move text line down |
Space + / | Normal, Visual | Comment code |
And more...keymaps