HiPhish / info.vim

Browse info files from Vim (mirror)
https://gitlab.com/HiPhish/info.vim
MIT License
40 stars 6 forks source link

What should the command for 'next' and so on be called? #1

Closed HiPhish closed 7 years ago

HiPhish commented 7 years ago

This family of commands is used for navigating to related neighbouring nodes. Here are my suggestions, keep in mind that these commands will only be available in info buffers:

" append node (currently in use)
:UpNode
:NextNode
:PrevNode

" Prepend info
:InfoUp
:InfoNext
:InfoPrev

The variants with Info prefix are guaranteed to have at least four suggestions for the first four letters when tab-completing, and unlikely to have more. On the other hand, the suffix versions are unpredictable, they might complete immediately or the user might get a lot of suggestions if other plugins use a similar naming scheme.

Opinions?

justinmk commented 7 years ago

Seems complicated. Why can't InfoNext, InfoUp, InfoPrev just do the right thing?

HiPhish commented 7 years ago

Oops, I meant InfoUp and not Info. Edited the OP.

HiPhish commented 7 years ago

Last call before I close the issue. Currently there is one vote for InfoNext/InfoUp/InfoPrev, so if no one has to add anything I'll go with that.

HiPhish commented 7 years ago

Done, names have been changed to InfoUp, InfoNext and InfoPrev.