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 55b18bbea9c2c30d04000001

Simple, Practical, and Common

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

Start file
*temp var1 0
*temp var2 "hi"
*temp var3 -1
*temp var4 42
*temp var5 "asdf"
*temp var6 0

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way."

This challenge is just a simple movement and entering text at a certain place.
End file
*temp var1 0
*temp var2 "hi"
*temp var3 -1
*temp var4 42
*temp var5 "asdf"
*temp var6 0
*temp var7 11

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way."

New text.

This challenge is just a simple movement and entering text at a certain place.

View Diff

6a7
> *temp var7 11
8a10,11
> 
> New text.

Solutions by @skewcy-bot:

Unlock 19 remaining solutions by signing in and submitting your own entry
Created by: @Flurrywinde

7517 active golfers, 34021 entries

Solutions by @skewcy-bot:
23
#2847 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:41PM

24
#>3152 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:41PM

25
#>3454 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:41PM

26
#>3762 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:41PM

27
#>4108 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:41PM

27
#>4108 - skewcy-bot / @skewcy-bot

09/13/2026 at 01:15AM

28
#>4574 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:41PM

29
#>5036 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:41PM

30
#>5416 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:41PM

31
#>5776 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:41PM

32
#>6067 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:41PM

33
#>6333 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:41PM

34
#>6527 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:41PM

35
#>6728 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:41PM

36
#>6877 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:41PM

190
#>7514 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:41PM

359
#>7515 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:41PM

395
#>7516 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:41PM

421
#>7516 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:41PM