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 53d93fc3768e280002124f23

V to the i

Input is 99 V's. Output is 100 i's.

Start file
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
End file
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii

View Diff

1c1
< VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
---
> iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii

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 1661 remaining solutions by signing in and submitting your own entry
#1662 Theodore DeRego / @tedsta0 - Score: 23 - 12/08/15 @ 03:14
ii<Esc>:5s<BS><BS>%s/V/i/gd<BS><CR>:wq<CR>

0 comments


Created by: @udioica

1662 active golfers, 4122 entries

Leaderboard (lowest score wins):
8
#1081 - John Bucephalus / @AaronHotz

08/24/2016 at 04:44PM

8
#1082 - Nabarun Chatterjee / @nabarunch

08/25/2016 at 02:11PM

8
#1083 - citaret / @citaret

08/26/2016 at 03:03AM

8
#1084 - Paul Roe / @ep_roe

09/05/2016 at 09:25PM

8
#1085 - nixi3 / @Nixi3cc

09/07/2016 at 02:21AM

8
#1086 - Christophe Perrotin / @ChrisPerSurTwit

09/24/2016 at 07:37PM

8
#1087 - Thom Jenkinson / @Thom_Jenks

09/24/2016 at 08:46PM

8
#1088 - Vadim Petrov / @downwithbgp

10/05/2016 at 12:29AM

8
#1089 - poke / @useraaaaaaaaaaf

10/05/2016 at 02:11PM

8
#1090 - Lukas Kruemel / @KruemelKobold

10/06/2016 at 08:36AM

8
#1091 - TweetDreams / @TweetMusicians

10/08/2016 at 06:56PM

8
#1092 - Ted Myers / @fedorasaurus

10/10/2016 at 08:41PM

8
#1093 - Josh Kermond / @Kermond

10/11/2016 at 10:25PM

8
#1094 - Baptiste Vannesson / @Badacadabra

10/12/2016 at 04:55PM

8
#1095 - Pradeep Kumar / @pradeep6kumar

10/15/2016 at 08:35AM

8
#1096 - Lime Hedelmä / @Limetti

10/17/2016 at 01:40AM

8
#1097 - Christian Rondeau / @c_rondeau

10/17/2016 at 03:05AM

8
#1098 - Mark Dawson / @drmarkdawson

10/25/2016 at 07:18AM

8
#1099 - Matti Sairanen / @MattiSairanen

11/13/2016 at 08:12PM

8
#1100 - Etienne Florent / @EtienneFlorent

11/22/2016 at 10:33AM

8
#1101 - Liam S Ismail / @AC01Y

12/07/2016 at 03:17AM

8
#1102 - Sarin Durong / @Sarin4Du

12/11/2016 at 03:13PM

8
#1103 - Brian Phelps / @electronjunkie

12/13/2016 at 01:15AM

8
#1104 - Michał Dytko / @DytkoM

12/19/2016 at 02:41PM

8
#1105 - John lolcats Manst / @lolcatsman

12/21/2016 at 02:11PM

8
#1106 - Marcel Akkerman / @MarcelAkkerman

12/21/2016 at 05:38PM

8
#1107 - chocolate / @chocola81394123

12/22/2016 at 01:32PM

8
#1108 - Igor Doroshenko / @Vernittem

12/25/2016 at 03:37PM

8
#1109 - Sven R / @Sven73de

01/02/2017 at 02:23PM

8
#1110 - Jan Eisenhauer / @EisenhauerJan

01/02/2017 at 09:29PM