A collection of personal and technical notes.
Scroll the current location of the cursor to the top of the screen.
zt
Scroll the current location of the cursor to the center of the screen.
zz
Scroll the current location of the cursor to the bottom of the screen.
zb
Check the currently loaded LSP configuration of an active file.
:LspInfo
Reloads the currently open Lua file.
:luafile %
Display the hover documentation:
Shift + k
Opens the available Packer-related options.
:Packer + <TAB>
Opens the available Mason-related options.
:Mason + <TAB>
Opens the Mason modal of available LSPs, DAPs, linters, and formatters.
:Mason
E138: Cannot write ShaDa file
errorSolution:
Delete the affected (corrupted) ShaDa file, then restartnvim
.
Go to~/.local/state/nvim/shada/
directory,
then delete the file.