From 58c5291e96cb03d646e4961d5530c0c0d3c19677 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Philippe=20H=C3=BCrlimann?= Date: Thu, 7 Nov 2019 21:32:01 +0100 Subject: [PATCH] LanguageClient bindings --- init.vim | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/init.vim b/init.vim index 75ec244..bf18921 100644 --- a/init.vim +++ b/init.vim @@ -65,10 +65,14 @@ let g:LanguageClient_serverCommands = { \} nnoremap :call LanguageClient_contextMenu() -nnoremap K :call LanguageClient#textDocument_hover() -nnoremap gd :call LanguageClient#textDocument_definition() nnoremap :call LanguageClient#textDocument_rename() -nnoremap call LanguageClient#textDocument_codeAction() +nnoremap gd :call LanguageClient#textDocument_definition() +nnoremap gD v:call LanguageClient#textDocument_definition() +nnoremap la :call LanguageClient#textDocument_codeAction() +nnoremap lb :call LanguageClient#textDocument_references() +nnoremap lf :call LanguageClient#textDocument_formatting() +nnoremap lk :call LanguageClient#textDocument_hover() +nnoremap ls :call LanguageClient#textDocument_documentSymbol() imap (neosnippet_expand_or_jump) smap (neosnippet_expand_or_jump) -- 2.51.2