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 432 remaining solutions by signing in and submitting your own entry
#433 DeokRin Yu / @deokrin - Score: 81 - 06/18/22 @ 16:02
,7<0xe3><0x85><0x8a>1<0xe3><0x85><0x88><0xe3><0x85><0x82>v<Down><Down><Down><Down><Down><Down><Esc><Up><Up><Up><Up><Up><Up><Up>wwwwwwwbbbbbbza<0xe3><0x85><0x81>1a234567<Down><Left>x<Down>x<Esc><Esc><Up><Left>vGxa<BS><CR><BS><Esc><CR><CR><CR>:w<CR><CR><CR>:q<CR>

0 comments


Created by: @vanniuner

433 active golfers, 1379 entries

Leaderboard (lowest score wins):
20
#421 - Sahil Shetty / @sahildshetty

09/26/2022 at 05:55AM

20
#422 - cook / @mattcook08

03/29/2023 at 05:25PM

21
#423 - Jay R / @RonatinJ

09/25/2022 at 06:50PM

21
#424 - toddagibson / @toddagibson

05/12/2023 at 04:22PM

21
#425 - ただまる / @tada_maru_jp

09/06/2023 at 02:14PM

23
#426 - asdf / @asdf75821425

05/21/2022 at 04:15PM

23
#427 - Sơn Trần / @sontranpk

06/12/2022 at 08:18AM

23
#428 - andre / @pintoquete

09/22/2023 at 07:39PM

26
#429 - dogmeat / @dogmeat11

05/23/2022 at 06:42PM

35
#430 - Noah Gordon / @bensbr0

11/17/2022 at 01:01PM

37
#431 - Bigerrr / @Bigerrr1

10/09/2022 at 12:50AM

48
#432 - 🌧️閃 / @jokoray

09/08/2022 at 10:03AM

81
#433 - DeokRin Yu / @deokrin

06/18/2022 at 04:02PM