Quick Tip: Press
<Space> + fT
inside thenvim
directory to show my notes in this configuration .
- Install a Nerd Font and set it in your terminal.
- Read
:h lua-guide
or this guide created byNvChad
. - You'll learn there how to create
Autocommands
,User Commands
,Mappings
,Options
, and many more using lua.
- Run the command
:Mason
. You can install them by pressingi
at the same line of theLSP
. - You can also directly install them by
:MasonInstall <package_name>
.
Read
:h mason-commands
for more info.
You can also install
Formatters
,Linters
, andDAP(Debug Adapter Protocol)
through:Mason
.
- Run the command
:Tutor
. - Here's a cheatsheet for you.
- Read on how to create one here for
NvChad
. - Edit it in the
lua/mappings.lua
. - You can see all the available keymaps in
:NvCheatsheet
or just press<Space> + f + k
.
- Create a new file in
lua/plugins
folder. Like thisnumb.lua
. - Inside that file is put the plugin you want to add. Example:
-- Peek At Lines
return {
"nacro90/numb.nvim",
-- enabled = false, -- to disable the plugin
event = "CmdlineEnter", -- event that specify when the plugin is gonna be loaded
config = true,
-- opts = {}
-- many more
}
- Run
:w
and:Lazy install
to install the plugin.
Read lazy.nvim for more options that you can use.
Read this. If you've used
packer.nvim
before.
- You can find here the supported languages.
- You can install the
language parser
through:TSInstall <language_name>
. - Most of the
Tree-sitter
problems can be solved by running:TSUpdate
or reinstalling the parser by:TSInstall
.
- Read this guide.
- Edit them in
lua/chadrc.lua
.
statusline - the bar at the bottom of the window.
tabufline - the bar at the top of the window.
- Read this guide
- Edit them in
lua/highlights.lua
. - You can run
:Telescope highlights
to see all the available highlights. - You can also press
<Space> + n + i
to see thehighlight group
at your cursor position.
lazy.nvim
is the plugin manager that install, delete, update plugins.LazyVim
is a neovim configuration that useslazy.nvim
as the plugin manager.mason.nvim
is a package manager that install, delete, update packages such asLSP
,Formatters
,DAP(Debug Adapter Protocol)
, andLinters
.
- Run
:JdtUpdateDebugConfig
to get the debug configurations.
- Run
:RustLsp debuggables
and pick the one you like in the options.
This is a window specific problem. The problem is that the version of gcc
is outdated.
To solve this:
- Just make sure to use the updated compiler like this one.
- Run
:TSUninstall all
to remove all the language parsers. - Install the parser again for the language you want to use.