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 @andreas_buhr:

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

29 active golfers, 100 entries

Solutions by @andreas_buhr:
81
#29 - Andreas Buhr / @andreas_buhr

05/22/2020 at 11:53AM