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 @xiaoao1024:

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

549 active golfers, 1773 entries

Solutions by @xiaoao1024:
5
#334 - xiaoao1024 / @xiaoao1024

04/28/2024 at 11:29AM

6
#>414 - xiaoao1024 / @xiaoao1024

04/28/2024 at 11:29AM

9
#>432 - xiaoao1024 / @xiaoao1024

04/28/2024 at 11:29AM

10
#>448 - xiaoao1024 / @xiaoao1024

04/28/2024 at 11:28AM

11
#>466 - xiaoao1024 / @xiaoao1024

04/28/2024 at 11:28AM

12
#>482 - xiaoao1024 / @xiaoao1024

04/28/2024 at 11:27AM