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

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

29 active golfers, 100 entries

Solutions by @tuure_p:
56
#21 - Tuure / @tuure_p

05/17/2021 at 11:32PM