diff options
author | yushyin <yushyin@saga> | 2019-04-27 18:10:19 +0200 |
---|---|---|
committer | yushyin <yushyin@saga> | 2019-04-27 18:10:19 +0200 |
commit | 2124b7f876555cae95019488ffe337720e0fafcd (patch) | |
tree | 9681519a000145b66aa164e6702a478caf6e55c0 | |
parent | d12bc362dd422b51757ef32a6ddd73bc4795ea10 (diff) | |
download | dotfiles-2124b7f876555cae95019488ffe337720e0fafcd.tar.gz dotfiles-2124b7f876555cae95019488ffe337720e0fafcd.tar.xz |
Vim: Add basic keymaps for vim-lsp
-rw-r--r-- | vim/vimrc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |