look up keywords by hitting 'K' in batch and shell files by Konfekt · Pull Request #5566 · vim/vim

benknoble

benknoble

@Konfekt

clason added a commit to clason/neovim that referenced this pull request

Aug 24, 2023
runtime: configure keywordpg for some file types (vim/vim#5566)

vim/vim@2f25e40

Co-authored-by: Enno <Konfekt@users.noreply.github.com>

clason added a commit to neovim/neovim that referenced this pull request

Aug 24, 2023
runtime: configure keywordpg for some file types (vim/vim#5566)

vim/vim@2f25e40

Co-authored-by: Enno <Konfekt@users.noreply.github.com>

e-kwsm

chrisbra pushed a commit to chrisbra/vim that referenced this pull request

Sep 22, 2023
Signed-off-by: Christian Brabandt <cb@256bit.org>

Konfekt referenced this pull request in Konfekt/vim-zeal

Mar 15, 2024

benknoble added a commit to benknoble/vim that referenced this pull request

May 1, 2024
Say you use Vim and set MANPAGER='vim -M +MANPAGER --not-a-term -'; then
:ShKeywordPrg (or K) will crap out and spew terminal garbage into less
when bash's "help" fails. This was introduced by 2f25e40 (runtime:
configure keywordpg for some file types (vim#5566), 2023-08-23) and may be
present in other files touched by that commit.

Make the "man" invocation sensible by unsetting MANPAGER in the
environment.

benknoble added a commit to benknoble/vim that referenced this pull request

May 6, 2024
Say you use Vim and set MANPAGER='vim -M +MANPAGER --not-a-term -'; then
:{Zs,S}hKeywordPrg (or K) will crap out and spew terminal garbage into
less when bash's "help" fails. This was introduced by 2f25e40
(runtime: configure keywordpg for some file types (vim#5566), 2023-08-23)
and may be present in other files touched by that commit.

Make the "man" invocation sensible by unsetting MANPAGER in the
environment.

Note that changing MANPAGER for `:terminal` is not needed; Vim within
Vim is perfectly fine.

chrisbra pushed a commit that referenced this pull request

May 6, 2024
Say you use Vim and set MANPAGER='vim -M +MANPAGER --not-a-term -'; then
:{Zs,S}hKeywordPrg (or K) will crap out and spew terminal garbage into
less when bash's "help" fails. This was introduced by 2f25e40
(runtime: configure keywordpg for some file types (#5566), 2023-08-23)
and may be present in other files touched by that commit.

Make the "man" invocation sensible by unsetting MANPAGER in the
environment.

Note that changing MANPAGER for `:terminal` is not needed; Vim within
Vim is perfectly fine.

closes: #14679

Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>

zeertzjq added a commit to zeertzjq/neovim that referenced this pull request

May 7, 2024
runtime(sh,zsh): clear $MANPAGER in ftplugin before shelling out

Say you use Vim and set MANPAGER='vim -M +MANPAGER --not-a-term -'; then
:{Zs,S}hKeywordPrg (or K) will crap out and spew terminal garbage into
less when bash's "help" fails. This was introduced by 2f25e40b1
(runtime: configure keywordpg for some file types (vim/vim#5566), 2023-08-23)
and may be present in other files touched by that commit.

Make the "man" invocation sensible by unsetting MANPAGER in the
environment.

Note that changing MANPAGER for `:terminal` is not needed; Vim within
Vim is perfectly fine.

closes: vim/vim#14679

vim/vim@8d8cb45

Co-authored-by: D. Ben Knoble <ben.knoble+github@gmail.com>

zeertzjq added a commit to neovim/neovim that referenced this pull request

May 7, 2024
runtime(sh,zsh): clear $MANPAGER in ftplugin before shelling out

Say you use Vim and set MANPAGER='vim -M +MANPAGER --not-a-term -'; then
:{Zs,S}hKeywordPrg (or K) will crap out and spew terminal garbage into
less when bash's "help" fails. This was introduced by 2f25e40b1
(runtime: configure keywordpg for some file types (vim/vim#5566), 2023-08-23)
and may be present in other files touched by that commit.

Make the "man" invocation sensible by unsetting MANPAGER in the
environment.

Note that changing MANPAGER for `:terminal` is not needed; Vim within
Vim is perfectly fine.

closes: vim/vim#14679

vim/vim@8d8cb45

Co-authored-by: D. Ben Knoble <ben.knoble+github@gmail.com>

huangyingw pushed a commit to huangyingw/neovim that referenced this pull request

May 31, 2024
runtime(sh,zsh): clear $MANPAGER in ftplugin before shelling out

Say you use Vim and set MANPAGER='vim -M +MANPAGER --not-a-term -'; then
:{Zs,S}hKeywordPrg (or K) will crap out and spew terminal garbage into
less when bash's "help" fails. This was introduced by 2f25e40b1
(runtime: configure keywordpg for some file types (vim/vim#5566), 2023-08-23)
and may be present in other files touched by that commit.

Make the "man" invocation sensible by unsetting MANPAGER in the
environment.

Note that changing MANPAGER for `:terminal` is not needed; Vim within
Vim is perfectly fine.

closes: vim/vim#14679

vim/vim@8d8cb45

Co-authored-by: D. Ben Knoble <ben.knoble+github@gmail.com>