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 9v006283b31d00000000021d

delete swap

delete all swap

Start file
1
2
3
4
5
6
7
End file
1234567

View Diff

1,7c1
< 1
< 2
< 3
< 4
< 5
< 6
< 7
---
> 1234567

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 556 remaining solutions by signing in and submitting your own entry
#557 WangPei / @WangPei-hitman - Score: 112 - 07/02/24 @ 13:22
:s/\r/g<Left><Left><Left><Left><Left><Left>%<Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><CR><0xef><0xbc><0x9a>j:s<BS>$<BS>%s/r<BS>\r\n//<CR><Up><Up>:<Up><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS>JjJJJJkJhhxlxlxlxlxlxl:wq<CR>

0 comments


Created by: @vanniuner

557 active golfers, 1788 entries

Leaderboard (lowest score wins):
12
#481 - Nick Podratz / @nickpodratz

04/23/2023 at 12:37PM

12
#482 - Niktoshka / @___krot

05/16/2023 at 02:33AM

12
#483 - Adi Ron / @notadiron

05/22/2023 at 10:44AM

12
#484 - Thomas Li / @tlupenn

07/16/2023 at 07:00PM

12
#485 - Jelani Felix / @Jelanife

03/18/2024 at 02:52AM

12
#486 - HashData / @HashData

05/13/2024 at 05:04PM

12
#487 - Luis Fernando Rodríguez Vargas / @LuisFerRodVar

06/25/2024 at 08:51PM

12
#488 - Alex Elarbee / @elarbee

09/22/2024 at 10:24PM

12
#489 - Wataru Maeda / @lobin-z0x50

12/05/2024 at 05:14AM

13
#490 - Fori / @Fori57885410

06/11/2022 at 09:53AM

13
#491 - Rich Vigorito / @RichVigorito

06/22/2022 at 10:38AM

13
#492 - Obie Munoz / @ObieMunoz

01/22/2023 at 05:14PM

13
#493 - billcao / @billcaocao

02/03/2023 at 12:52AM

14
#494 - nyaa / @ClassOfProblem

05/17/2022 at 10:53PM

14
#495 - xuxin / @xuxinmight

06/20/2022 at 08:45AM

14
#496 - けつ / @ketsumashu

06/26/2022 at 01:26PM

14
#497 - Yoolo7 / @hjt814

07/06/2022 at 09:45AM

14
#498 - 小世界 / @walilav

08/28/2022 at 05:49AM

14
#499 - smaso / @iamsmaso

09/17/2022 at 07:42AM

14
#500 - Sathyanarayanan Vaithianathan / @Sathyan88697115

10/10/2022 at 05:02PM

14
#501 - Mauricio Tellez / @mtellezj

10/27/2022 at 05:31PM

14
#502 - Max Maier / @Max_Maier_VIE

12/20/2022 at 01:32PM

14
#503 - Vincent / @Vincent49015451

07/06/2023 at 08:58AM

14
#504 - Mikołaj / @miko_aj4846

09/03/2023 at 03:10PM

14
#505 - GrafQiao / @GrafQiao

11/03/2023 at 08:06AM

14
#506 - @abimelechbeutelbilch@fulda.social 𝕏 / @FHashitoku

11/28/2023 at 09:29AM

14
#507 - Gulcar / @Gulcar

01/28/2024 at 10:26AM

14
#508 - Pieter-Jan Lavaerts / @Pumpkin_Pie_Eat

03/08/2024 at 01:30PM

14
#509 - dennis / @nagolove

04/25/2024 at 12:46PM

14
#510 - Shuhei Kozasa / @shu-13

05/23/2024 at 11:38PM