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 9v006637d03a00000000026f

Find anomalies

There is one special character per line

Start file
print("OPQOPQOPQOPQOPQOPQOPQOPQOPQOPQOPQOPQ0PQOPQOPQOPQ")
print("123123123123123123l23123123123123123123123123123")
print("hijkhijkhijkhijkhijkhijkhijkhijkhijkhijkhijkһijk")
print("klmnkImnklmnklmnklmnklmnklmnklmnklmnklmnklmnklmn")
print("2342342342342342342342Ʒ4234234234234234234234234")
print("ijkijkijkijkijkijkijkijkijkijkijkijkijκijkijkijk")

# vim:ft=python
End file
print("OPQOPQOPQOPQOPQOPQOPQOPQOPQOPQOPQOPQ0PQOPQOPQOPQ")
print("                                    ^           ")
print("123123123123123123l23123123123123123123123123123")
print("                  ^                             ")
print("hijkhijkhijkhijkhijkhijkhijkhijkhijkhijkhijkһijk")
print("                                            ^   ")
print("klmnkImnklmnklmnklmnklmnklmnklmnklmnklmnklmnklmn")
print("     ^                                          ")
print("2342342342342342342342Ʒ4234234234234234234234234")
print("                      ^                         ")
print("ijkijkijkijkijkijkijkijkijkijkijkijkijκijkijkijk")
print("                                      ^         ")

# vim:ft=python

View Diff

1a2
> print("                                    ^           ")
2a4
> print("                  ^                             ")
3a6
> print("                                            ^   ")
4a8
> print("     ^                                          ")
5a10
> print("                      ^                         ")
6a12
> print("                                      ^         ")

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 33 remaining solutions by signing in and submitting your own entry
#34 Kenneth Seet / @itstrueitstrueitsrealitsreal - Score: 418 - 05/06/24 @ 07:54
koiprint<BS><BS><BS><BS><BS><BS>ptint<BS><BS><BS><BS><BS>print <BS>("                                      <BS><BS>^           ")<Esc>joprint("                    <BS><BS>^                             ")<Esc>joprint("                                             <BS>^   ")<Esc>joprint("     &<BS>^                                          ")<Esc>joprint("                      ^                         ")j<BS><Esc>joprint <BS>("                                      ^         ")<Esc>kkkkkkkkkkl<Esc><Esc><Esc>:wq<CR>

0 comments


Created by: @maharba6

34 active golfers, 125 entries

Leaderboard (lowest score wins):
30
#1 - Lennart / @lennartack

05/06/2024 at 08:37PM

30
#2 - djheidihoe / @djheidihoe1

05/06/2024 at 08:58PM

30
#3 - wpr__ / @wpr____

05/06/2024 at 10:05PM

30
#4 - Peppa Pig / @PeppaPi95550250

05/07/2024 at 08:00AM

30
#5 - Jean George / @JeanGeo20504212

05/07/2024 at 03:34PM

30
#6 - John Braxler / @braxler

05/07/2024 at 04:30PM

30
#7 - Danilo J. S. Bellini 🥊🇧🇷 / @danilobellini

05/23/2024 at 07:39PM

30
#8 - Sander Meij / @SanderMeij

05/29/2024 at 12:55PM

30
#9 - tjdrlvs / @tjdrlvs

05/31/2024 at 02:11AM

30
#10 - alexeypetrenko / @alexeypetrenko

07/02/2024 at 08:39AM

31
#11 - maharba6 / @maharba6

07/04/2024 at 10:13AM

33
#12 - Ivo Blöchliger / @aigledesalpes

05/07/2024 at 10:11AM

33
#13 - yberamb / @yberamb

05/11/2024 at 02:32PM

35
#14 - James Tan / @jamesbtan

05/06/2024 at 08:42PM

37
#15 - Casey O'Donnell / @CaseyOD15519082

05/12/2024 at 08:19PM

38
#16 - Smylers / @Smylers2

05/12/2024 at 02:17PM

39
#17 - evixenon / @evixenon

07/20/2024 at 05:27PM

40
#18 - haruto009 / @haruto009

05/23/2024 at 01:10PM

40
#19 - Blake Raymond / @bit-ray

07/13/2024 at 06:56PM

41
#20 - rhasarub / @rhasarub

09/09/2024 at 08:43PM

42
#21 - Aly Thobani / @alythobani

05/22/2024 at 05:35PM

45
#22 - cotarmanach / @cotarmanach

05/13/2024 at 07:04PM

45
#23 - nickGPT / @nickandbro

08/22/2024 at 04:40AM

50
#24 - Janusz Spatz / @janusz-anue

09/15/2024 at 06:15PM

51
#25 - Chris AtLee / @catlee

05/11/2024 at 02:46AM

51
#26 - Paul McDowell / @etothepi16

06/15/2024 at 07:55PM

59
#27 - dennis / @nagolove

05/21/2024 at 12:49PM

59
#28 - Herman Stavelin / @HerSta

07/01/2024 at 07:45AM

59
#29 - gnragazzi / @gnragazzi

08/02/2024 at 09:23PM

71
#30 - Giacomo Sansone / @pcineverdies

06/24/2024 at 09:02PM