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

1876 active golfers, 6926 entries

Leaderboard (lowest score wins):
16
#1291 - GrimmT / @GrimmT10

11/01/2019 at 07:14PM

16
#1292 - Константин / @pillar_vandyke

11/06/2019 at 02:09AM

16
#1293 - Lei Kin / @kireinasorakin

11/13/2019 at 09:09AM

16
#1294 - Minyi Zhong / @minyi_zhong

11/25/2019 at 02:59AM

16
#1295 - Dan Kilman / @dan_kilman

12/19/2019 at 06:41PM

16
#1296 - hokonch / @hokonch

12/22/2019 at 04:09PM

16
#1297 - JimmyGymglish / @JGymglish

01/06/2020 at 03:06PM

16
#1298 - Tobias Elefsen / @TMToben

01/22/2020 at 06:27PM

16
#1299 - Eugene Korbut / @vlmonk

02/15/2020 at 07:06PM

16
#1300 - Tomas / @Tombakas

03/14/2020 at 01:17AM

16
#1301 - Abhay Shanker Pathak / @AbhayShankerPa2

03/20/2020 at 01:51AM

16
#1302 - Nathan Hartman / @hnathan918

04/03/2020 at 03:45PM

16
#1303 - Nick Lee / @TooManyNickLees

04/05/2020 at 03:15PM

16
#1304 - pm429015 / @pm429015

04/22/2020 at 12:11AM

16
#1305 - Jan Fiser / @dmmn082

05/12/2020 at 06:40PM

16
#1306 - data pata / @datapata3

05/26/2020 at 04:24PM

16
#1307 - RockerZZY / @rocker_zzy

05/27/2020 at 03:05PM

16
#1308 - Matt Tuttle / @Matt_Tuttle

06/02/2020 at 05:05AM

16
#1309 - Samill / @Samill20274954

06/20/2020 at 06:19AM

16
#1310 - nihilistCookie / @NihilistCookie

06/22/2020 at 10:46PM

16
#1311 - Brennan Barker / @BrennanJBarker

07/05/2020 at 04:19AM

17
#1312 - James Fnord / @JamesFnord

08/01/2015 at 03:51PM

17
#1313 - CoCo Loco / @lc2817

08/02/2015 at 09:49AM

17
#1314 - Hector Davensburg / @hdavensburg

08/02/2015 at 07:16PM

17
#1315 - Mikołaj Morzy / @MikolajMorzy

08/08/2015 at 03:00PM

17
#1316 - eirc / @eirc

08/12/2015 at 09:46AM

17
#1317 - mattsalacain / @mattsalacain

08/12/2015 at 10:29PM

17
#1318 - Michael Rees / @reesmichael1

08/14/2015 at 04:52AM

17
#1319 - Jakub Horák / @kubahorak

08/14/2015 at 03:47PM

17
#1320 - Kévin R / @shaiton_

08/17/2015 at 11:49AM