Go to the definition in Neovim
In Neovim, press Ctrl+] on Mac, Windows, Linux. Works when: normal mode, language server attached.
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=deleteInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'return
ShiftZXCVBNM,./Shift↑
fnctrloptcmdcmdopt←↓→
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=BkspInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'Enter
ShiftZXCVBNM,./Shift↑
CtrlWinAltAltWinMenuCtrl←↓→
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=BkspInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'Enter
ShiftZXCVBNM,./Shift↑
CtrlSuperAltAltSuperMenuCtrl←↓→
See it happen Press the shortcut above, or
More Neovim shortcuts: language server
| Action | Mac | Windows | Linux |
|---|---|---|---|
| Show documentation for the symbol | ShiftK | ShiftK | ShiftK |
| Rename the symbol | G,R,N | G,R,N | G,R,N |
| Code actions | G,R,A | G,R,A | G,R,A |
| List references | G,R,R | G,R,R | G,R,R |
| List implementations | G,R,I | G,R,I | G,R,I |
| List symbols in the file | G,ShiftO | G,ShiftO | G,ShiftO |
| Show the signature | CtrlS | CtrlS | CtrlS |
| Next diagnostic | ],D | ],D | ],D |
| Previous diagnostic | [,D | [,D | [,D |
| Show the diagnostic under the cursor | CtrlW,D | CtrlW,D | CtrlW,D |