diff --git a/Useful-command-for-troubleshooting.md b/Useful-command-for-troubleshooting.md new file mode 100644 index 0000000..0c6d082 --- /dev/null +++ b/Useful-command-for-troubleshooting.md @@ -0,0 +1,29 @@ +Whether you plan on using LunarVim as is or as a base to configure your +own neovim, the following commands may be useful. Any command that +includes the symbol ‘:’ is meant to be typed as a command in neovim. +Make sure you’re in normal mode not insert mode. + +| Command | Description | +|----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| :checkhealth | Check the health of your neovim install | +| :checkhealth <pluginname> | Check the health of a plugin | +| nvim -v | checks your neovim version | +| nvim -V | vebose output when running neovim. Prints out every event | +| :PackerCompile | Must be run when you make plugin changes. (or, alternately run :PackerSync) | +| :PackerInstall | Only install missing plugins | +| :PackerUpdate | Update and install plugins | +| :PackerClean | Remove any disabled or unused plugins | +| :PackerSync | Performs ‘PackerClean’ then ‘PackerUpdate’ | +| :PackerStatus | List the status of your plugins | +| :LspInstall <language> | Install a language server for a specific programming language | +| :LspInfo | List the status of active and configured language servers | +| :LspStart <language> | Start the requested server name. Will only succesfully start if the command detects a root directory matching the current config. Pass autostart = false to your .setup{} call for a language server if you would like to launch clients solely with this command. Defaults to all servers matching current buffer filetype. | +| :LspStop | Stops all buffer clients | +| :LspRestart | Restarts all buffer clients | +| :map | List keybindings | +| :nmap | List normal mode keybindings | +| :vmap | List visual mode keybindings | +| :imap | List insert mode keybindings | +| :verbose imap <keybinding> | Print out what a particular keybinding is mapped to | +| :messages | Print error messages. Useful when messages get cut off | +| :scriptnames | List all sourced files |