Vim easter egg in command line completion

86 views
Skip to first unread message

Yegappan Lakshmanan

unread,
Jun 28, 2020, 10:48:36 AM6/28/20
to vim...@googlegroups.com
Hi,

Try pressing Tab after entering the following (you need a space after Ni):

   :hi Ni 

I haven't noticed this easter egg mentioned before.

- Yegappan

Tony Mechelynck

unread,
Jun 28, 2020, 2:36:14 PM6/28/20
to vim_use
Wow! Neither had I. That M* P* display is undoubtedly Bram's idea.

Best regads,
Tony.

Dominique Pellé

unread,
Jun 28, 2020, 4:24:53 PM6/28/20
to Vim List
Yes, I noticed it a long time ago by looking at
code uncovered with tests. That code looked
a tad mysterious until I saw what it did. I gave
up adding a test for it. as it would spoil the
fun :-) and it would also be slow.

This page has other vim easter eggs:
https://www.reddit.com/r/vim/comments/28pj01/vim_easter_eggs/
:hi Ni <Tab> was missing there. So is :smile

Dominique

Yegappan Lakshmanan

unread,
Jun 28, 2020, 4:35:24 PM6/28/20
to vim...@googlegroups.com
Hi,

On Sun, Jun 28, 2020 at 1:24 PM Dominique Pellé <dominiq...@gmail.com> wrote:
Yegappan Lakshmanan wrote:

> Hi,
>
> Try pressing Tab after entering the following (you need a space after Ni):
>
>    :hi Ni
>
> I haven't noticed this easter egg mentioned before.
>
> - Yegappan

Yes, I noticed it a long time ago by looking at
code uncovered with tests. That code looked
a tad mysterious until I saw what it did.  I gave
up adding a test for it. as it would spoil the
fun :-) and it would also be slow.


I also noticed this when developing tests. I have now added
a test for this using test_override with ui_delay to avoid
the delay.

Regards,
Yegappan

BPJ

unread,
Jun 29, 2020, 3:53:46 AM6/29/20
to vim_use
The most hilarious if you know Swedish is that "Ni" is the Swedish word for "You" ("Vous") and when I was young that form of address (to a single person) was supposedly only used by stuffy old people who considered themselves better than others, so "knights who say Ni" evokes a very specific image for my generation of Swedes.

My favorite is clearly :h bar — how many meta levels are there? :-)



Andy Wokula

unread,
Jul 1, 2020, 12:34:49 PM7/1/20
to vim...@googlegroups.com
Nice find for the 20 year an-Ni!-versary of Vim 5.7
(version for PC compiled Jun 24 2000).

It works with Vim 5.7 O.o

--
Andy
Reply all
Reply to author
Forward
0 new messages