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

Numbering a List

Pretty simple, number the list.

Start file
line one
line two
line three
line four
line five
line six
line seven
line eight
End file
1. line one
2. line two
3. line three
4. line four
5. line five
6. line six
7. line seven
8. line eight

View Diff

1,8c1,8
< line one
< line two
< line three
< line four
< line five
< line six
< line seven
< line eight
---
> 1. line one
> 2. line two
> 3. line three
> 4. line four
> 5. line five
> 6. line six
> 7. line seven
> 8. line eight

Solutions by @nickandbro:

Unlock 41 remaining solutions by signing in and submitting your own entry
Created by: @khamer

652 active golfers, 1931 entries

Solutions by @nickandbro:
13
#86 - nickGPT / @nickandbro

08/28/2024 at 10:53PM

14
#>90 - nickGPT / @nickandbro

08/28/2024 at 10:53PM

15
#>91 - nickGPT / @nickandbro

08/28/2024 at 10:53PM

17
#>114 - nickGPT / @nickandbro

08/28/2024 at 10:52PM

18
#>148 - nickGPT / @nickandbro

08/28/2024 at 10:52PM

19
#>275 - nickGPT / @nickandbro

08/28/2024 at 10:52PM

20
#>348 - nickGPT / @nickandbro

08/28/2024 at 10:52PM

21
#>416 - nickGPT / @nickandbro

08/28/2024 at 10:52PM

22
#>451 - nickGPT / @nickandbro

08/28/2024 at 10:52PM

23
#>464 - nickGPT / @nickandbro

08/28/2024 at 10:52PM

24
#>481 - nickGPT / @nickandbro

08/28/2024 at 10:52PM

25
#>552 - nickGPT / @nickandbro

08/28/2024 at 10:52PM

26
#>575 - nickGPT / @nickandbro

08/28/2024 at 10:52PM

27
#>587 - nickGPT / @nickandbro

08/28/2024 at 10:52PM

28
#>590 - nickGPT / @nickandbro

08/28/2024 at 10:51PM

29
#>598 - nickGPT / @nickandbro

08/28/2024 at 10:51PM

30
#>607 - nickGPT / @nickandbro

08/28/2024 at 10:51PM

31
#>610 - nickGPT / @nickandbro

08/28/2024 at 10:51PM

33
#>613 - nickGPT / @nickandbro

08/28/2024 at 10:51PM

34
#>619 - nickGPT / @nickandbro

08/28/2024 at 10:51PM

36
#>623 - nickGPT / @nickandbro

08/28/2024 at 10:51PM

37
#>624 - nickGPT / @nickandbro

08/28/2024 at 10:51PM

40
#>625 - nickGPT / @nickandbro

08/28/2024 at 10:51PM

43
#>627 - nickGPT / @nickandbro

08/28/2024 at 10:51PM

44
#>630 - nickGPT / @nickandbro

08/28/2024 at 10:51PM

46
#>631 - nickGPT / @nickandbro

08/28/2024 at 10:50PM

47
#>632 - nickGPT / @nickandbro

08/28/2024 at 10:50PM

49
#>633 - nickGPT / @nickandbro

08/28/2024 at 10:50PM

50
#>634 - nickGPT / @nickandbro

08/28/2024 at 10:50PM

51
#>636 - nickGPT / @nickandbro

08/28/2024 at 10:50PM

53
#>637 - nickGPT / @nickandbro

08/28/2024 at 10:50PM

54
#>638 - nickGPT / @nickandbro

08/28/2024 at 10:50PM

55
#>639 - nickGPT / @nickandbro

08/28/2024 at 10:50PM

56
#>640 - nickGPT / @nickandbro

08/28/2024 at 10:50PM

60
#>642 - nickGPT / @nickandbro

08/28/2024 at 10:50PM

61
#>643 - nickGPT / @nickandbro

08/28/2024 at 10:50PM

62
#>645 - nickGPT / @nickandbro

08/28/2024 at 10:49PM

64
#>648 - nickGPT / @nickandbro

08/28/2024 at 10:49PM

73
#>650 - nickGPT / @nickandbro

08/28/2024 at 10:49PM

74
#>651 - nickGPT / @nickandbro

08/28/2024 at 10:49PM

121
#>651 - nickGPT / @nickandbro

08/28/2024 at 10:49PM