News for hackers. Stuff that matters.
Re:A CLI game to learn Vim by shagie on Tuesday May 15, 2018 @06:04PM (#17078316)
The classic key bindings for rougelikes were vi key bindings. So rogue, hack, nethack, moria... Newer games of the genera typically still allow the classic bindings, but not as easily supported.
Re:A CLI game to learn Vim by ralphm on Tuesday May 15, 2018 @06:54PM (#17078620)
Back in the early 90s, I learned the vi movement keys through hunt(6) from the BSD Games collection. Can't find a good link for the package, but here is the man page: https://www.unix.com/man-page/bsd/6/hunt/
Re:A CLI game to learn Vim by shagie on Tuesday May 15, 2018 @08:46PM (#17079141)
That package has another excellent way of learning vi commands...

The 'quiz' program had the data set of 'ed' ( https://github.com/vattam/BSDGames/tree/master/quiz / https://github.com/vattam/BSDGames/blob/master/quiz/datfiles... )

    print whole file:1,$p|g/[^|$]/p
So it would print out "print whole file" and you could enter one of:

    1,$p  
    g/^/p
    g/$/p
Hunt is also in that repo.
Re:A CLI game to learn Vim by samort7 on Thursday May 17, 2018 @11:52PM (#17098562)
Was waiting for someone to say this. Got comfortable with Vim movement while descretley playing in-browser Dungeon Crawl Stone Soup at work.