Created Useful command for troubleshooting (markdown)

rebuilt 2021-07-06 13:27:00 +02:00
parent af1f117028
commit 4495e3b69b

@ -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 youre 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 |