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 5474ef0bcf59b600024c64de

Config Sections

Section me!

Start file
SECTION1
SECTION TWO
SECTION THREE
THIS IS ANOTHER SECTION
End file
##############################
##         SECTION1         ##
##############################

##############################
##       SECTION TWO        ##
##############################

##############################
##      SECTION THREE       ##
##############################

##############################
## THIS IS ANOTHER SECTION  ##
##############################

View Diff

1,4c1,15
< SECTION1
< SECTION TWO
< SECTION THREE
< THIS IS ANOTHER SECTION
---
> ##############################
> ##         SECTION1         ##
> ##############################
> 
> ##############################
> ##       SECTION TWO        ##
> ##############################
> 
> ##############################
> ##      SECTION THREE       ##
> ##############################
> 
> ##############################
> ## THIS IS ANOTHER SECTION  ##
> ##############################

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 19 remaining solutions by signing in and submitting your own entry
#20 Miłosz Łakomy / @foobar01123 - Score: 103 - 01/01/20 @ 18:09
O<Esc>30i#<Esc>Yppkllv$hhhr jo<Esc>y{3Pjjo<Esc>jjjo<Esc>jjjo<Esc>jjjjdddd{{{{j11lR<C-R>"<BS><Esc>GddkkklllR<C-R>"<BS><Esc>Gdd{kk8lR<C-R>"<BS><Esc>Gdd6G9lR<C-R>"<BS><Esc>ZZ

0 comments


Created by: @NicoDascanio

20 active golfers, 53 entries

Leaderboard (lowest score wins):
43
#1 - Urtica dioica / @udioica

11/25/2014 at 11:59PM

43
#2 - Ivan Brennan / @ivanbrennan

11/27/2014 at 03:32AM

43
#3 - Petro Тrouq / @zulolosi

11/27/2014 at 10:26PM

43
#4 - John Braxler / @braxler

12/01/2014 at 03:51PM

43
#5 - Peppa Pig / @PeppaPi95550250

08/09/2024 at 12:55AM

43
#6 - nickGPT / @nickandbro

08/28/2024 at 04:55AM

45
#7 - zmo / @guyzmo

11/27/2014 at 02:38PM

45
#8 - roudens / @roudens2

02/07/2021 at 04:39AM

46
#9 - Selvaganapathy P / @canabady

02/21/2021 at 06:57AM

47
#10 - せいほう / @FICSQF

04/13/2020 at 12:04AM

48
#11 - Charles H. Leggett / @cleggett

01/14/2015 at 10:31PM

52
#12 - mnx / @mnxx

12/09/2014 at 10:03AM

53
#13 - Hans Liu / @zhansliu

11/25/2014 at 10:56PM

54
#14 - Elizabeth / @sprinkles418

12/18/2014 at 01:19AM

55
#15 - Matt / @mcr05

11/26/2014 at 03:57PM

55
#16 - Jakob / @jajob

12/22/2014 at 08:43AM

60
#17 - Grisha Pushkov / @readoonly

11/26/2014 at 08:37PM

70
#18 - Oliver Christ / @0liverChrist

02/16/2015 at 04:08PM

85
#19 - Glauco Pires / @grpires

11/26/2014 at 04:55PM

103
#20 - Miłosz Łakomy / @foobar01123

01/01/2020 at 06:09PM