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 1935 remaining solutions by signing in and submitting your own entry
#1936 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

1936 active golfers, 7140 entries

Leaderboard (lowest score wins):
52
#1921 - e65a8260f8c973e3d7ff / @e65a8260f8c973e

09/20/2017 at 06:52AM

55
#1922 - Max Thomas / @eitas

12/27/2019 at 04:06PM

57
#1923 - Die_marlone / @m8rl0n

10/02/2020 at 01:18PM

58
#1924 - vsevolod / @vsevolodorlov

01/27/2016 at 12:11PM

59
#1925 - Nil / @nilnoone

12/02/2019 at 12:27PM

60
#1926 - urandom / @ttyrandom

10/20/2018 at 04:15PM

62
#1927 - Wes Whitney / @wes_whitney

09/03/2015 at 02:50AM

64
#1928 - かのん / @empty0515

10/21/2019 at 08:34AM

66
#1929 - Omid Hezaveh / @omidfi

08/11/2015 at 07:35PM

67
#1930 - Tim Tejsner / @datimsta

10/26/2017 at 10:14PM

89
#1931 - Shawn / @_shawnhuang

08/26/2015 at 01:15PM

117
#1932 - Philip McHugh / @PhilipMcHugh_IE

12/06/2019 at 11:34AM

121
#1933 - 박주영 / @xhgnVrQ6uUJOTnB

06/29/2018 at 08:41AM

158
#1934 - sadia / @sadia_59

11/15/2018 at 10:43AM

275
#1935 - Zhao Bin / @ZhaoBin2

06/08/2016 at 02:52PM

283
#1936 - Thanh ND / @thanhnd84

08/16/2015 at 06:01PM