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 50af864132b7ed0002000075

A simple change

Just change the numbers in the most efficient way ...

Start file
1024 2048 3072 4096 5120
6144 7168 8192 9216
End file
2048 3072 4096 5120 6144
7168 8192 9216 10240

View Diff

1,2c1,2
< 1024 2048 3072 4096 5120
< 6144 7168 8192 9216
---
> 2048 3072 4096 5120 6144
> 7168 8192 9216 10240

Solutions by @rqAbrahamsson:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @me_coot

191 active golfers, 461 entries

Solutions by @rqAbrahamsson:
15
#149 - Robin Abrahamsson / @rqAbrahamsson

04/30/2020 at 03:39PM