summaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc8
1 files changed, 8 insertions, 0 deletions
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] <Nop>
+ nmap <leader>l [Lsp]
+
+ nmap [Lsp]dd <Plug>(lsp-definition)
+ nmap [Lsp]s <Plug>(lsp-document-symbol)
+ nmap [Lsp]i <Plug>(lsp-document-diagnostics)
+ nmap [Lsp]r <Plug>(lsp-rename)
endif
if dein#tap('base16-vim')
set bg=dark