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 591074530b52f5000c000005

Nesting SASS

Move a block inside another block and indent it

Start file
.hero {
  background-color: pink;
}

header {
  border-bottom: 2px solid #26BBB3;
}
End file
.hero {
  background-color: pink;

  header {
    border-bottom: 2px solid #26BBB3;
  }
}

View Diff

3d2
< }
5,6c4,6
< header {
<   border-bottom: 2px solid #26BBB3;
---
>   header {
>     border-bottom: 2px solid #26BBB3;
>   }
7a8
> 

Solutions by @AlexanderHeatl2:

Unlock 7 remaining solutions by signing in and submitting your own entry
Created by: @_bruab_

96 active golfers, 266 entries

Solutions by @AlexanderHeatl2:
9
#44 - Alex / @AlexanderHeatl2

07/07/2022 at 06:29PM

11
#>48 - Alex / @AlexanderHeatl2

07/07/2022 at 06:28PM

12
#>50 - Alex / @AlexanderHeatl2

07/07/2022 at 06:27PM

13
#>52 - Alex / @AlexanderHeatl2

07/07/2022 at 06:26PM

15
#>66 - Alex / @AlexanderHeatl2

07/07/2022 at 06:24PM

16
#>68 - Alex / @AlexanderHeatl2

07/07/2022 at 06:23PM

19
#>85 - Alex / @AlexanderHeatl2

07/07/2022 at 06:21PM