diff --git a/Neovim.md b/Neovim.md index fa4dba4..f8536a7 100644 --- a/Neovim.md +++ b/Neovim.md @@ -64,6 +64,17 @@ or ```bash bear gcc x.c -o x -``` +``` -or any other \ No newline at end of file +or any other + +### Custom cross references + +```vim +nn xb :call LanguageClient#findLocations({'method':'$ccls/inheritanceHierarchy','flat':v:true,'level':3,'derived':v:false}) +nn xd :call LanguageClient#findLocations({'method':'$ccls/inheritanceHierarchy','flat':v:true,'level':3,'derived':v:true}) +nn xe :call LanguageClient#findLocations({'method':'$ccls/callers'}) +nn xv :call LanguageClient#findLocations({'method':'$ccls/vars'}) +nn xV :call LanguageClient#findLocations({'method':'$ccls/vars','kind':1}) +nn xx x +```