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 5cb9d07d716c1b0009f69a40

ninja substitution

How can you reuse a previous substitution ?

Start file
Trying to careninjafully make a ninja challenge.
This ninjaninjachallenge is ninjadesigned to show a particularninja vim ninjafeature (here I am ninjastalling in order to ninjadoge a shorter ninjacounter-based ninjasolution, sorry for the ninjaheadhache) this is the end of my ninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjalninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaininjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjanninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaeninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninja.
The question is, will a wiser vimgolf ninja defeat the purpose of this challenge ?
End file
Trying to carefully make a ninja challenge.
This challenge is designed to show a particular vim feature (here I am stalling in order to doge a shorter counter-based solution, sorry for the headhache) this is the end of my line.
The question is, will a wiser vimgolf ninja defeat the purpose of this challenge ?

View Diff

1,2c1,2
< Trying to careninjafully make a ninja challenge.
< This ninjaninjachallenge is ninjadesigned to show a particularninja vim ninjafeature (here I am ninjastalling in order to ninjadoge a shorter ninjacounter-based ninjasolution, sorry for the ninjaheadhache) this is the end of my ninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjalninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaininjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjanninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaeninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninjaninja.
---
> Trying to carefully make a ninja challenge.
> This challenge is designed to show a particular vim feature (here I am stalling in order to doge a shorter counter-based solution, sorry for the headhache) this is the end of my line.

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 246 remaining solutions by signing in and submitting your own entry
#247 Aaron / @_Lordofthevoid_ - Score: 133 - 11/24/19 @ 09:44
fn;dfajFn;;;dfadfafn;dfafn;dfafnNfnhh.fn.fn;;.lllllllllllllll.fn;.fNfn;.fn.ufn.....5.10.10.10.20.30.30.30.10.20.212.12.A<BS>line<Esc>a.<Esc>:wq<CR>

0 comments


Created by: @TitouanT_

247 active golfers, 1300 entries

Leaderboard (lowest score wins):
19
#181 - BnnGolfer / @BnnGolfer

03/26/2020 at 09:37PM

19
#182 - vvaannaa3 / @vvaannaa3

04/02/2020 at 10:56AM

19
#183 - Yannick / @Yannick88147038

06/12/2020 at 03:18PM

19
#184 - rats is a cool name / @cd_rum

12/21/2020 at 08:55PM

19
#185 - 0xNinja / @0x_Ninja

08/17/2021 at 02:39PM

20
#186 - Bruce Woodward / @b00ffer

04/21/2019 at 06:57AM

20
#187 - Thilan Tran / @ThilanTran

04/21/2019 at 07:13PM

20
#188 - Fredrik Bjerkås / @fbjerkas

04/21/2019 at 08:51PM

20
#189 - Roman Vrublevskiy / @R0manza

04/22/2019 at 08:31PM

20
#190 - Steve Racanovic / @steve_racanovic

01/16/2020 at 08:50PM

20
#191 - Martin Kauppinen / @MartinKauppinen

08/16/2020 at 12:07PM

20
#192 - Brendan Schaenzer / @bschaenzer

09/30/2020 at 02:33PM

21
#193 - Benoit Benoit / @Benoit_Tgt

04/19/2019 at 02:14PM

21
#194 - 김형창 / @uVmEMZsCgcYvqZi

04/24/2019 at 09:20AM

21
#195 - Madelyn Freed / @EcoBummer

09/04/2019 at 08:04PM

21
#196 - Harsh Raj / @harshraj22aug

03/09/2020 at 04:32PM

22
#197 - Cj-bc_sd.sh🐟@mltermコンパイルチャレンジ / @Cj_bc_sd

04/19/2019 at 02:01PM

22
#198 - Tucker Hayden / @TuckNRollio

04/19/2019 at 06:25PM

22
#199 - Sato Takayuki / @yukitaka1974

06/30/2019 at 02:41PM

22
#200 - Scott Schlesier / @sschlesier

07/23/2019 at 12:29AM

22
#201 - Nicolas Pagny / @NicolasPagny

12/12/2019 at 03:58PM

23
#202 - vimgolfer24271 / @vimgolfer24271

05/10/2019 at 10:44AM

23
#203 - Sherab Giovannini / @shaddycls

05/18/2019 at 05:38PM

23
#204 - Jan Wedekind / @wedesoft

05/30/2019 at 08:22PM

23
#205 - Jess / @Jess74311450

06/27/2019 at 05:35PM

23
#206 - volandkit / @volandkit

04/20/2020 at 11:11PM

24
#207 - 김현수 / @flyhigh43

04/27/2019 at 04:34PM

25
#208 - Koo Zhengqun / @zhengqunkoo

05/04/2019 at 05:25AM

26
#209 - duyanh.y4n.pham / @PhamY4n

06/11/2019 at 02:01PM

26
#210 - dotvimrc / @dotvimrc1

07/03/2020 at 06:32AM