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

1449 active golfers, 5178 entries

Leaderboard (lowest score wins):
12
#241 - Patrick Sanan / @patricksanan

01/07/2017 at 09:19AM

12
#242 - Alexey Filonenko / @BrightOne_LS

01/07/2017 at 10:18PM

12
#243 - Social Botolinum / @SocialBot4

01/08/2017 at 01:07PM

12
#244 - terhorst / @terhorst

01/23/2017 at 07:30AM

12
#245 - Zhihong Liu / @pieapple03

01/23/2017 at 02:57PM

12
#246 - Marc-André Brière / @TiMarc2010

01/25/2017 at 03:48AM

12
#247 - Birger / @Birger_Ni

01/26/2017 at 01:42PM

12
#248 - Riz Joj / @rizjoj

02/06/2017 at 02:32AM

12
#249 - setNull / @dadaojiemo

02/06/2017 at 03:53AM

12
#250 - Foo Bar / @foobar01123

02/15/2017 at 04:36PM

12
#251 - Le Bray Johan / @ShadTheUseless

02/19/2017 at 02:28PM

12
#252 - Lubinator / @Lubinator2

02/20/2017 at 08:52PM

12
#253 - Tim Grebien / @tiggg

02/21/2017 at 11:53AM

12
#254 - Edras / @Edras41862627

02/22/2017 at 03:33PM

12
#255 - Vimgolf / @vimgolf987

02/27/2017 at 04:08AM

12
#256 - Cheer / @yougec

02/27/2017 at 09:19AM

12
#257 - Nick Spoon / @be_the_spoon

03/08/2017 at 09:41AM

12
#258 - Gkratsia Tantilian / @Gkratsia

03/08/2017 at 09:47AM

12
#259 - Jan Liu / @MaglevGankTrain

03/10/2017 at 10:34AM

12
#260 - Andre Cato / @DreBear800

03/12/2017 at 04:11AM

12
#261 - Alexander Bessonov / @nonsleepr

03/12/2017 at 09:05PM

12
#262 - Ilya Shakirov / @aelaau

03/20/2017 at 08:22AM

12
#263 - Andreas Anderbach / @anderbacha

03/20/2017 at 09:58AM

12
#264 - Sergey Ryabko / @RyabkoSergey

03/22/2017 at 09:42PM

12
#265 - GVest Two / @GvestTwo

03/24/2017 at 08:17AM

12
#266 - BlackCap / @BlackCapCoder

03/24/2017 at 05:21PM

12
#267 - Tose / @Toseim

03/30/2017 at 11:44AM

12
#268 - Remus Dalrymple / @bornintheflames

04/08/2017 at 04:11AM

12
#269 - Julien Philippon / @Apoutchika

04/12/2017 at 08:36PM

12
#270 - Will Clardy / @quexxon

04/15/2017 at 08:50PM