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 603ba26a01b4d00009c10a49

simple replacements

The goal is to see the replacement commands in action.

Start file
The sublime users worked on projects more closed to my own project so I started to
check how they did things and then I started learning about emacs. It was not
cool, it was too hard to learn how to use it, to load new config files I had to
restart emacs every time and so much other problems, but since they did,
I convinced myself that I could learn it too so I did.

I used emacs for a few months and what I like about emacs the most is that it's
optimized for editing files not creating new ones. For the most of the time,
we're editing files and moving between lines of code so that makes sense.
Finally I was happy and productive using emacs.
End file
The vim users worked on projects more closed to my own project so I started to
check how they did things and then I started learning about vim. It was not
cool, it was too hard to learn how to use it, to load new config files I had to
restart vim every time and so much other problems, but since they did,
I convinced myself that I could learn it too so I did.

I used vim for a few months and what I like about vim the most is that it's
optimized for editing files not creating new ones. For the most of the time,
we're editing files and moving between lines of code so that makes sense.
Finally I was happy and productive using vim.

View Diff

1,2c1,2
< The sublime users worked on projects more closed to my own project so I started to
< check how they did things and then I started learning about emacs. It was not
---
> The vim users worked on projects more closed to my own project so I started to
> check how they did things and then I started learning about vim. It was not
4c4
< restart emacs every time and so much other problems, but since they did,
---
> restart vim every time and so much other problems, but since they did,
7c7
< I used emacs for a few months and what I like about emacs the most is that it's
---
> I used vim for a few months and what I like about vim the most is that it's
10c10
< Finally I was happy and productive using emacs.
---
> Finally I was happy and productive using vim.

Solutions by @rserch3r:

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

379 active golfers, 1749 entries

Solutions by @rserch3r:
19
#72 - rserch / @rserch3r

05/28/2023 at 06:12AM

20
#>134 - rserch / @rserch3r

05/28/2023 at 06:06AM

21
#>151 - rserch / @rserch3r

05/28/2023 at 05:55AM

22
#>172 - rserch / @rserch3r

05/28/2023 at 05:53AM

23
#>202 - rserch / @rserch3r

05/28/2023 at 05:50AM

24
#>219 - rserch / @rserch3r

05/28/2023 at 05:30AM

25
#>258 - rserch / @rserch3r

05/28/2023 at 05:17AM

26
#>275 - rserch / @rserch3r

05/28/2023 at 04:57AM

26
#>275 - rserch / @rserch3r

05/28/2023 at 05:12AM

27
#>308 - rserch / @rserch3r

05/28/2023 at 03:22AM

28
#>327 - rserch / @rserch3r

05/28/2023 at 03:20AM

31
#>347 - rserch / @rserch3r

05/28/2023 at 03:18AM

31
#>347 - rserch / @rserch3r

05/28/2023 at 05:45AM

32
#>350 - rserch / @rserch3r

05/28/2023 at 03:14AM

33
#>353 - rserch / @rserch3r

05/28/2023 at 03:08AM