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 by @GavinKoeng:

Unlock 8 remaining solutions by signing in and submitting your own entry
Created by: @vanniuner

575 active golfers, 1880 entries

Solutions by @GavinKoeng:
5
#392 - Gavin / @GavinKoeng

12/29/2025 at 02:00PM

6
#>432 - Gavin / @GavinKoeng

12/29/2025 at 02:00PM

9
#>449 - Gavin / @GavinKoeng

12/29/2025 at 01:59PM

9
#>449 - Gavin / @GavinKoeng

12/29/2025 at 02:00PM

10
#>466 - Gavin / @GavinKoeng

12/29/2025 at 01:59PM

11
#>487 - Gavin / @GavinKoeng

12/29/2025 at 01:58PM

12
#>504 - Gavin / @GavinKoeng

12/29/2025 at 01:58PM

13
#>510 - Gavin / @GavinKoeng

12/29/2025 at 01:59PM