Played Challenges
comment and uncomment code inline - 1130 entries
It's very useful to be able to comment out a block of code in a quick edit. And likewise to uncomment the code. This operation often involves multi-line stanzas and even large blocks. With just line-wise navigation and insert mode this would cost you about 4 keystrokes per line. Master this hole of VimGolf and you'll quickly drop your key count in day to day Vim as well.
- Best score: 9
- Best player score: 13
- Position: #274 / 324
- Number of attempts: 1
Paul Ewing
Twitter: @Wangledorf
Software Engineer at Blizzard, fitness enthusiast, craft beer drinker. Opinions are my own.