mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 10:35:08 +02:00
Created Useful command for troubleshooting (markdown)
parent
af1f117028
commit
4495e3b69b
1 changed files with 29 additions and 0 deletions
29
Useful-command-for-troubleshooting.md
Normal file
29
Useful-command-for-troubleshooting.md
Normal file
|
@ -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 |
|
Loading…
Reference in a new issue