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_

96 active golfers, 266 entries

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

05/09/2017 at 08:35AM

10
#>45 - Smylers / @Smylers2

05/09/2017 at 08:29AM

15
#>54 - Smylers / @Smylers2

05/08/2017 at 03:34PM

16
#>68 - Smylers / @Smylers2

05/08/2017 at 02:46PM

16
#>68 - Smylers / @Smylers2

05/08/2017 at 03:48PM

18
#>81 - Smylers / @Smylers2

05/08/2017 at 02:43PM

18
#>81 - Smylers / @Smylers2

05/08/2017 at 02:48PM

19
#>83 - Smylers / @Smylers2

05/08/2017 at 02:43PM

19
#>83 - Smylers / @Smylers2

05/08/2017 at 03:46PM

19
#>83 - Smylers / @Smylers2

05/08/2017 at 03:47PM

20
#>85 - Smylers / @Smylers2

05/08/2017 at 02:42PM

20
#>85 - Smylers / @Smylers2

05/08/2017 at 02:52PM

21
#>88 - Smylers / @Smylers2

05/08/2017 at 03:24PM

23
#>91 - Smylers / @Smylers2

05/08/2017 at 02:39PM

24
#>94 - Smylers / @Smylers2

05/08/2017 at 03:16PM

32
#>96 - Smylers / @Smylers2

05/08/2017 at 03:12PM