From: Philippe Hürlimann
Date: Tue, 25 Jan 2022 11:33:29 +0000 (+0100)
Subject: Update LC mappings
X-Git-Url: https://git.hurlimann.org/?a=commitdiff_plain;h=a1c902ed5361dab84c0088f59c0aef0d512c7c62;p=vimfiles.git
Update LC mappings
---
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)