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

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

75 active golfers, 218 entries

Solutions by @IvantheDugtrio:
15
#12 - Ivan De Dios / @IvantheDugtrio

08/22/2016 at 08:01PM

15
#>12 - Ivan De Dios / @IvantheDugtrio

08/22/2016 at 08:01PM

19
#>30 - Ivan De Dios / @IvantheDugtrio

08/22/2016 at 07:59PM

22
#>46 - Ivan De Dios / @IvantheDugtrio

08/22/2016 at 07:58PM

31
#>65 - Ivan De Dios / @IvantheDugtrio

08/22/2016 at 07:51PM