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 @2_71828:

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

3064 active golfers, 10860 entries

Solutions by @2_71828:
10
#532 - Adam Stephen / @2_71828

05/27/2020 at 05:59AM

10
#>684 - Adam Stephen / @2_71828

12/02/2020 at 09:07PM

11
#>876 - Adam Stephen / @2_71828

07/07/2019 at 04:55PM

13
#>1966 - Adam Stephen / @2_71828

07/07/2019 at 04:53PM

13
#>2063 - Adam Stephen / @2_71828

12/02/2020 at 09:06PM

14
#>2148 - Adam Stephen / @2_71828

05/27/2020 at 05:57AM

15
#>2187 - Adam Stephen / @2_71828

07/07/2019 at 04:52PM

15
#>2334 - Adam Stephen / @2_71828

12/02/2020 at 09:05PM

17
#>2532 - Adam Stephen / @2_71828

07/07/2019 at 04:50PM

19
#>2719 - Adam Stephen / @2_71828

07/07/2019 at 04:49PM

20
#>2818 - Adam Stephen / @2_71828

12/02/2020 at 09:05PM

25
#>2907 - Adam Stephen / @2_71828

07/07/2019 at 04:38PM