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

513 active golfers, 1648 entries

Leaderboard (lowest score wins):
11
#421 - FerlySky / @_FerlySky

05/19/2022 at 03:27AM

11
#422 - Strageslol / @Strageslol

06/03/2022 at 09:06AM

11
#423 - Siddharth Murali / @SidTweetsALess

06/24/2022 at 10:18AM

11
#424 - P / @P94394010P

06/27/2022 at 11:03AM

11
#425 - Stanisław Ostrowski / @StanisawOstrow4

07/08/2022 at 09:50AM

11
#426 - Jingshan Yin / @Jingshan1989

07/13/2022 at 09:24PM

11
#427 - Ramil Gadzhiev / @RamiGaggi

08/27/2022 at 01:19PM

11
#428 - LordPax / @LordPompax

10/05/2022 at 10:35PM

11
#429 - Daniel Nettelfield / @DNIIBOY

12/11/2022 at 09:07PM

11
#430 - Sylvain Dangin / @Sylvaner03

02/25/2023 at 08:15PM

11
#431 - Jin-hyeok Kim / @JinhyeokKim12

03/13/2023 at 01:00AM

11
#432 - jackson / @bearahuman

04/21/2023 at 03:08PM

11
#433 - Alexandre Daoud / @AlexandreDaoud

06/10/2023 at 06:20AM

11
#434 - Ibby / @sleepy_swords

06/18/2023 at 02:22PM

11
#435 - slimsybeetle / @slimsybeetle

01/28/2024 at 07:18PM

11
#436 - Jacob / @FuPingstar

02/01/2024 at 05:29PM

11
#437 - Kory Newton / @korynewton

02/03/2024 at 08:50PM

12
#438 - BigBerny / @bigbigberny

06/09/2022 at 02:16PM

12
#439 - rando bando / @randoba40946238

06/24/2022 at 01:37AM

12
#440 - oboki / @happy_oboki

07/28/2022 at 04:59AM

12
#441 - Himanshu Tank / @himanshutank75

10/15/2022 at 06:11PM

12
#442 - Abhijeet Bodas / @apbodas

10/30/2022 at 04:28PM

12
#443 - Thomas 🏴 / @ThomasGrgrczk

11/19/2022 at 11:35AM

12
#444 - Ricky (the fox) / @rickythefox

03/14/2023 at 08:40PM

12
#445 - Christian Rametta / @ramettachristi1

04/09/2023 at 04:11PM

12
#446 - Nick Podratz / @nickpodratz

04/23/2023 at 12:37PM

12
#447 - Niktoshka / @___krot

05/16/2023 at 02:33AM

12
#448 - Adi Ron / @notadiron

05/22/2023 at 10:44AM

12
#449 - Thomas Li / @tlupenn

07/16/2023 at 07:00PM

12
#450 - Jelani Felix / @Jelanife

03/18/2024 at 02:52AM