Vim easter egg in command line completion

92 peržiūros
Praleisti ir pereiti prie pirmo neskaityto pranešimo

Yegappan Lakshmanan

neskaityta,
2020-06-28 10:48:362020-06-28
kam: 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

neskaityta,
2020-06-28 14:36:142020-06-28
kam: vim_use
Wow! Neither had I. That M* P* display is undoubtedly Bram's idea.

Best regads,
Tony.

Dominique Pellé

neskaityta,
2020-06-28 16:24:532020-06-28
kam: 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

neskaityta,
2020-06-28 16:35:242020-06-28
kam: 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

neskaityta,
2020-06-29 03:53:462020-06-29
kam: 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

neskaityta,
2020-07-01 12:34:492020-07-01
kam: 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
Atsakyti visiems
Atsakyti autoriui
Persiųsti
0 naujų pranešimų