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

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

671 active golfers, 1067 entries

Solutions by @carterg:
9
#592 - carterg / @carterg

02/20/2025 at 04:30PM

10
#>608 - carterg / @carterg

02/20/2025 at 04:30PM

13
#>645 - carterg / @carterg

02/20/2025 at 04:29PM

14
#>649 - carterg / @carterg

02/20/2025 at 04:29PM

15
#>654 - carterg / @carterg

02/20/2025 at 04:27PM