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

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

88 active golfers, 248 entries

Solutions by @Smylers2:
9
#5 - Smylers / @Smylers2

05/09/2017 at 08:35AM

10
#>43 - Smylers / @Smylers2

05/09/2017 at 08:29AM

15
#>52 - Smylers / @Smylers2

05/08/2017 at 03:34PM

16
#>64 - Smylers / @Smylers2

05/08/2017 at 02:46PM

16
#>64 - Smylers / @Smylers2

05/08/2017 at 03:48PM

18
#>75 - Smylers / @Smylers2

05/08/2017 at 02:43PM

18
#>75 - Smylers / @Smylers2

05/08/2017 at 02:48PM

19
#>76 - Smylers / @Smylers2

05/08/2017 at 02:43PM

19
#>76 - Smylers / @Smylers2

05/08/2017 at 03:46PM

19
#>76 - Smylers / @Smylers2

05/08/2017 at 03:47PM

20
#>78 - Smylers / @Smylers2

05/08/2017 at 02:42PM

20
#>78 - Smylers / @Smylers2

05/08/2017 at 02:52PM

21
#>81 - Smylers / @Smylers2

05/08/2017 at 03:24PM

23
#>84 - Smylers / @Smylers2

05/08/2017 at 02:39PM

24
#>86 - Smylers / @Smylers2

05/08/2017 at 03:16PM

32
#>88 - Smylers / @Smylers2

05/08/2017 at 03:12PM