From a1c902ed5361dab84c0088f59c0aef0d512c7c62 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Philippe=20H=C3=BCrlimann?= Date: Tue, 25 Jan 2022 12:33:29 +0100 Subject: [PATCH] Update LC mappings --- init.vim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init.vim b/init.vim index 8b15afd..8405110 100644 --- a/init.vim +++ b/init.vim @@ -84,15 +84,17 @@ function LC_maps() nmap (lcn-rename) nmap gD (lcn-type-definition) nmap la (lcn-code-action) - nmap lb (lcn-references) + vmap la (lcn-code-action) + nmap lr (lcn-references) nmap lf (lcn-format) nmap ls (lcn-symbols) nmap lh (lcn-highlight) + + autocmd BufWritePre * :call LanguageClient#textDocument_formatting_sync() endif endfunction autocmd FileType * call LC_maps() -autocmd BufWritePre * :call LanguageClient#textDocument_formatting_sync() imap (neosnippet_expand_or_jump) smap (neosnippet_expand_or_jump) -- 2.51.2