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

Box it

Create a box around a line.

Start file
My dream is to be in a box
End file
###############################
# My dream was to be in a box #
###############################

View Diff

1c1,3
< My dream is to be in a box
---
> ###############################
> # My dream was to be in a box #
> ###############################

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 1860 remaining solutions by signing in and submitting your own entry
#1861 Daniel Snitkovskiy / @DSnitkovskiy - Score: 198 - 04/07/19 @ 06:27
i<CR>jk<BS><BS><Esc>:source .vimrc<CR>$i<Right><CR>#jkbwyiwpppppp0ywppp$XXbbBBbbbbbbppppp0ywpppp$###bbjkjk<Esc><CR>nijkbbbbbbbbi# jkkjk$i##jk/my<CR><Esc>nn<CR><CR>jk$ijXjkxXjkki###jXjkXxkji<Right> #<CR><BS>jkhllw$i####jkjbbbbbbbbxiwajkbbbbbb$i#jkjji#jk:x<CR>

0 comments


Created by: @TitouanT_

1861 active golfers, 7818 entries

Leaderboard (lowest score wins):
24
#901 - cardoiltardo / @cardoiltardo

02/04/2020 at 04:17PM

24
#902 - nico S / @der_nico_93

02/05/2020 at 12:45PM

24
#903 - Falafel Palapel / @falafelpalapel

02/11/2020 at 06:34PM

24
#904 - jackjsk / @jackjsk1

02/12/2020 at 05:18AM

24
#905 - Владек / @escept1c

02/15/2020 at 06:54PM

24
#906 - perTheGolfer / @GolferPer

02/18/2020 at 08:46AM

24
#907 - Ticktockrobotsnot99 / @akashrrao

02/19/2020 at 04:23AM

24
#908 - Marius Jurgelenas / @MarenasLT

02/21/2020 at 03:09PM

24
#909 - stevan / @stevan76107116

03/05/2020 at 04:47AM

24
#910 - Marcin Gramza / @temperski

03/05/2020 at 10:19PM

24
#911 - 63RC-LRMn-cXC4-v8NJ / @63rcV

03/14/2020 at 04:50PM

24
#912 - vicver09 / @vicver091

03/19/2020 at 02:19AM

24
#913 - BnnGolfer / @BnnGolfer

03/19/2020 at 11:05PM

24
#914 - bluemartian / @bluemartianz59

03/21/2020 at 05:21PM

24
#915 - Apox / @apox159

03/23/2020 at 10:59PM

24
#916 - Seve / @Seve_py

04/09/2020 at 05:11PM

24
#917 - {{ profile.name }} / @bytesonly

04/28/2020 at 02:00PM

24
#918 - andmpr / @andmpr1

04/28/2020 at 11:28PM

24
#919 - インベスターS / @S42197397

05/02/2020 at 06:48AM

24
#920 - Soumadeep Saha / @SoumadeepSaha8

05/07/2020 at 12:38AM

24
#921 - Quentin Leroy / @qnleroy

05/07/2020 at 02:50PM

24
#922 - Fabian Ahbeck / @FAhbeck

05/08/2020 at 07:52PM

24
#923 - Dionysus / @user101user

05/08/2020 at 11:29PM

24
#924 - Андриянов Роман / @angeldeath29

05/10/2020 at 03:45PM

24
#925 - Salman AlSaigal / @Salman_AlSaigal

05/20/2020 at 12:30AM

24
#926 - Wayne / @lilwayne15561

05/22/2020 at 03:02AM

24
#927 - Eric Banisadr / @ebanisadr

05/29/2020 at 04:14AM

24
#928 - loupiot.veloce / @LoupiotVeloce

06/10/2020 at 01:25PM

24
#929 - nihilistCookie / @NihilistCookie

06/13/2020 at 09:04PM

24
#930 - nico / @res_tantum

06/17/2020 at 05:12PM