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 @anooplive:

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

96 active golfers, 266 entries

Solutions by @anooplive:
9
#6 - Anoop Kumar / @anooplive

05/09/2017 at 07:22PM

11
#>47 - Anoop Kumar / @anooplive

05/09/2017 at 07:20PM

17
#>68 - Anoop Kumar / @anooplive

05/08/2017 at 02:25PM

18
#>81 - Anoop Kumar / @anooplive

05/08/2017 at 02:20PM