From 2124b7f876555cae95019488ffe337720e0fafcd Mon Sep 17 00:00:00 2001 From: yushyin Date: Sat, 27 Apr 2019 18:10:19 +0200 Subject: Vim: Add basic keymaps for vim-lsp --- vim/vimrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vim/vimrc b/vim/vimrc index 4883418..8253537 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -126,6 +126,14 @@ if dein#tap('vim-lsp') \ 'whitelist': ['haskell'], \ }) endif + + nnoremap [Lsp] + nmap l [Lsp] + + nmap [Lsp]dd (lsp-definition) + nmap [Lsp]s (lsp-document-symbol) + nmap [Lsp]i (lsp-document-diagnostics) + nmap [Lsp]r (lsp-rename) endif if dein#tap('base16-vim') set bg=dark -- cgit v1.2.3-24-g4f1b