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

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

93 active golfers, 261 entries

Solutions by @zacoxi:
9
#39 - Dax / @zacoxi

12/06/2018 at 02:34AM

15
#>57 - Dax / @zacoxi

12/06/2018 at 02:15AM

17
#>78 - Dax / @zacoxi

12/06/2018 at 02:06AM

18
#>81 - Dax / @zacoxi

12/06/2018 at 02:05AM

18
#>81 - Dax / @zacoxi

12/06/2018 at 02:16AM

19
#>83 - Dax / @zacoxi

12/06/2018 at 02:13AM

19
#>83 - Dax / @zacoxi

12/06/2018 at 02:24AM

20
#>86 - Dax / @zacoxi

12/06/2018 at 02:24AM