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

1897 active golfers, 6995 entries

Leaderboard (lowest score wins):
16
#1321 - Brennan Barker / @BrennanJBarker

07/05/2020 at 04:19AM

16
#1322 - thisisforliononly / @thisisforliono1

07/27/2020 at 05:44PM

16
#1323 - Hussain Shafeeu / @shxfee

08/01/2020 at 05:07AM

16
#1324 - Cao Van Bi / @CaoVanBi235

08/04/2020 at 12:55PM

17
#1325 - James Fnord / @JamesFnord

08/01/2015 at 03:51PM

17
#1326 - CoCo Loco / @lc2817

08/02/2015 at 09:49AM

17
#1327 - Hector Davensburg / @hdavensburg

08/02/2015 at 07:16PM

17
#1328 - Mikołaj Morzy / @MikolajMorzy

08/08/2015 at 03:00PM

17
#1329 - eirc / @eirc

08/12/2015 at 09:46AM

17
#1330 - mattsalacain / @mattsalacain

08/12/2015 at 10:29PM

17
#1331 - Michael Rees / @reesmichael1

08/14/2015 at 04:52AM

17
#1332 - Jakub Horák / @kubahorak

08/14/2015 at 03:47PM

17
#1333 - Kévin R / @shaiton_

08/17/2015 at 11:49AM

17
#1334 - JerryChiu / @pv31508

08/19/2015 at 01:33PM

17
#1335 - Dennis Li / @_DennisLi

08/25/2015 at 06:57AM

17
#1336 - Jason Schulz / @uxcn_

08/26/2015 at 05:44AM

17
#1337 - Po-Ying Chen / @PoYingChen

08/26/2015 at 03:17PM

17
#1338 - Jesse Atkinson / @jsatk

08/27/2015 at 07:03PM

17
#1339 - Samir / @ModulSam

08/28/2015 at 07:29AM

17
#1340 - Iuri Madeira / @iurimadeira

08/28/2015 at 05:40PM

17
#1341 - Yaroslav Kanarev / @yarosurabu

09/07/2015 at 11:41AM

17
#1342 - Marcus André / @meggesje

09/08/2015 at 01:27PM

17
#1343 - Arend Peter / @APCastelein

09/09/2015 at 01:40AM

17
#1344 - Andrew Reece / @azmreece

09/11/2015 at 01:22PM

17
#1345 - Keyboard Fire / @KeyboardFire

09/11/2015 at 08:54PM

17
#1346 - Hendrik Lammers / @hendriklammers

09/13/2015 at 12:09PM

17
#1347 - Alice Benign / @AliceBenign

09/14/2015 at 01:07AM

17
#1348 - banielTimes / @banielTimes

09/18/2015 at 05:00PM

17
#1349 - Karl August / @ClockworkCoder

09/23/2015 at 09:08AM

17
#1350 - Konrad / @zichul

09/26/2015 at 10:37AM