diff options
| author | Zofia Szweda <sophies@disroot.org> | 2026-09-12 17:04:18 +0200 |
|---|---|---|
| committer | Zofia Szweda <sophies@disroot.org> | 2026-09-12 17:04:18 +0200 |
| commit | 6ae8fb5e9a29e0d66b2d3b746608d09c49b1323f (patch) | |
| tree | 38bbdc42ca9af13bb68e576c77925d1f2db0adf0 /vim/.vimrc | |
| parent | 0eb093a19619c57eaac3323d34033778bf201f31 (diff) | |
vim: add a keybind for easier access to :LspGotoDeclaration
Diffstat (limited to 'vim/.vimrc')
| -rw-r--r-- | vim/.vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -119,7 +119,6 @@ let g:which_key_map.b = { \ 'p' : ['bp', 'previous buffer'], \ 'b' : ['Buffers', 'fuzzy find buffers'], \ } - nmap <leader>sa <Plug>Ysurround nmap <leader>saa <Plug>Yssurround nmap <leader>sc <Plug>Csurround @@ -163,6 +162,7 @@ function! s:lsp_keymaps() abort nmap <buffer> gr :LspShowReferences<CR> nmap <buffer> gi :LspGotoImpl<CR> nmap <buffer> gt :LspGotoTypeDef<CR> + nmap <buffer> gm :LspGotoDefinition<CR> nmap <buffer> <leader>rn :LspRename<CR> nmap <buffer> [g :LspDiagPrev<CR> nmap <buffer> ]g :LspDiagNext<CR> |
