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 54ddd1d261cec11d1b01707c

Mute the second method of this script

prepend a # infront of every line of the second method

Start file
def this_method_should_be_active
  here is happening something
end

def this_method_should_be_muted
  here is not happening anything
end

End file
def this_method_should_be_active
  here is happening something
end

#def this_method_should_be_muted
#  here is not happening anything
#end

View Diff

5,7c5,7
< def this_method_should_be_muted
<   here is not happening anything
< end
---
> #def this_method_should_be_muted
> #  here is not happening anything
> #end

Solutions by @3h4xx:

Unlock 6 remaining solutions by signing in and submitting your own entry
Created by: @netznarkose

237 active golfers, 447 entries

Solutions by @3h4xx:
9
#56 - Marcin Brański / @3h4xx

03/07/2015 at 11:46PM

9
#>56 - Marcin Brański / @3h4xx

03/08/2015 at 06:30PM

10
#>175 - Marcin Brański / @3h4xx

03/07/2015 at 11:45PM

11
#>226 - Marcin Brański / @3h4xx

03/07/2015 at 11:42PM

13
#>234 - Marcin Brański / @3h4xx

03/06/2015 at 10:27PM

18
#>236 - Marcin Brański / @3h4xx

03/06/2015 at 10:25PM