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 59a95b5a3e0a8d01da000004

Interactive git rebase changing commands

How to change the action of some commits in git rebase dialog.

Start file
pick 6348363 fix(options) Remove hunglish titles
pick f80d2f6 fix
(options) Style button focus state
pick
0f4aab2 feat(options) Highlight user color fields on hover
pick db11ec9 chore
(build) Exclude applications key for chrome
pick
0569d27 chore(build) Create task to set version on build
pick
8e6ce65 fix(unlimited links) Add /treyblog to supported paths
pick d9b3279 fix
(manifest) Typo in key and extension id
pick
3a2fb47 chore(build) Don't require hup.lh permissions
pick c42d63c Bump version to 2.4.0

# Rebase 87d11f5..c42d63c onto 87d11f5 (9 commands)
#
# Commands:
# p, pick = use commit
# r, reword = use commit, but edit the commit message
# e, edit = use commit, but stop for amending
# s, squash = use commit, but meld into previous commit
# f, fixup = like "squash", but discard this commit'
s log message
# x, exec = run command (the rest of the line) using shell
# d, drop = remove commit
#
# These lines can be re-ordered; they are executed from top to bottom.
#
# If you remove a line here THAT COMMIT WILL BE LOST.
#
# However, if you remove everything, the rebase will be aborted.
#
# Note that empty commits are commented out
End file
reword 6348363 fix(options) Remove hunglish titles
reword f80d2f6 fix
(options) Style button focus state
reword
0f4aab2 feat(options) Highlight user color fields on hover
pick db11ec9 chore
(build) Exclude applications key for chrome
pick
0569d27 chore(build) Create task to set version on build
reword
8e6ce65 fix(unlimited links) Add /treyblog to supported paths
reword d9b3279 fix
(manifest) Typo in key and extension id
reword
3a2fb47 chore(build) Don't require hup.lh permissions
pick c42d63c Bump version to 2.4.0

# Rebase 87d11f5..c42d63c onto 87d11f5 (9 commands)
#
# Commands:
# p, pick = use commit
# r, reword = use commit, but edit the commit message
# e, edit = use commit, but stop for amending
# s, squash = use commit, but meld into previous commit
# f, fixup = like "squash", but discard this commit'
s log message
# x, exec = run command (the rest of the line) using shell
# d, drop = remove commit
#
# These lines can be re-ordered; they are executed from top to bottom.
#
# If you remove a line here THAT COMMIT WILL BE LOST.
#
# However, if you remove everything, the rebase will be aborted.
#
# Note that empty commits are commented out

View Diff

1,3c1,3
< pick 6348363 fix(options) Remove hunglish titles
< pick f80d2f6 fix(options) Style button focus state
< pick 0f4aab2 feat(options) Highlight user color fields on hover
---
> reword 6348363 fix(options) Remove hunglish titles
> reword f80d2f6 fix(options) Style button focus state
> reword 0f4aab2 feat(options) Highlight user color fields on hover
6,8c6,8
< pick 8e6ce65 fix(unlimited links) Add /treyblog to supported paths
< pick d9b3279 fix(manifest) Typo in key and extension id
< pick 3a2fb47 chore(build) Don't require hup.lh permissions
---
> reword 8e6ce65 fix(unlimited links) Add /treyblog to supported paths
> reword d9b3279 fix(manifest) Typo in key and extension id
> reword 3a2fb47 chore(build) Don'
t require hup.lh permissions

Solutions

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 78 remaining solutions by signing in and submitting your own entry
#79 Sxcy / @SxcyX - Score: 28 - 11/06/18 @ 16:26
15G3w"*yeH<C-V>e2j"*p6G<C-V>e2j"*pZZ

0 comments


Created by: @Ajnasz

79 active golfers, 172 entries

Leaderboard (lowest score wins):
16
#61 - mattp (part of the 💉💉💉 club) / @mattpep

09/01/2017 at 01:19PM

16
#62 - bencvim / @bencvim

09/01/2017 at 09:51PM

16
#63 - Solomon / @Trugbildjaeger

09/02/2017 at 01:30PM

16
#64 - Anne Pacalet / @_Anne_P

09/29/2017 at 08:32AM

16
#65 - sehe / @sehetw

10/10/2017 at 02:30PM

16
#66 - Brian Hall / @_bruab_

10/11/2017 at 02:39PM

16
#67 - Ron Alexssen / @Ralexhere

10/20/2017 at 06:21PM

17
#68 - David Rogers / @al_the_x

09/01/2017 at 05:32PM

17
#69 - AleksandarTrifunovic / @akstrfn

09/02/2017 at 09:36AM

17
#70 - albalitz / @_albalitz

06/17/2019 at 03:26PM

17
#71 - James / @Dronak

11/04/2022 at 03:25PM

18
#72 - Paul Sohn / @pksohn

09/06/2017 at 01:03AM

18
#73 - Daniel Rasmuson / @danielrasmuson

09/06/2017 at 06:01AM

18
#74 - Sebastian Aburto / @saburto_m

10/08/2017 at 07:22PM

21
#75 - Gurukandhamoorthi / @Gurukandhamoor1

09/02/2017 at 04:58PM

22
#76 - RockerZZY / @rocker_zzy

06/29/2020 at 09:41AM

23
#77 - Tom Taylor / @larsonsduck

09/06/2017 at 03:13PM

26
#78 - Jurica / @Jurica34581259

11/19/2018 at 09:32PM

28
#79 - Sxcy / @SxcyX

11/06/2018 at 04:26PM