Update README.md

Added the most usefull bindings from lspconfig
This commit is contained in:
Henri 2021-05-12 09:55:34 -07:00 committed by GitHub
parent 162fe51d01
commit f571406816
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -212,6 +212,15 @@ I'd install it first and add its setup line :
- <kbd> Shift </kbd> <kbd> x </kbd> close current tab
- <kbd> Shift </kbd> <kbd> t </kbd> open new tab
**Nvim-lspconfig (major ones)**
- <kbd> K </kbd> hover and show the definition
- <kbd> gd </kbd> jumps to the definition (works for user and language definitions)
- <kbd> [d </kbd> jumps to the previous error
- <kbd> ]d </kbd> jumps to the next error
- leader <kbd> D </kbd> jumps to the definition
- leader <kbd> w+q </kbd> list all the errors in a new buffer
- leader <kbd> r+n </kbd> rename all instances of this definition (user functions and declaration)
-
# TODO
- Make the statusline more elegant.