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):
5
#151 - Iron Manders / @MandersIron

10/24/2022 at 05:58PM

5
#152 - James / @Dronak

10/24/2022 at 06:55PM

5
#153 - 스치 / @champemunasong

10/27/2022 at 05:33AM

5
#154 - Zhao Kai / @Kai22832

10/28/2022 at 02:33AM

5
#155 - fraktal / @FraktalRebirth

10/28/2022 at 10:24AM

5
#156 - Paradoxskin / @paradoxskin

10/31/2022 at 09:57AM

5
#157 - yancy / @yancy_dong

11/08/2022 at 02:56PM

5
#158 - vuems / @vuems2win

11/10/2022 at 05:36PM

5
#159 - VirginiaSteaks / @VirginiaSteaks

11/13/2022 at 10:34PM

5
#160 - ._. / @Katharsic

11/17/2022 at 04:33PM

5
#161 - Benjamin / @BenjaminBashar

11/19/2022 at 10:15AM

5
#162 - ky05uk3 / @kyo89347563

11/24/2022 at 12:56AM

5
#163 - mindgitrwx / @mindgitrwx

11/28/2022 at 10:25AM

5
#164 - João Carvalho / @joaoCarvas

11/28/2022 at 02:06PM

5
#165 - Mortiz.Hsu / @mortiz_h

12/01/2022 at 10:00AM

5
#166 - rav31v / @rav31v

12/02/2022 at 06:41AM

5
#167 - qyACvBm9H8 / @QyBm9

12/04/2022 at 01:31AM

5
#168 - Dank City / @ddankcity

12/04/2022 at 02:14PM

5
#169 - MC / @MC88686523

12/05/2022 at 03:01AM

5
#170 - Mrmclarrinson / @mrmclarrinson

12/10/2022 at 11:14PM

5
#171 - Michał / @Micha46184564

12/11/2022 at 04:31PM

5
#172 - Zion Park / @zionpark93

12/11/2022 at 08:01PM

5
#173 - Me Tars / @me_tars

12/17/2022 at 06:12AM

5
#174 - Nicholas Healy / @nickrhealy

12/21/2022 at 02:05PM

5
#175 - DW Luna / @dcheed_

12/24/2022 at 06:07PM

5
#176 - x94ru / @x94ru

12/27/2022 at 05:12AM

5
#177 - Marco Meinardi / @Kee__no

12/29/2022 at 02:06PM

5
#178 - dakmuk / @yeongha_yang

01/02/2023 at 01:39PM

5
#179 - Jan Lukány / @Lukanyj

01/02/2023 at 05:32PM

5
#180 - Bruce Woodward / @b00ffer

01/03/2023 at 02:16AM