Yes, I've used nano. Generally for 5 seconds followed by the exclamation "dammit my shell didn't set EDITOR/VISUAL right!"
Vim text editor game teaches you keyboard shortcuts with ice cream delivery
If you find yourself editing text at the Linux command prompt, you've probably either used nano, which is simplest, or the more powerful but difficult-to-master Vim. In Vim, for example, even moving the cursor up, down, left, and right is less than straightforward. How about an ice cream-themed game to teach you all the "Vim …
COMMENTS
-
-
Sunday 5th July 2026 17:06 GMT ChoHag
"Eugh. Did I forget to uninstall that again? How do I quit without accidentally saving?"
On the other hand I've never had trouble leaving vi (or vim). Because a friend at school showing off didn't realise that when you try and shove your body in the way of the keyboard to hide what you're doing, some of us can tell that maybe there's a juicy secret to learn here if we know how to be less obvious.
-
-
Friday 3rd July 2026 08:06 GMT takno
“I’ve been programming since long before modern AI tools existed, but I find they can type faster than I can." says the guy writing the glorified typing tutor.
Next up: Mavis Beacon on why she just knocks up a couple of bullet points and lets an LLM do all the difficult stuff with sentences and paragraphs
-
Friday 3rd July 2026 08:07 GMT Authentic Name
NetHack
Isn't that what Rogue and NetHack are for?
BOFH PFY moment: many years ago, the boss breezes in one afternoon showing things off to guests. I'm at a console with a game of NetHack underway. PHB glazes over the ASCII dungeon map and enthuses to the guests, "These guys are always such complicated techie stuff, I don't get any of it!"
-
-
Friday 3rd July 2026 13:17 GMT Dave559
Re: hjkl
That's good - I had never noticed the "clues" in j and k before, I'd just mentally absorbed them through practice…
(And previous game-playing experience on our ZX Spectrum with the 5/6/7/8 keys probably also subconsciously helped! Another system with its own complicated multi-key commands…)
-
-
-
Friday 3rd July 2026 14:58 GMT William Towle
Re: (h for left, j for down, k for up, and l for right)
> I seem to remember playing something using those keys.... Checkee Egg or Doom? (those are the 2 games I remember playing a lot)
Depending on the game you tended to get two adjacent keys for left and right and two other keys above each other for up and down - eg. q, a, o, p (or similar if p had been reserved for pause and/or q for quit).
I don't remember h/j/k/l used for anything but on the Spectrum they're in the same block of the keyboard matrix and could have been read together in the same way the "Sinclair Joystick" key combinations were.
I do remember some Spectrum games having alternative unadvertised keys - the arrow keys worked on Manic Miner*, and various adjacent pairs worked as left/right (...possibly also MM?).
(* "why not use the arrow keys, arrow keys, arrow keys...?" :grin:)
-
Friday 3rd July 2026 16:36 GMT Dan 55
Re: (h for left, j for down, k for up, and l for right)
Also the Sinclair Interface 2/Amstrad Spectrum joystick ports were incompatible with Sinclair's own cursor keys, so the left joystick could be fitted into the 12345 block and the right joystick into the 67890 block.
The cursor keys were in two blocks, 5 was on its own in the 12345 block.
-
Monday 6th July 2026 21:30 GMT William Towle
Re: (h for left, j for down, k for up, and l for right)
> The cursor keys were in two blocks, 5 was on its own in the 12345 block.
The cursor keys being 5 to 8 seem to be a consequence of the decision to place RUBOUT and HOME in the top right of the ZX80 keyboard, with later models following suit. It follows that in order to not conflict with other pre-existing game controls, the two Interface 2 joysticks had to break with the convention of using the keys with the arrow labels.
I've not seen anything that says the order matches Lear Siegler Inc's choice of H/J/K/L intentionally, however the code points in the ZX80 character set suggest to me that we could have had up/down/left/right and it's clear some other decision was made.
-
-
-
Friday 3rd July 2026 17:09 GMT cleminan
Re: (h for left, j for down, k for up, and l for right)
Acorn Electron/Archie standard keys were z (left), x (right), ' (up), / (down) and space to fire/jump/splat the cute furry thing with a hammer (though that game just had left/right directional controls).
Sensible spread across the keyboard for a single player, at least one game compacted them down to z, x, c, f, left ctrl and ,, ., /, ', right ctrl for a cramped two player experience.
-
This post has been deleted by its author
-
-
-
Saturday 4th July 2026 16:57 GMT Anonymous Coward
Emacs isn't really a complete OS. It doesn't run systemd. Or any of the other Windows/BSD/Linux embuggerances, It does however include a vi emulation mode that works remarkably well. Though why anyone would choose to use that instead of running the far less resource hungry "native" vi is a mystery. "Because I can" could be a reasonable enough excuse.
IIUC vi macros are Turing-complete. [I remember there used to be a chunky set of vi macros - vimaze? - which solved ASCII-art mazes.] If they are Turing-complete, I suppose someone could run a real OS on top of vi's macros and have that (virtualised?) OS run emacs in vi emulation mode. For all I know someone with too much time on their hands might well have already done this.
-
Sunday 5th July 2026 17:17 GMT ChoHag
> Is it true that as a complete OS, EMACS includes a copy of vi?
That's my preferred editor (there are some emacs features that are slightly handy in long-running sessions where plain vi would become a bit of a drag, and I like vim's macros), but you have to install vi yourself afterwards lest any GNU developers face the mortal peril of having to consider that they might not be entirely in the right about absolutely everything 100% of the time.
-
-
-
-
-
Friday 3rd July 2026 13:08 GMT retiredFool
Yep, vi is old, like really old. I used it in school in the 70's. My EE dept had a pdp 11/70 and initially had I think it was called ed. A line based editor. The EE dept picked up something from Rand corp called Ned. It was a full screen editor. It was lovely. It also could consume the resources of the pdp with just 3 users using it. That was a problem. It got replaced by vi, but I would use ned when no one was looking and so did others. I got very proficient with it. I still use my home brew version of it today. It too used hotkeys for actions, except they were all control keys. So ^H was move back, not h. h got you an h. And depending on the mode, toggled with ^o, it is either overstrike or insert mode. So basically you just typed with instant white out. It also did one other fantastic thing for makefiles. It would automatically
replace leading chars with a tab if it could.
Just one feature which remember this was the 70's was it could cut and paste rectangular areas. It could also pipe cut buffers to thru a external program. So I recall doing stuff like exec an ls and put the result in the file, or calling sed to modify an area all while in the editor. It also was multi-window, horizontal or vertical ones. So you could see up to I think 5 files on screen and copy/paste between. Excellent if you were looking to chop up a large program into smaller files. Another way I'd use it is if I needed a diff. So diff the 2 files into another file, and then open all 3 into 3 windows to see the diff and easily jump to the diff places between the files. Again this was like 78.
Loved it, but like vi it has a steep learning curve of rote memorizing what key does what. I don't even think about it anymore. Although I did make my version have assignable keys so I could map a few onto the extra keys now on most keyboards. I still use mostly the key assignments in that version in the 70's. And of course, now it is "light as a feather" compared to typical modern editors. Mine has a text size of 87K vs say nano at 237K.
-
-
-
-
Friday 3rd July 2026 15:59 GMT Doctor Syntax
Re: It's not like riding a bicycle
I still use vi a bit. The trouble with using more editing scheme is that you forget which command set to be using at any one time. I've found myself using u to undo something on kwrite or LO and ^Z on vi.
Reading music isn't a problem - it's transferring it to the keyboard at anything faster than 2 seconds per note that's the problem.
-
Friday 3rd July 2026 17:07 GMT LionelB
Re: It's not like riding a bicycle
I'm pretty much limited to ESC and 'i' these days (usually followed by … how the hell do I get out of here without losing my edit, and what in the name of jebus does that '!' do?)
As for the music, I play (various) African guitar styles, so not much call for reading. Western music notation doesn't really work for most African music – the arcane rhythms, phrasing and syncopation turns it into an unreadable mess, so no-one bothers, you just learn it by ear off by heart (which is better for live performance anyway). The last time I (re)learned to read music was because I'd decided to try to learn some jazz standards. Which kind of worked, but I didn't keep it up.
-
Monday 6th July 2026 09:52 GMT CrazyOldCatMan
Re: It's not like riding a bicycle
Western music notation doesn't really work for most African music – the arcane rhythms, phrasing and syncopation turns it into an unreadable mess
Doesn't really work for prog music either (except, maybe, the chord structure). You spend so long trying to puzzle out the phrasing that your music ends up like the musical equivalent of painting by numbers.
Easier [1] to just play it how *you* want to.
[1] Ha! I wish I had the talent to do it properly. Can do quite a few of the Genesis bass lines [2] and some of various other prog/neo-prog guitar lines.
[2] Probably because I've heard them so many times. Sadly, nowadays, the mind is willing but the hands/wrists are very definitely not.
-
Thursday 9th July 2026 11:38 GMT LionelB
Re: It's not like riding a bicycle
Upvoted, but to be honest never really got off on prog. With some honourable exceptions, the arcane phrasings, unconventional time signatures and all those pointless twiddly bits just feel too arbitrary and clever-clever, technical grandstanding rather than actually trying to sound good ("Look! We can do this!" me: "Why would you want to do that?") Not even to mention the risibly pompous lyrics. I did quite like Eels, though, if that counts.
In African musics (plural, because that covers a huge diversity) the rhythm and phrasing is the entire point, but it is uncontrived, natural and organic. Some West African musics have insane rhythmic complexity, but are based on musical legacy and familial dynasties going back centuries – time enough to get it right :-)
-
-
-
-
-
Friday 3rd July 2026 13:32 GMT mhoulden
Does it have one mode that beeps and another that corrupts files?
Actually, I found it's easier to learn the essential commands in vi than to try to work out what other text editor is installed. I only use it for editing config files so I don't need that many. Even on Windows 11, it was easier to use the WSL version until MS reintroduced a text-mode editor.
-
Friday 3rd July 2026 16:45 GMT Dan 55
How embarassing (level 2-2)
I still haven't worked out how to paste into the last line in vi(m) even after all these years, I always end up pasting text into the last-but-one line then deleting the last line and pasting that into the last-but-one line so the last-but-one line becomes the last line.
But I have absolutely no idea why some people don't like vi-based editors.
-
Saturday 4th July 2026 10:56 GMT Rich 2
Vim really isn’t that difficult
Vim gets a lot of stick but it’s really not that difficult. You can learn how to do basic editing, loading, saving, and exiting (!) in 5 minutes
Everything else is just sugar in the top (supercharged extra powerful sugar but nonetheless) and the thing is, you do not need to learn it all at once. Use the basic stuff and when you come across a “there’s got to be a better way to do this” situation then check out the docs or Google and add the new technique to your brain. This way, you learn Vim in an organic way as and when you need it
-
-
Sunday 5th July 2026 17:55 GMT ChoHag
Re: Vim really isn’t that difficult
Nope your nope.
After having used vi for nearly 20 years at the time, a fellow $orker was astounded that he was able to teach me what the z command does.
Old dogs can be taught new tricks (and about 10 years later I learned that the vim implementation I'd got to know is different from vi's for whatever reason, so sometimes we can even learn them twice).
-
-