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 by @chloebrett:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @maharba6

39 active golfers, 148 entries

Solutions by @chloebrett:
98
#37 - Chloe Brett / @chloebrett

11/12/2024 at 07:47AM