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

Capitalize the Names

I want to capitalize the names in quotes, but just the people's names, not the file names.

Start file
The first name is "JOHN DOE" and its file is "JOHN_DOE.file"
The second name is "JANE DOE" and its file is "JANE_DOE.file"
The third name is "JAMES TIBERIUS KIRK" and its file is "JAMES_TIBERIUS_KIRK.file"
The fourth name is "SPOCK" and its file is "SPOCK.file"
The fifth name is "JEAN-LUC PICARD" and its file is "JEAN_LUC_PICARD.file"
The sixth name is "EUGENE WESLEY RODDENBERRY" and its file is "EUGENE_WESLEY_RODDENBERRY.file"
The seventh name is "WILLIAM NELSON JOY" and its file is "WILLIAM_NELSON_JOY.file"
The last name is "BRAM MOOLENAAR" ind its file is "BRAM_MOOLENAAR.file"
End file
The first name is "John Doe" and its file is "JOHN_DOE.file"
The second name is "Jane Doe" and its file is "JANE_DOE.file"
The third name is "James Tiberius Kirk" and its file is "JAMES_TIBERIUS_KIRK.file"
The fourth name is "Spock" and its file is "SPOCK.file"
The fifth name is "Jean-Luc Picard" and its file is "JEAN_LUC_PICARD.file"
The sixth name is "Eugene Wesley Roddenberry" and its file is "EUGENE_WESLEY_RODDENBERRY.file"
The seventh name is "William Nelson Joy" and its file is "WILLIAM_NELSON_JOY.file"
The last name is "Bram Moolenaar" ind its file is "BRAM_MOOLENAAR.file"

View Diff

1,8c1,8
< The first name is "JOHN DOE" and its file is "JOHN_DOE.file"
< The second name is "JANE DOE" and its file is "JANE_DOE.file"
< The third name is "JAMES TIBERIUS KIRK" and its file is "JAMES_TIBERIUS_KIRK.file"
< The fourth name is "SPOCK" and its file is "SPOCK.file"
< The fifth name is "JEAN-LUC PICARD" and its file is "JEAN_LUC_PICARD.file"
< The sixth name is "EUGENE WESLEY RODDENBERRY" and its file is "EUGENE_WESLEY_RODDENBERRY.file"
< The seventh name is "WILLIAM NELSON JOY" and its file is "WILLIAM_NELSON_JOY.file"
< The last name is "BRAM MOOLENAAR" ind its file is "BRAM_MOOLENAAR.file"
---
> The first name is "John Doe" and its file is "JOHN_DOE.file"
> The second name is "Jane Doe" and its file is "JANE_DOE.file"
> The third name is "James Tiberius Kirk" and its file is "JAMES_TIBERIUS_KIRK.file"
> The fourth name is "Spock" and its file is "SPOCK.file"
> The fifth name is "Jean-Luc Picard" and its file is "JEAN_LUC_PICARD.file"
> The sixth name is "Eugene Wesley Roddenberry" and its file is "EUGENE_WESLEY_RODDENBERRY.file"
> The seventh name is "William Nelson Joy" and its file is "WILLIAM_NELSON_JOY.file"
> The last name is "Bram Moolenaar" ind its file is "BRAM_MOOLENAAR.file"

Solutions by @NAnishenko:

Unlock 13 remaining solutions by signing in and submitting your own entry
Created by: @mugnozzo

91 active golfers, 361 entries

Solutions by @NAnishenko:
21
#28 - Nick Anishenko / @NAnishenko

03/30/2021 at 06:44PM

24
#>49 - Nick Anishenko / @NAnishenko

03/30/2021 at 06:42PM

25
#>50 - Nick Anishenko / @NAnishenko

03/30/2021 at 06:41PM

26
#>55 - Nick Anishenko / @NAnishenko

03/30/2021 at 06:40PM

27
#>57 - Nick Anishenko / @NAnishenko

03/30/2021 at 06:37PM

31
#>62 - Nick Anishenko / @NAnishenko

03/30/2021 at 05:52PM

32
#>66 - Nick Anishenko / @NAnishenko

03/30/2021 at 05:44PM

36
#>74 - Nick Anishenko / @NAnishenko

03/30/2021 at 04:53PM

42
#>75 - Nick Anishenko / @NAnishenko

03/30/2021 at 05:39PM

49
#>76 - Nick Anishenko / @NAnishenko

03/30/2021 at 04:45PM

55
#>79 - Nick Anishenko / @NAnishenko

03/30/2021 at 08:17AM

61
#>81 - Nick Anishenko / @NAnishenko

03/30/2021 at 08:08AM

72
#>85 - Nick Anishenko / @NAnishenko

03/30/2021 at 07:45AM