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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 18 remaining solutions by signing in and submitting your own entry
#19 Andreas Buhr / @andreas_buhr - Score: 81 - 05/22/20 @ 11:53
qqiQ1:<Tab><Esc>j0q@q@q@q@q@q@q@qiBIG:<Esc>4a<Tab>OFF<Esc>a<CR>RES:<Tab><Esc>ggjlr2jr3jhrMljhRM2<Down><Left><Left>M3<Down><Left>4<Down><Left><Left>M4<Esc>ZZ

0 comments


Created by: @bkbncn

19 active golfers, 46 entries

Leaderboard (lowest score wins):
44
#1 - Filipe Brandenburger / @filbranden

03/29/2020 at 04:43AM

45
#2 - John Braxler / @braxler

03/06/2020 at 03:56PM

45
#3 - Quark / @PuzzleQuark

03/22/2020 at 07:11PM

47
#4 - Paul Parker / @PaulDesmoParker

03/06/2020 at 11:09AM

47
#5 - garry quested / @GQuested

03/06/2020 at 11:54AM

47
#6 - floyd / @floyd10086

03/10/2020 at 09:55AM

47
#7 - KingYames / @JamesZeHunter

03/10/2020 at 05:30PM

50
#8 - Saki Gw / @Sakigw

03/06/2020 at 11:58PM

50
#9 - Arjan Verkerk / @adverkerk

03/10/2020 at 01:12PM

53
#10 - 薛浩滎 / @iTPChbTeI4ZW9s3

03/17/2020 at 12:13AM

56
#11 - Jan Bundesmann / @janbundesmann

03/06/2020 at 09:14AM

56
#12 - Sean Dewar / @seandewar

03/13/2020 at 05:23PM

57
#13 - Smylers / @Smylers2

03/06/2020 at 09:53AM

59
#14 - BnnGolfer / @BnnGolfer

03/31/2020 at 06:39PM

62
#15 - 廖彥智 / @JeffYenchih

03/09/2020 at 10:11AM

63
#16 - John / @JohnJDoe2

03/06/2020 at 08:38AM

65
#17 - Patrick Motard / @PatrickMotard

03/06/2020 at 11:11PM

67
#18 - RockerZZY / @rocker_zzy

06/11/2020 at 11:24PM

81
#19 - Andreas Buhr / @andreas_buhr

05/22/2020 at 11:53AM