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 54d6ed13bb73ec0688000001

50 factorials mod 97

List 1! to 50!, but give your answer mod 97.

Start file
Factorials
End file
1
2
6
24
23
41
93
65
3
30
39
80
70
10
53
72
60
13
53
90
47
64
17
20
15
2
54
57
4
23
34
21
14
88
73
9
42
44
67
61
76
88
1
44
40
94
53
22
11
65

View Diff

1c1,50
< Factorials
\ No newline at end of file
---
> 1
> 2
> 6
> 24
> 23
> 41
> 93
> 65
> 3
> 30
> 39
> 80
> 70
> 10
> 53
> 72
> 60
> 13
> 53
> 90
> 47
> 64
> 17
> 20
> 15
> 2
> 54
> 57
> 4
> 23
> 34
> 21
> 14
> 88
> 73
> 9
> 42
> 44
> 67
> 61
> 76
> 88
> 1
> 44
> 40
> 94
> 53
> 22
> 11
> 65
\ No newline at end of file

Solutions

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 19 remaining solutions by signing in and submitting your own entry
#20 Larry Battle / @LarryBattle - Score: 145 - 02/08/15 @ 15:38
C1<CR>2<CR>6<CR>24<CR>23<CR>41<CR>93<CR>65<CR>3<CR>30<CR>39<CR>80<CR>70<CR>10<CR>53<CR>72<CR>60<CR>13<CR>53<CR>90<CR>47<CR>64<CR>17<CR>20<CR>15<CR>2<CR>54<CR>57<CR>4<CR>23<CR>34<CR>21<CR>14<CR>88<CR>73<CR>9<CR>42<CR>44<CR>67<CR>61<CR>76<CR>88<CR>1<CR>44<CR>40<CR>94<CR>53<CR>22<CR>11<CR>65<Esc>ZZ

0 comments


Created by: @MeowLucid

20 active golfers, 58 entries

Leaderboard (lowest score wins):
28
#1 - Urtica dioica / @udioica

02/08/2015 at 04:23PM

28
#2 - John Braxler / @braxler

02/16/2015 at 07:08PM

28
#3 - 何晨 / @hechen0_

09/22/2016 at 05:11PM

28
#4 - Márcio Santos / @m4rciosantos

04/25/2020 at 11:08PM

28
#5 - Miłosz Łakomy / @foobar01123

08/12/2020 at 04:39PM

28
#6 - wpr__ / @wpr____

03/08/2022 at 04:35AM

28
#7 - Peppa Pig / @PeppaPigSg

08/07/2024 at 12:16AM

28
#8 - nickGPT / @nickandbro

08/28/2024 at 04:34AM

29
#9 - Kerson Hsiao / @KersonHsiao

12/07/2017 at 06:16AM

29
#10 - pikjes / @pikjes2

07/16/2021 at 06:54PM

34
#11 - Petro Тrouq / @zulolosi

02/08/2015 at 01:08PM

34
#12 - Matt / @mcr05

02/08/2015 at 01:33PM

34
#13 - Terence Hang / @technic_tec

02/15/2015 at 03:55AM

34
#14 - pftb12345 / @pftb12345

04/16/2015 at 02:00PM

34
#15 - Jon Krause / @jkrause314

01/19/2016 at 02:07AM

34
#16 - glepha / @glepha_vim

03/24/2016 at 04:04AM

35
#17 - Paul Inc / @hiniol1982

04/18/2020 at 09:56AM

36
#18 - Daniel Bellenger / @DanielBellenger

10/16/2016 at 03:07PM

38
#19 - Carlos López / @morrizon

02/08/2015 at 01:51PM

145
#20 - Larry Battle / @LarryBattle

02/08/2015 at 03:38PM