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 1898 remaining solutions by signing in and submitting your own entry
#1899 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

1899 active golfers, 4824 entries

Leaderboard (lowest score wins):
8
#1111 - abbystasja / @abbystasja

12/21/2015 at 11:10PM

8
#1112 - Ethan Stewart / @EthanS279

12/23/2015 at 08:39PM

8
#1113 - adeel hussain / @adeelhussain

12/25/2015 at 03:23PM

8
#1114 - Elrrrrrrr / @Elrrrrrrr

12/30/2015 at 09:01AM

8
#1115 - Oisin Carroll / @oisincar

01/03/2016 at 09:01PM

8
#1116 - The Dimalisher / @zeppelinnn

01/04/2016 at 02:27AM

8
#1117 - Alex / @Coobaha

01/06/2016 at 12:13PM

8
#1118 - Thomas Williams / @neopsalmist

01/06/2016 at 02:28PM

8
#1119 - Sinclair Desaud / @sdesaud

01/07/2016 at 01:13AM

8
#1120 - Shalldök / @shalldoek

01/13/2016 at 02:30AM

8
#1121 - Jasbir Singh / @jasbirsingh11

01/16/2016 at 08:54PM

8
#1122 - Morgan / @mszy_

01/18/2016 at 05:15PM

8
#1123 - Cristian Lupașcu / @clupasq

02/02/2016 at 03:17PM

8
#1124 - Durga Swaroop Perla / @durgaswaroop

02/04/2016 at 08:22AM

8
#1125 - TerribleTrioJoe / @terribletriojoe

02/09/2016 at 09:00PM

8
#1126 - Haron Shihab / @HaronShihab

02/10/2016 at 01:55PM

8
#1127 - Janine Cheng / @janineist

02/12/2016 at 03:47PM

8
#1128 - Sebastian Pardo / @sebpardo

02/18/2016 at 08:12PM

8
#1129 - John Finn / @johnvfinn7

02/19/2016 at 06:30AM

8
#1130 - udreki / @udreki

02/20/2016 at 06:41AM

8
#1131 - Peeby Thirtyone / @peeby31

02/20/2016 at 06:45PM

8
#1132 - Kostas / @blackraven_13

02/22/2016 at 06:36AM

8
#1133 - Stephen / @StephenPek

02/23/2016 at 06:00AM

8
#1134 - hardaudit / @hardaudit

02/24/2016 at 04:01PM

8
#1135 - Robert Wooner / @RobertWooner

02/28/2016 at 11:56PM

8
#1136 - Caleb Roberts / @calebmail2012

02/29/2016 at 09:36PM

8
#1137 - Zach Gulde / @zgulde

03/01/2016 at 05:57AM

8
#1138 - Michel Ganguin / @tinycrazyfish

03/02/2016 at 10:38AM

8
#1139 - Marc Coquand / @MarcCoquand

03/02/2016 at 11:45PM

8
#1140 - Jan Bundesmann / @janbundesmann

03/04/2016 at 09:46AM