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 4d1c1a3cf655cd081000000d

A Simple One

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

Start file
999 1999
End file
1024 2048

View Diff

1c1
< 999 1999
---
> 1024 2048

Solutions by @shahanavazm:

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

664 active golfers, 1050 entries

Solutions by @shahanavazm:
9
#528 - shahanavaz m / @shahanavazm

02/14/2022 at 06:01AM

9
#>566 - shahanavaz m / @shahanavazm

02/23/2024 at 05:28AM

11
#>604 - shahanavaz m / @shahanavazm

04/04/2023 at 07:39PM

13
#>637 - shahanavaz m / @shahanavazm

02/14/2022 at 05:59AM

15
#>646 - shahanavaz m / @shahanavazm

02/14/2022 at 05:58AM

15
#>647 - shahanavaz m / @shahanavazm

01/29/2024 at 05:14AM