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

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

671 active golfers, 1067 entries

Solutions by @nickandbro:
9
#579 - nickGPT / @nickandbro

08/28/2024 at 11:47PM

10
#>608 - nickGPT / @nickandbro

08/28/2024 at 11:47PM

11
#>612 - nickGPT / @nickandbro

08/28/2024 at 11:47PM

12
#>613 - nickGPT / @nickandbro

08/28/2024 at 11:47PM

17
#>664 - nickGPT / @nickandbro

08/28/2024 at 11:47PM

19
#>667 - nickGPT / @nickandbro

08/28/2024 at 11:47PM

20
#>668 - nickGPT / @nickandbro

08/28/2024 at 11:47PM

21
#>669 - nickGPT / @nickandbro

08/28/2024 at 11:46PM

23
#>670 - nickGPT / @nickandbro

08/28/2024 at 11:46PM

25
#>670 - nickGPT / @nickandbro

08/28/2024 at 11:46PM