Files
org-vim/runtime/pack/dist/opt/helpcurwin/plugin/helpcurwin.vim
Peter Kenny 754fc64d2e runtime(helpcurwin): fix E121 error
closes: #19270

Signed-off-by: Peter Kenny <github.com@k1w1.cyou>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-01-28 21:45:50 +00:00

15 lines
406 B
VimL

vim9script
# Open Vim help on {subject} in the current window (rather than a new split)
#
# Maintainer: The Vim Project <https://github.com/vim/vim>
# Last change: 2026 Jan 29
import autoload '../autoload/helpcurwin.vim'
command -bar -nargs=? -complete=help HelpCurwin helpcurwin.Open(<q-args>)
nnoremap <Plug>HelpCurwin; <ScriptCmd>helpcurwin.Open(expand('<cWORD>'))<CR>
# vim: ts=8 sts=2 sw=2 et