Table of Contents
- Introduction to the code
- Lazy.nvim - The Plugin Manager
- Core options - Neovim Settings
- LSP - Helper with the new API
- Catppuccin Theme - What makes Neovim look beautiful
- Core utilities - What you'll definitly need
- Nvim-Tree - File explorer inside Neovim
- Lualine - Fast and customizable statusline
- Telescope - A really good fuzzy finder
- Treesitter - Syntax highlighting and language-specific features
- Code Companion - AI for Neovim (Will be replaced in the future)
- Tabby - A declarative, highly configurable, and neovim style tabline plugin
- LSPconfig - Collection of configurations for the Neovim LSP client
- Nvim-cmp - A completion engine that aims to provide full support for LSP
- Git signs - Fast git decorations
- Neogit - Version Control system
- Comment toggler - Smart and powerful comment plugin for neovim
- Which-key - Displays a popup with key binding suggestions as you type a command
- Firenvim - Adding Neovim to your browser
- Global keymaps
- Autocommands - Auto format on save
Introduction to the code
Greetings everyone. As you can see from the page titel, this is all about my lua file for Neovim. Little reminder, Neovim is a powerfull TUI based IDE with lots of customisation options. In this Wiki, I'm gonna tell you what plugins I use, which Theme will be used and of course the keybinds that make my flow as powerfull as it is.
Lazy.nvim - The Plugin Manager
Core options - Neovim Settings
LSP - Helper with the new API
Catppuccin Theme - What makes Neovim look beautiful
Core utilities - What you'll definitly need
Nvim-Tree - File explorer inside Neovim
Lualine - Fast and customizable statusline
Telescope - A really good fuzzy finder
Treesitter - Syntax highlighting and language-specific features
Code Companion - AI for Neovim (Will be replaced in the future)
Tabby - A declarative, highly configurable, and neovim style tabline plugin
LSPconfig - Collection of configurations for the Neovim LSP client
Nvim-cmp - A completion engine that aims to provide full support for LSP
Git signs - Fast git decorations
Neogit - Version Control system
I use Neogit mostly to stage, commit and push my code.
Open Neogit
In order to open Neogit, simply write \g followed by another g.
Show the difference in a file
Go to the unstaged files and press the TAB Key in when hovering over the file where you want to see the changes.
Stage a file
Neogit show's you how you can do it, you basically just need to press s on the file you want to stage.
Commit a file
Hover over the file in the Staged changes field and press c two times. This will put you into the file where you can write your commit message. Simply write what you want as a message (you're automatically inside the insert mode. When you're done press Escape followed by : and write wq and hit enter.
Push a commit
Press shift and P and p again. Then you can choose which remote you want to push to and hit enter. And that's it. Now your changes should show up on the platform of your choosing.