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

Unlock 15 remaining solutions by signing in and submitting your own entry
Created by: @koern82

3064 active golfers, 10860 entries

Solutions by @alrito6:
10
#627 - alrito / @alrito6

09/06/2020 at 10:55PM

10
#>627 - alrito / @alrito6

09/06/2020 at 10:56PM

11
#>1567 - alrito / @alrito6

09/06/2020 at 10:49PM

14
#>2154 - alrito / @alrito6

09/06/2020 at 10:46PM

15
#>2317 - alrito / @alrito6

09/01/2020 at 06:37AM

15
#>2319 - alrito / @alrito6

09/06/2020 at 10:48PM

16
#>2490 - alrito / @alrito6

09/01/2020 at 06:31AM

17
#>2593 - alrito / @alrito6

09/01/2020 at 06:35AM

17
#>2593 - alrito / @alrito6

09/01/2020 at 06:35AM

17
#>2593 - alrito / @alrito6

09/01/2020 at 06:36AM

17
#>2594 - alrito / @alrito6

09/06/2020 at 10:48PM

21
#>2840 - alrito / @alrito6

09/01/2020 at 06:29AM

22
#>2862 - alrito / @alrito6

09/01/2020 at 06:22AM

23
#>2885 - alrito / @alrito6

09/01/2020 at 06:23AM

29
#>2967 - alrito / @alrito6

09/01/2020 at 06:21AM