V icon indicating copy to clipboard operation
V copied to clipboard

mysterious help pages

Open BlackCapCoder opened this issue 7 years ago • 2 comments

The following produces the lowercase alphabet in neovim, but the string character |linewise|. in V:

:h<_<CR>jjYZZp

I tested a different help page, which consistently produces *usr_01.txt* Nvim in both "languages":

:help tutor<CR>ggYZZp

BlackCapCoder avatar Jun 04 '17 17:06 BlackCapCoder

Are you sure about that? It seems to be working for me: Try it online!

On an unrelated note, you can also generate the alphabet with the range operator, i.e. <M-,> or ¬. Try it online!

DJMcMayhem avatar Jun 04 '17 22:06 DJMcMayhem

As far as I can tell, that particular help page just doesn't exist on my particular install. :help v_b_<_example returns an empty string rather than the whole page.

If it is to any help, I am on Python 3.6.1 and this program returns:

NVIM v0.2.0
Build type: Release
Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wconversion -DNVIM_MSGPACK_HAS_FLOAT32 -O2 -DNDEBUG -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -I/build/neovim/src/build/config -I/build/neovim/src/neovim-0.2.0/src -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/build/neovim/src/build/src/nvim/auto -I/build/neovim/src/build/include
Compiled by builduser

Optional features included (+) or not (-): +acl   +iconv    +jemalloc +tui      For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"% 

on my machine.

BlackCapCoder avatar Jun 05 '17 07:06 BlackCapCoder