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 5d1a0c57da55f00009f75842

Hash staircase

Can you use a strategy to come up with this pattern?

Start file
#
End file
#####
# # #
#########
# ##### #
#############
# ######### #
#################
# ############# #
#####################
# ################# #
#########################
# ##################### #
#############################
# ######################### #
#################################
# ############################# #
#####################################
# ################################# #
#########################################
# ##################################### #
#############################################
# ######################################### #
#################################################
# ############################################# #
#####################################################
# ################################################# #
#########################################################
# ##################################################### #
#############################################################
# ######################################################### #
#################################################################
# ############################################################# #
#####################################################################
# ################################################################# #
#########################################################################
# ##################################################################### #
#############################################################################
# ######################################################################### #
#################################################################################
# ############################################################################# #
#####################################################################################
# ################################################################################# #
#####################################################################################

View Diff

1c1,43
< #
---
> #####
> # # #
> #########
> # ##### #
> #############
> # ######### #
> #################
> # ############# #
> #####################
> # ################# #
> #########################
> # ##################### #
> #############################
> # ######################### #
> #################################
> # ############################# #
> #####################################
> # ################################# #
> #########################################
> # ##################################### #
> #############################################
> # ######################################### #
> #################################################
> # ############################################# #
> #####################################################
> # ################################################# #
> #########################################################
> # ##################################################### #
> #############################################################
> # ######################################################### #
> #################################################################
> # ############################################################# #
> #####################################################################
> # ################################################################# #
> #########################################################################
> # ##################################################################### #
> #############################################################################
> # ######################################################################### #
> #################################################################################
> # ############################################################################# #
> #####################################################################################
> # ################################################################################# #
> #####################################################################################

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 24 remaining solutions by signing in and submitting your own entry
#25 steve / @steve35773420 - Score: 23 - 11/27/22 @ 20:19
qq4A#<Esc>Y2plr $h.jq20@qZZ

0 comments


Created by: @rohitrango

25 active golfers, 56 entries

Leaderboard (lowest score wins):
21
#1 - "Smylers" / @Smylers2

07/01/2019 at 08:26PM

21
#2 - Saki Gw / @Sakigw

07/01/2019 at 09:07PM

21
#3 - John Braxler / @braxler

07/02/2019 at 03:29PM

21
#4 - james_bunch / @james_bunch

07/02/2019 at 05:11PM

21
#5 - Jon Krause / @jkrause314

07/03/2019 at 04:30AM

21
#6 - serent / @serent

07/03/2019 at 08:13PM

21
#7 - Miłosz Łakomy / @foobar01123

07/05/2019 at 12:33PM

21
#8 - Dan / @dstein64

08/04/2019 at 07:47PM

21
#9 - Martin Delille / @martinodelilo

08/20/2019 at 01:48PM

21
#10 - Zach Ingbretsen / @ZIngbretsen

09/08/2019 at 03:29PM

21
#11 - RockerZZY / @rocker_zzy

07/15/2020 at 02:15PM

21
#12 - Sammit / @somemeatjain

02/07/2022 at 02:42PM

21
#13 - moh ayaya / @AyayaMoh

09/06/2023 at 04:25PM

21
#14 - Luoyb / @Luoyb

10/28/2023 at 08:02AM

21
#15 - Aly Thobani / @alythobani

05/31/2024 at 12:16AM

21
#16 - Peppa Pig / @PeppaPigSg

07/02/2024 at 07:13AM

21
#17 - nickGPT / @nickandbro

08/24/2024 at 02:56PM

22
#18 - Jan Bundesmann / @janbundesmann

07/01/2019 at 02:28PM

22
#19 - Tinko Minko / @tandikula

07/01/2019 at 08:14PM

22
#20 - BaffaloP 🐃🎨 / @bbaffalopp

07/02/2019 at 09:01PM

22
#21 - T A / @SirAviles

07/09/2019 at 07:20AM

22
#22 - heppen / @heppen_He

07/14/2019 at 08:29AM

22
#23 - Christopher Currens / @chriscurrens

07/29/2019 at 02:18PM

22
#24 - Lory / @Lory46845742

12/02/2019 at 10:21AM

23
#25 - steve / @steve35773420

11/27/2022 at 08:19PM