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

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

7358 active golfers, 33353 entries

Solutions by @cpt1bong:
22
#1533 - CptBong / @cpt1bong

11/12/2018 at 02:26AM

22
#>1533 - CptBong / @cpt1bong

11/12/2018 at 03:36AM

22
#>1533 - CptBong / @cpt1bong

11/12/2018 at 03:37AM

22
#>1533 - CptBong / @cpt1bong

11/12/2018 at 03:38AM

23
#>2624 - CptBong / @cpt1bong

11/12/2018 at 03:35AM

25
#>3293 - CptBong / @cpt1bong

11/12/2018 at 02:17AM

26
#>3584 - CptBong / @cpt1bong

11/12/2018 at 02:11AM

27
#>3926 - CptBong / @cpt1bong

11/12/2018 at 02:01AM

28
#>4329 - CptBong / @cpt1bong

11/12/2018 at 01:59AM

29
#>4799 - CptBong / @cpt1bong

11/12/2018 at 01:59AM

30
#>5201 - CptBong / @cpt1bong

11/12/2018 at 01:58AM

31
#>5557 - CptBong / @cpt1bong

11/12/2018 at 01:56AM

32
#>5839 - CptBong / @cpt1bong

11/12/2018 at 01:56AM

33
#>6104 - CptBong / @cpt1bong

11/12/2018 at 01:54AM

34
#>6313 - CptBong / @cpt1bong

11/12/2018 at 01:53AM

35
#>6509 - CptBong / @cpt1bong

11/12/2018 at 01:34AM

36
#>6675 - CptBong / @cpt1bong

11/12/2018 at 01:33AM

36
#>6675 - CptBong / @cpt1bong

11/12/2018 at 01:35AM

36
#>6675 - CptBong / @cpt1bong

11/12/2018 at 01:52AM

37
#>6795 - CptBong / @cpt1bong

11/12/2018 at 01:31AM

38
#>6898 - CptBong / @cpt1bong

11/12/2018 at 01:28AM

41
#>7082 - CptBong / @cpt1bong

11/12/2018 at 01:12AM