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

Add semicolons

Simply add a semicolon at the end of each line

Start file
 super.onCreate(savedInstanceState)
 setContentView
(R.layout.activity_second)
 
Intent intent = getIntent()
 
String text = intent.getStringExtra("text")

 
TextView view = findViewById(R.id.textView2)
 view
.setText(text)
End file
 super.onCreate(savedInstanceState);
 setContentView
(R.layout.activity_second);
 
Intent intent = getIntent();
 
String text = intent.getStringExtra("text");

 
TextView view = findViewById(R.id.textView2);
 view
.setText(text);

View Diff

1,4c1,4
<  super.onCreate(savedInstanceState)
<  setContentView(R.layout.activity_second)
<  Intent intent = getIntent()
<  String text = intent.getStringExtra("text")
---
>  super.onCreate(savedInstanceState);
>  setContentView(R.layout.activity_second);
>  Intent intent = getIntent();
>  String text = intent.getStringExtra("text");
6,7c6,7
<  TextView view = findViewById(R.id.textView2)
<  view.setText(text)
\ No newline at end of file
---
>  TextView view = findViewById(R.id.textView2);
>  view.setText(text);
\ No newline at end of file

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 3072 remaining solutions by signing in and submitting your own entry
Created by: @koern82

3074 active golfers, 10887 entries

Leaderboard (lowest score wins):
10
#181 - Andac Safa / @SanDForcE94

09/06/2019 at 09:21AM

10
#182 - lucca augusto / @LuccaAugusto6

09/08/2019 at 12:41PM

10
#183 - Nathan Bendich / @neonb88

09/08/2019 at 01:59PM

10
#184 - spock900 / @spock9002

09/08/2019 at 03:08PM

10
#185 - Iggy / @iggredible

09/10/2019 at 03:55AM

10
#186 - bsjd / @bsjd

09/10/2019 at 12:03PM

10
#187 - npo / @npo19645133

09/11/2019 at 08:46PM

10
#188 - diwa / @Di_nate_

09/12/2019 at 03:42AM

10
#189 - platypusDancing / @platypusDancing

09/12/2019 at 05:30PM

10
#190 - Ralph Callaway / @RalphAtCCC

09/13/2019 at 08:41AM

10
#191 - Simon / @SimontheLeg

09/13/2019 at 01:47PM

10
#192 - arsi arola / @mos_kiitto

09/13/2019 at 08:04PM

10
#193 - EL KESRI Othmane / @KesriOthmane

09/16/2019 at 12:27PM

10
#194 - Douglas Massolari / @dmassolari

09/16/2019 at 03:27PM

10
#195 - DosLin / @hidoslin

09/18/2019 at 09:28AM

10
#196 - vimgolfer / @vimgolfer7

09/20/2019 at 03:43AM

10
#197 - Sebastian Müller / @echsberde

09/21/2019 at 02:36PM

10
#198 - IronTiger Park / @IrontigerP

09/23/2019 at 08:13AM

10
#199 - Russell Lescai / @RussLescai

09/23/2019 at 10:08AM

10
#200 - Brandon Harrison / @llAboutB

09/23/2019 at 10:52PM

10
#201 - nefforr / @yayamip

09/25/2019 at 04:26AM

10
#202 - yhiraki / @coffexpr

09/26/2019 at 10:47AM

10
#203 - lxgreen / @lxgreen3

09/27/2019 at 07:10AM

10
#204 - Jake / @thejakenixon

09/28/2019 at 08:02PM

10
#205 - Sebastien Baudray / @sbaudray

09/29/2019 at 02:53PM

10
#206 - Chibi / @Chib49

09/29/2019 at 07:47PM

10
#207 - brypto / @hiimbenjy

09/30/2019 at 04:56AM

10
#208 - grimelich / @Grimelich

09/30/2019 at 06:52AM

10
#209 - David B. / @dblanken

09/30/2019 at 02:49PM

10
#210 - Black05burn / @Black05burn

09/30/2019 at 05:02PM