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 5e61b4796c11b6000c1b4069

add line and index

a missed line and index names need to be added

Start file
ON	OFF	OFF	OFF
OFF	OFF	OFF	OFF
A	OFF	OFF	OFF
A	OFF	OFF	OFF
OFF	A	OFF	OFF
ON	OFF	OFF	OFF
OFF	A	OFF	OFF
OFF	OFF	A	OFF
OUT1
End file
Q1:	ON	OFF	OFF	OFF
Q2:	OFF	OFF	OFF	OFF
Q3:	A	OFF	OFF	OFF
M1:	A	OFF	OFF	OFF
M2:	OFF	A	OFF	OFF
M3:	ON	OFF	OFF	OFF
Q4:	OFF	A	OFF	OFF
M4:	OFF	OFF	A	OFF
BIG:	OFF	OFF	OFF	OFF
RES:	OUT1

View Diff

1,9c1,10
< ON	OFF	OFF	OFF
< OFF	OFF	OFF	OFF
< A	OFF	OFF	OFF
< A	OFF	OFF	OFF
< OFF	A	OFF	OFF
< ON	OFF	OFF	OFF
< OFF	A	OFF	OFF
< OFF	OFF	A	OFF
< OUT1
---
> Q1:	ON	OFF	OFF	OFF
> Q2:	OFF	OFF	OFF	OFF
> Q3:	A	OFF	OFF	OFF
> M1:	A	OFF	OFF	OFF
> M2:	OFF	A	OFF	OFF
> M3:	ON	OFF	OFF	OFF
> Q4:	OFF	A	OFF	OFF
> M4:	OFF	OFF	A	OFF
> BIG:	OFF	OFF	OFF	OFF
> RES:	OUT1

Solutions by @janbundesmann:

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

23 active golfers, 59 entries

Solutions by @janbundesmann:
56
#13 - Jan Bundesmann / @janbundesmann

03/06/2020 at 09:14AM