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 55bcdc3ef4219f456102374f

Vice versa

Little role switching.

Start file
The quick brown fox jumps over the lazy dog.
End file
The quick lazy dog jumps over the brown fox.

View Diff

1c1
< The quick brown fox jumps over the lazy dog.
---
> The quick lazy dog jumps over the brown fox.

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 1891 remaining solutions by signing in and submitting your own entry
#1892 Thanh ND / @thanhnd84 - Score: 283 - 08/16/15 @ 18:01
lllllllllllllllllllvjhhhhhhhhh<Esc>lllllllllllllllllllllllllllljhhhvllllllllYllllllllllppppppppuuuuuuuuulllllllllllllllllllllllllljhvllllllllYlllllllllyy puxxxxxla<Esc>hh ilazy do <Esc>lljhxxxxxllllllllllllhhhhhhhhhhhhhhig<Esc>xlig<Esc>lllllllllllllllllllllllllhhhhhhhhxxxxxxxxbrown<Esc>ullllibrown fox<Esc>:wq<CR>

0 comments


Created by: @daniel_beck_il

1892 active golfers, 6981 entries

Leaderboard (lowest score wins):
41
#1861 - Radoslav Ivanov / @rivanov1

09/15/2015 at 12:10AM

41
#1862 - tuyen / @tuyen66827418

11/22/2018 at 01:51PM

41
#1863 - gtgtgt02 / @gtgtgt02

03/28/2019 at 02:54PM

41
#1864 - jackmark / @jackmar14540583

07/10/2020 at 03:05PM

42
#1865 - Tom Sun / @tomsun100

10/11/2016 at 03:36PM

42
#1866 - Niels Pedersen / @NielsLearnsPy

05/12/2018 at 07:45AM

42
#1867 - Qiankun / @Qiankun76375126

08/01/2019 at 11:31AM

45
#1868 - louis_chiffre / @louis_chiffre

10/04/2017 at 03:32PM

46
#1869 - Dominik / @domschrei

05/18/2016 at 10:22PM

46
#1870 - Alucardkoten / @alucardkoten

09/19/2019 at 04:44AM

46
#1871 - Nathan Slaughter / @NjSlaughter

11/11/2019 at 08:25PM

47
#1872 - Mika .B / @Michael_Ben_Ali

09/10/2015 at 01:06PM

47
#1873 - Rishabh / @RKJ_9191

11/13/2017 at 01:40PM

47
#1874 - Name / @Rizzey3730

05/18/2020 at 07:07PM

48
#1875 - martin tourneboeuf / @martintournebo1

05/21/2017 at 10:21AM

50
#1876 - The9ain / @the9ain

08/06/2018 at 12:34PM

50
#1877 - Sarayut Lawilai / @imkopkap

05/13/2020 at 09:13AM

52
#1878 - e65a8260f8c973e3d7ff / @e65a8260f8c973e

09/20/2017 at 06:52AM

55
#1879 - Max Thomas / @eitas

12/27/2019 at 04:06PM

58
#1880 - vsevolod / @vsevolodorlov

01/27/2016 at 12:11PM

59
#1881 - Nil / @nilnoone

12/02/2019 at 12:27PM

60
#1882 - urandom / @ttyrandom

10/20/2018 at 04:15PM

62
#1883 - Wes Whitney / @wes_whitney

09/03/2015 at 02:50AM

64
#1884 - かのん / @empty0515

10/21/2019 at 08:34AM

66
#1885 - Omid Hezaveh / @omidfi

08/11/2015 at 07:35PM

67
#1886 - Tim Tejsner / @datimsta

10/26/2017 at 10:14PM

89
#1887 - Shawn / @_shawnhuang

08/26/2015 at 01:15PM

117
#1888 - Philip McHugh / @PhilipMcHugh_IE

12/06/2019 at 11:34AM

121
#1889 - 박주영 / @xhgnVrQ6uUJOTnB

06/29/2018 at 08:41AM

158
#1890 - sadia / @sadia_59

11/15/2018 at 10:43AM