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

2144 active golfers, 7968 entries

Leaderboard (lowest score wins):
13
#841 - mocihan / @mocihan

07/01/2020 at 10:34AM

13
#842 - soundscope / @__soundscope__

07/09/2020 at 07:29PM

13
#843 - Adrián Delgado / @Caritativito

07/12/2020 at 04:00AM

13
#844 - Saurabh / @Saurabh09299

07/23/2020 at 09:15AM

13
#845 - Du Phan / @fehiepsi

08/27/2020 at 09:01PM

13
#846 - Marcio M Pereira / @iviarcio

09/07/2020 at 01:54AM

13
#847 - Vincent Birebent / @Mauve_Force

09/20/2020 at 08:49PM

13
#848 - Ivan Kwong / @IvanKwong5

09/26/2020 at 06:24PM

13
#849 - Leland Paul Kusmer / @lelandpaul

10/22/2020 at 02:28PM

13
#850 - quemeraisc / @quemeraisc

11/05/2020 at 01:41PM

13
#851 - beltza / @beltzafur

11/08/2020 at 04:47PM

13
#852 - hepebexè / @hepebexe

11/28/2020 at 07:08PM

13
#853 - 영훈 / @odjfnrtm

12/30/2020 at 10:02AM

13
#854 - Marc Grimpo / @MarcGrimpo

06/27/2021 at 02:53PM

13
#855 - Michel Viktor / @tomkpz

07/27/2021 at 05:22AM

13
#856 - Youssef Magdy / @youssef_magdy29

05/01/2022 at 02:38AM

13
#857 - Preisthe / @Preisthe

11/30/2023 at 03:51PM

13
#858 - jonas-grobe / @jonas-grobe

02/04/2024 at 04:49PM

13
#859 - Anaritus / @Anaritus

02/26/2024 at 05:32PM

13
#860 - zhs / @ZH-S

04/27/2025 at 02:06AM

14
#861 - Matt / @mcr05

08/01/2015 at 03:39PM

14
#862 - Endre Galaczi / @galacziendre

08/01/2015 at 06:46PM

14
#863 - Carlos López / @morrizon

08/01/2015 at 10:28PM

14
#864 - Louis Caruana / @louiecaruana

08/02/2015 at 06:26AM

14
#865 - pftb12345 / @pftb12345

08/02/2015 at 10:58AM

14
#866 - Rasmus P / @rasmup

08/02/2015 at 11:28AM

14
#867 - Marcelo Montu / @_mMontu_

08/03/2015 at 06:37PM

14
#868 - Programmer Probs / @ProgrammerProbs

08/04/2015 at 06:01PM

14
#869 - Dmitry Zudochkin / @zudochkin

08/04/2015 at 07:15PM

14
#870 - Tim Vail / @timdvail

08/05/2015 at 05:49PM