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 4ef209ef78702b0001000019

Make it more readable

Insert blank lines to make it more organized and readable

Start file
#Set the global prefix key to C-q (default is C-b)
set-option -g prefix C-q
bind
-key C-q last-window
# Remove default binding since we’re replacing
unbind
%
bind
| split-window -h
bind
- split-window -v
# Set status bar
set -g status-bg black
set -g status-fg white
set -g status-left '#[fg=green]#H'
# Highlight active window
set-window-option -g window-status-current-bg red
set -g status-right '#[fg=yellow]#(uptime | cut -d "," -f 2-)'
# Set window notifications
setw
-g monitor-activity on
set -g visual-activity on
# Automatically set window title
setw
-g automatic-rename
End file
#Set the global prefix key to C-q (default is C-b)
set-option -g prefix C-q
bind
-key C-q last-window


# Remove default binding since we’re replacing
unbind
%
bind
| split-window -h
bind
- split-window -v


# Set status bar
set -g status-bg black
set -g status-fg white
set -g status-left '#[fg=green]#H'


# Highlight active window
set-window-option -g window-status-current-bg red
set -g status-right '#[fg=yellow]#(uptime | cut -d "," -f 2-)'


# Set window notifications
setw
-g monitor-activity on
set -g visual-activity on


# Automatically set window title
setw
-g automatic-rename

View Diff

3a4,5
>
>
7a10,11
>
>
11a16,17
>
>
14a21,22
>
>
17a26,27
>
>

Solutions by @Arohanui:

Unlock 15 remaining solutions by signing in and submitting your own entry
Created by: @alimoeeny

652 active golfers, 2009 entries

Solutions by @Arohanui:
13
#28 - Kate / @Arohanui

10/30/2012 at 09:58AM

13
#>30 - Kate / @Arohanui

05/02/2013 at 01:29AM

14
#>147 - Kate / @Arohanui

10/30/2012 at 09:48AM

14
#>151 - Kate / @Arohanui

05/02/2013 at 01:18AM

15
#>242 - Kate / @Arohanui

10/30/2012 at 09:00AM

15
#>250 - Kate / @Arohanui

05/02/2013 at 01:06AM

15
#>250 - Kate / @Arohanui

05/02/2013 at 01:13AM

15
#>250 - Kate / @Arohanui

05/02/2013 at 01:16AM

16
#>365 - Kate / @Arohanui

10/30/2012 at 08:36AM

16
#>369 - Kate / @Arohanui

05/02/2013 at 12:55AM

17
#>448 - Kate / @Arohanui

05/02/2013 at 12:47AM

17
#>448 - Kate / @Arohanui

05/02/2013 at 12:57AM

18
#>513 - Kate / @Arohanui

05/02/2013 at 12:47AM

21
#>605 - Kate / @Arohanui

05/02/2013 at 12:38AM

21
#>605 - Kate / @Arohanui

05/02/2013 at 12:43AM