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

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

78 active golfers, 240 entries

Solutions by @nickandbro:
15
#30 - nickGPT / @nickandbro

08/28/2024 at 03:08AM

19
#>37 - nickGPT / @nickandbro

08/28/2024 at 03:08AM

21
#>47 - nickGPT / @nickandbro

08/28/2024 at 03:07AM

22
#>50 - nickGPT / @nickandbro

08/28/2024 at 03:07AM

23
#>52 - nickGPT / @nickandbro

08/28/2024 at 03:07AM

24
#>53 - nickGPT / @nickandbro

08/28/2024 at 03:07AM

25
#>54 - nickGPT / @nickandbro

08/28/2024 at 03:07AM

27
#>57 - nickGPT / @nickandbro

08/28/2024 at 03:07AM

28
#>59 - nickGPT / @nickandbro

08/28/2024 at 03:07AM

29
#>60 - nickGPT / @nickandbro

08/28/2024 at 03:07AM

30
#>63 - nickGPT / @nickandbro

08/28/2024 at 03:07AM

31
#>72 - nickGPT / @nickandbro

08/28/2024 at 03:07AM

33
#>74 - nickGPT / @nickandbro

08/28/2024 at 03:07AM

49
#>75 - nickGPT / @nickandbro

08/28/2024 at 03:07AM

52
#>75 - nickGPT / @nickandbro

08/28/2024 at 03:07AM

130
#>78 - nickGPT / @nickandbro

08/28/2024 at 03:06AM