diff options
author | Linnnus <[email protected]> | 2024-10-01 08:42:22 +0200 |
---|---|---|
committer | Linnnus <[email protected]> | 2024-10-01 08:49:06 +0200 |
commit | f6a10683405d630abff940bdcc49498218da5a2f (patch) | |
tree | b191f4f0f468cbca695b874cf78f66c4275e4383 | |
parent | 36696602adec6f57240f11c4c8e8752d62be38f2 (diff) |
nvim: Add gd mapping for help pages
-rw-r--r-- | home/neovim/init.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/home/neovim/init.vim b/home/neovim/init.vim index b415ac6..84159a3 100644 --- a/home/neovim/init.vim +++ b/home/neovim/init.vim @@ -143,6 +143,9 @@ command WrapItUp set wrap \ | nnoremap k gk \ | nnoremap 0 g0 \ | nnoremap $ g$ +" Define go-to-definition help pages, otherwise see the mappings in the hook +" for LSP configuration. +autocmd Filetype help nnoremap <buffer> gd <C-]> " Commands """"""""""""""""""""""""""" |