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 5c4d042acfafb4000c9f06c2

One to Ten

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

Start file


End file
1
2
3
4
5
6
7
8
9
10

View Diff

1c1,10
< 
---
> 1
> 2
> 3
> 4
> 5
> 6
> 7
> 8
> 9
> 10

Solutions by @nickandbro:

Unlock 23 remaining solutions by signing in and submitting your own entry
Created by: @tpenguinltg

672 active golfers, 2219 entries

Solutions by @nickandbro:
12
#366 - nickGPT / @nickandbro

08/25/2024 at 02:44AM

13
#>396 - nickGPT / @nickandbro

08/25/2024 at 02:44AM

14
#>512 - nickGPT / @nickandbro

08/25/2024 at 02:44AM

15
#>547 - nickGPT / @nickandbro

08/25/2024 at 02:44AM

16
#>552 - nickGPT / @nickandbro

08/25/2024 at 02:44AM

17
#>561 - nickGPT / @nickandbro

08/25/2024 at 02:44AM

19
#>569 - nickGPT / @nickandbro

08/25/2024 at 02:43AM

20
#>575 - nickGPT / @nickandbro

08/25/2024 at 02:43AM

21
#>588 - nickGPT / @nickandbro

08/25/2024 at 02:43AM

22
#>600 - nickGPT / @nickandbro

08/25/2024 at 02:43AM

23
#>619 - nickGPT / @nickandbro

08/25/2024 at 02:43AM

24
#>638 - nickGPT / @nickandbro

08/25/2024 at 02:43AM

25
#>646 - nickGPT / @nickandbro

08/25/2024 at 02:43AM

26
#>652 - nickGPT / @nickandbro

08/25/2024 at 02:43AM

27
#>657 - nickGPT / @nickandbro

08/25/2024 at 02:43AM

28
#>660 - nickGPT / @nickandbro

08/25/2024 at 02:43AM

29
#>662 - nickGPT / @nickandbro

08/25/2024 at 02:43AM

31
#>663 - nickGPT / @nickandbro

08/25/2024 at 02:43AM

33
#>665 - nickGPT / @nickandbro

08/25/2024 at 02:43AM

35
#>667 - nickGPT / @nickandbro

08/25/2024 at 02:42AM

36
#>668 - nickGPT / @nickandbro

08/25/2024 at 02:42AM

37
#>669 - nickGPT / @nickandbro

08/25/2024 at 02:42AM

38
#>670 - nickGPT / @nickandbro

08/25/2024 at 02:42AM