A CLI game to learn Vim
ostechnix.com
ostechnix.com
I don't know if there's much evidence of these game style methods actually working. I tried vim-adventures [1], but just found it annoying. As far as I can tell you just want to apply similar learning techniques as with touch typing, so just typing the letters to the screen.
As a side benefit of learning Vim, it's encouraged me to improve my touch typing because of the added benefit that you can type your Vim commands faster.
CTRL-ALT-T
$ killall vimThis is the most wonderful praise one could give to Arch.
See http://techtinkering.com/2009/08/11/my-top-10-classic-text-m... (it's at no. 2)
"This is a multi-player games that can be played over a network, or via multiple terminals on one machine. It consists of a top-down view of a maze where you run around trying to find your opponents to kill. There are a number of weapons and you can also play in teams. It is surprisingly fun, a sort of top-down text mode doom.
Originally written by Conrad Huang and Greg Couch in 1979/80."
Not as cool as this but I used to play it back in the day and learnt quite a few neat tricks from it.
kakoune has more features and high quality plug-ins than nano.
kakoune also interoperates better with tmux.
docker run -it --rm pacvim
I'll probably build it tonight if nobody else does (please comment here so we don't duplicate work)https://gist.github.com/allanlw/64aaa1ed1b24fa3eb833da7940b3...
Dockerfile style/feedback appreciated, although this is really quite terse
https://gist.github.com/tlrobinson/f64d80b872338a878d14601ed...
docker run -it freedomben/pacvim
I'm gonna send a PR to the pacvim project but here's the repo for now: https://github.com/FreedomBen/pacvim-dockerEdit: Here is the PR - https://github.com/jmoon018/PacVim/pull/29
Will try this as well as this seems to be something between nethack and vim adventures?
[0] https://vim-adventures.com/
[1] man vimtutor
Edit: arch has a package for it in the aur pacvim-git so pacaur/packer/yaourt can be used to easily install it
Edit2: the game doesn't really teach you anything this is basicly vim adventures without any explanation :/ would have liked something to give vim beginners to get comfortable with the keybinding while actually learning them
I always just see : Press enter to play => You win the game!
Without anything inbetween, and it jumps straight to the next level.
Edit: There seems to be an issue for this with a fix. https://github.com/jmoon018/PacVim/issues/28
I tried to manually build from source before.
> n – normal mode. > h – hard mode.
> The default mode is h, which is hard
That's an interesting definition of 'normal', then.
I've never been either old enough (47) or cool enough (-20C) to really give a shit about vi/vim or emacs and co. I merely tolerate them and can do the very basics.
I use joe by preference at the console ("boredom" if you like - no real excitement) and live with nano. vi and emacs I merely tolerate because I generally have to look up something.
kate's alright - she's a pretty lass (for an editor) but needs a lot of Plasma and QT.
sounds like you'd enjoy emacs
I still remember the vim movement commands from some game I played years ago when I tried to learn it. It's a nice way to learn. Reminds me of "typing games" that used to exist.
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.