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 57a87f444f1a8e3c4000ff8c

Pretty multi-line bash

Bash line continuations are much prettier when they're column aligned.

Start file
RUN wget https://openresty.org/download/openresty-1.9.7.5.tar.gz && \
    tar xzf openresty-1.9.7.5.tar.gz && \
    cd openresty-1.9.7.5 && \
    ./configure && \
    make && \
    make install && \
    rm -rf /openresty*
End file
RUN wget https://openresty.org/download/openresty-1.9.7.5.tar.gz && \
    tar xzf openresty-1.9.7.5.tar.gz                             && \
    cd openresty-1.9.7.5                                         && \
    ./configure                                                  && \
    make                                                         && \
    make install                                                 && \
    rm -rf /openresty*

View Diff

2,6c2,6
<     tar xzf openresty-1.9.7.5.tar.gz && \
<     cd openresty-1.9.7.5 && \
<     ./configure && \
<     make && \
<     make install && \
---
>     tar xzf openresty-1.9.7.5.tar.gz                             && \
>     cd openresty-1.9.7.5                                         && \
>     ./configure                                                  && \
>     make                                                         && \
>     make install                                                 && \

Solutions by @mindgitrwx:

Unlock 11 remaining solutions by signing in and submitting your own entry
Created by: @assaflavie

72 active golfers, 212 entries

Solutions by @mindgitrwx:
27
#51 - mindgitrwx / @mindgitrwx

09/20/2020 at 10:09AM

28
#>53 - mindgitrwx / @mindgitrwx

09/20/2020 at 10:08AM

29
#>54 - mindgitrwx / @mindgitrwx

09/20/2020 at 10:07AM

30
#>57 - mindgitrwx / @mindgitrwx

09/20/2020 at 10:06AM

31
#>66 - mindgitrwx / @mindgitrwx

08/18/2020 at 02:31PM

32
#>66 - mindgitrwx / @mindgitrwx

08/18/2020 at 02:25PM

33
#>68 - mindgitrwx / @mindgitrwx

08/18/2020 at 02:17PM

40
#>68 - mindgitrwx / @mindgitrwx

08/18/2020 at 02:15PM

62
#>71 - mindgitrwx / @mindgitrwx

08/18/2020 at 02:05PM

79
#>71 - mindgitrwx / @mindgitrwx

08/18/2020 at 01:36PM

128
#>71 - mindgitrwx / @mindgitrwx

08/18/2020 at 02:03PM