Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 548c6254c3fe990002bb28f7

Hail to Alekseï Pajitnov

Wanna play tetris? Don't panic, it's quite long but there's no piece rotation. Little advice: source the file, Luke!

Start file
  ||          ||   Score
  ||          ||   -----
  ||   NN     ||     n/a
  ||    NN    ||
  ||          ||   Level
  ||          ||   -----
  ||          ||       1
  ||          ||
  ||          ||   Lines
  ||          ||   -----
  ||          ||       0
  ||          ||
  ||          ||
  ||          ||
  ||          ||
  ||          ||
  ==============

# Your pieces:
let @a='rAj.j.l.2kh'
let @b='rBl.j.j.2kh'
let @m='rMj.l.j.2kh'
let @n='rNl.j.l.k2h'
let @o='ROOhj.kh'
let @t='rTj.h.2l.kh'
let @w='rWj.j.j.3k'
End file
  ||          ||   Score
  ||          ||   -----
  ||          ||     n/a
  ||      W   ||
  ||      W   ||   Level
  ||      W   ||   -----
  ||      W   ||       1
  ||          ||
  ||          ||   Lines
  ||          ||   -----
  ||          ||       7
  ||          ||
  || OO  M BB ||
  ||AOOOOMMAB ||
  ||ANNOOTMAB ||
  ||AANNTTTAA ||
  ==============

# Your pieces:
let @a='rAj.j.l.2kh'
let @b='rBl.j.j.2kh'
let @m='rMj.l.j.2kh'
let @n='rNl.j.l.k2h'
let @o='ROOhj.kh'
let @t='rTj.h.2l.kh'
let @w='rWj.j.j.3k'

View Diff

4,8c4,8
<   ||   NN     ||     n/a
<   ||    NN    ||
<   ||          ||   Level
<   ||          ||   -----
<   ||          ||       1
---
>   ||          ||     n/a
>   ||      W   ||
>   ||      W   ||   Level
>   ||      W   ||   -----
>   ||      W   ||       1
12,16c12
<   ||          ||       0
<   ||          ||
<   ||          ||
<   ||          ||
<   ||          ||
---
>   ||          ||       7
17a14,17
>   || OO  M BB ||
>   ||AOOOOMMAB ||
>   ||ANNOOTMAB ||
>   ||AANNTTTAA ||

Solutions by @jkrause314:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @mcr05

15 active golfers, 37 entries

Solutions by @jkrause314:
53
#6 - Jon Krause / @jkrause314

01/25/2016 at 01:44AM