Monday, June 29, 2020

Re: Vim easter egg in command line completion


Den sön 28 juni 2020 22:36Yegappan Lakshmanan <yegappanl@gmail.com> skrev:
Hi,

On Sun, Jun 28, 2020 at 1:24 PM Dominique Pellé <dominique.pelle@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
 
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

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? :-)



--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CADAJKhDreBm21tVBNdL5pWcZ%3DQ0udEZuc7umxEBKCTsJOp%2BE%2Bg%40mail.gmail.com.

No comments: