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 5100ce70326e09000200004a

Saving the hashes(#)

The following file is copied from vimcasts.org(Its only for learning purpose,hope the site owner doesn't mind it), its probably the easiest of challenges.Our goal is to delete every line which doesn't contain a hash signs. The remaining hash signs with numbers are then sorted to get the final output.

Start file
January 2013
#40 Long-range line duplication (6:31)
December 2012
#39 Profiling Vimscript performance (8:09)
November 2012
#38 Writing a custom fold expression (12:07) #37 How to fold (8:49)
August 2012
#36 VimGolf - Prime Numbers (6:53)
May 2011
#35 Fugitive.vim - exploring the history of a git repository (10:04) #34 Fugitive.vim - browsing the git object database (9:45) #33 Fugitive.vim - resolving merge conflicts with vimdiff (11:35)
April 2011
#32 Fugitive.vim - working with the git index (11:41) #31 Fugitive.vim - a complement to command line git (8:27)
February 2011
#30 Undo branching and Gundo.vim (6:30)
January 2011
#29 Aligning text with Tabular.vim (5:11)
November 2010
#28 Refining search patterns with the command-line window (7:51)
October 2010
#27 Synchronizing plugins with git submodules and pathogen (9:24) #26 Bubbling text (6:23)
September 2010
#25 Creating colorschemes for Vim (9:44)
July 2010
#24 Updating your vimrc file on the fly (2:51) #23 Converting HAML to ERB with Vim macros (7:36)
June 2010
#22 Selecting columns with visual block mode (4:21) #21 Converting markdown to structured HTML with a macro (9:25)
May 2010
#20 Running Vim within IRB (4:35) #19 Spell checking (5:42) #18 Formatting text with par (5:12)
April 2010
#17 Hard wrapping text (5:23) #16 Soft wrapping text (4:54) #15 The file explorer (5:36) #14 The :edit command (3:50) #13 Cleaning up with Vim (0:36)
March 2010
#12 Modal editing: undo, redo and repeat (5:26) #11 Using the changelist and jumplist (3:21) #10 Creating the Vimcasts logo as ASCII art (5:47) #9 How to use tabs (5:28)
February 2010
#8 Working with tabs (3:17) #7 Working with windows (5:32) #6 Working with buffers (3:28) #5 Indentation commands (5:41)
January 2010
#4 Tidying whitespace (4:33) #3 Whitespace preferences and filetypes (3:29) #2 Tabs and Spaces (6:22) #1 Show invisibles (2:52) 

End file
#1 Show invisibles (2:52) 
#2 Tabs and Spaces (6:22)
#3 Whitespace preferences and filetypes (3:29)
#4 Tidying whitespace (4:33)
#5 Indentation commands (5:41)
#6 Working with buffers (3:28)
#7 Working with windows (5:32)
#8 Working with tabs (3:17)
#9 How to use tabs (5:28)
#10 Creating the Vimcasts logo as ASCII art (5:47)
#11 Using the changelist and jumplist (3:21)
#12 Modal editing: undo, redo and repeat (5:26)
#13 Cleaning up with Vim (0:36)
#14 The :edit command (3:50)
#15 The file explorer (5:36)
#16 Soft wrapping text (4:54)
#17 Hard wrapping text (5:23)
#18 Formatting text with par (5:12)
#19 Spell checking (5:42)
#20 Running Vim within IRB (4:35)
#21 Converting markdown to structured HTML with a macro (9:25)
#22 Selecting columns with visual block mode (4:21)
#23 Converting HAML to ERB with Vim macros (7:36)
#24 Updating your vimrc file on the fly (2:51)
#25 Creating colorschemes for Vim (9:44)
#26 Bubbling text (6:23)
#27 Synchronizing plugins with git submodules and pathogen (9:24)
#28 Refining search patterns with the command-line window (7:51)
#29 Aligning text with Tabular.vim (5:11)
#30 Undo branching and Gundo.vim (6:30)
#31 Fugitive.vim - a complement to command line git (8:27)
#32 Fugitive.vim - working with the git index (11:41)
#33 Fugitive.vim - resolving merge conflicts with vimdiff (11:35)
#34 Fugitive.vim - browsing the git object database (9:45)
#35 Fugitive.vim - exploring the history of a git repository (10:04)
#36 VimGolf - Prime Numbers (6:53)
#37 How to fold (8:49)
#38 Writing a custom fold expression (12:07)
#39 Profiling Vimscript performance (8:09)
#40 Long-range line duplication (6:31)

View Diff

1,22c1,24
< 
< January 2013
< #40 Long-range line duplication (6:31)
< December 2012
< #39 Profiling Vimscript performance (8:09)
< November 2012
< #38 Writing a custom fold expression (12:07) #37 How to fold (8:49)
< August 2012
< #36 VimGolf - Prime Numbers (6:53)
< May 2011
< #35 Fugitive.vim - exploring the history of a git repository (10:04) #34 Fugitive.vim - browsing the git object database (9:45) #33 Fugitive.vim - resolving merge conflicts with vimdiff (11:35)
< April 2011
< #32 Fugitive.vim - working with the git index (11:41) #31 Fugitive.vim - a complement to command line git (8:27)
< February 2011
< #30 Undo branching and Gundo.vim (6:30)
< January 2011
< #29 Aligning text with Tabular.vim (5:11)
< November 2010
< #28 Refining search patterns with the command-line window (7:51)
< October 2010
< #27 Synchronizing plugins with git submodules and pathogen (9:24) #26 Bubbling text (6:23)
< September 2010
---
> #1 Show invisibles (2:52) 
> #2 Tabs and Spaces (6:22)
> #3 Whitespace preferences and filetypes (3:29)
> #4 Tidying whitespace (4:33)
> #5 Indentation commands (5:41)
> #6 Working with buffers (3:28)
> #7 Working with windows (5:32)
> #8 Working with tabs (3:17)
> #9 How to use tabs (5:28)
> #10 Creating the Vimcasts logo as ASCII art (5:47)
> #11 Using the changelist and jumplist (3:21)
> #12 Modal editing: undo, redo and repeat (5:26)
> #13 Cleaning up with Vim (0:36)
> #14 The :edit command (3:50)
> #15 The file explorer (5:36)
> #16 Soft wrapping text (4:54)
> #17 Hard wrapping text (5:23)
> #18 Formatting text with par (5:12)
> #19 Spell checking (5:42)
> #20 Running Vim within IRB (4:35)
> #21 Converting markdown to structured HTML with a macro (9:25)
> #22 Selecting columns with visual block mode (4:21)
> #23 Converting HAML to ERB with Vim macros (7:36)
> #24 Updating your vimrc file on the fly (2:51)
24,38c26,40
< July 2010
< #24 Updating your vimrc file on the fly (2:51) #23 Converting HAML to ERB with Vim macros (7:36)
< June 2010
< #22 Selecting columns with visual block mode (4:21) #21 Converting markdown to structured HTML with a macro (9:25)
< May 2010
< #20 Running Vim within IRB (4:35) #19 Spell checking (5:42) #18 Formatting text with par (5:12)
< April 2010
< #17 Hard wrapping text (5:23) #16 Soft wrapping text (4:54) #15 The file explorer (5:36) #14 The :edit command (3:50) #13 Cleaning up with Vim (0:36)
< March 2010
< #12 Modal editing: undo, redo and repeat (5:26) #11 Using the changelist and jumplist (3:21) #10 Creating the Vimcasts logo as ASCII art (5:47) #9 How to use tabs (5:28)
< February 2010
< #8 Working with tabs (3:17) #7 Working with windows (5:32) #6 Working with buffers (3:28) #5 Indentation commands (5:41)
< January 2010
< #4 Tidying whitespace (4:33) #3 Whitespace preferences and filetypes (3:29) #2 Tabs and Spaces (6:22) #1 Show invisibles (2:52) 
< 
---
> #26 Bubbling text (6:23)
> #27 Synchronizing plugins with git submodules and pathogen (9:24)
> #28 Refining search patterns with the command-line window (7:51)
> #29 Aligning text with Tabular.vim (5:11)
> #30 Undo branching and Gundo.vim (6:30)
> #31 Fugitive.vim - a complement to command line git (8:27)
> #32 Fugitive.vim - working with the git index (11:41)
> #33 Fugitive.vim - resolving merge conflicts with vimdiff (11:35)
> #34 Fugitive.vim - browsing the git object database (9:45)
> #35 Fugitive.vim - exploring the history of a git repository (10:04)
> #36 VimGolf - Prime Numbers (6:53)
> #37 How to fold (8:49)
> #38 Writing a custom fold expression (12:07)
> #39 Profiling Vimscript performance (8:09)
> #40 Long-range line duplication (6:31)

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 324 remaining solutions by signing in and submitting your own entry
#325 ren / wxoc - Score: 30 - 03/10/14 @ 10:23
:%s/ #/\r#/g<CR>:sor n<CR>2dd40jdGZZ

0 comments


#326 Robert Siemieniec / rsiemieniec - Score: 30 - 03/12/14 @ 13:40
:%s: #:\r#:g<CR>:v:#:d<CR>:g:^:m0<CR>ZZ

0 comments


#327 Jacob / jayekub - Score: 30 - 03/22/14 @ 23:23
:%s/ #/\r#/g<CR>:sor n<CR>2dd40jdGZZ

0 comments


#328 Bart / oneofmanybarts - Score: 30 - 04/07/14 @ 07:52
:g!/#/d<CR>:%s/ #/\r#/g<CR>:sor n<CR>ZZ

0 comments


#329 Solar Powered Robot / moskrin - Score: 30 - 05/01/14 @ 13:09
:%s/ #/<C-V><CR>#/g<CR>:%v/#/d<CR>:sor n<CR>ZZ

0 comments


#330 Kristian Jagd / Jagdos - Score: 30 - 09/12/14 @ 07:23
:%s/ #/\r#/g<CR>:sor n<CR>2dd40jdGZZ

0 comments


#331 eBrnd / eBrnd - Score: 30 - 11/02/14 @ 17:59
:%s/ #/\r#/g<CR>:sor n<CR>d2dGd41GZZ

0 comments


#332 Jake Eaton / Jake__Eaton - Score: 30 - 02/28/15 @ 07:20
:v;#;d<CR>:%s; #;\r#;g<CR>:g/^/m0<CR>ZZ

0 comments


#333 Tom van der Lee / TomVdLee - Score: 30 - 05/15/15 @ 11:51
:%s/ #/\r#/g<CR>:sor n<CR>2dd40jdGZZ

0 comments


#334 luffy / raxcoi - Score: 30 - 06/09/15 @ 21:01
:%s/ #/\r#/g<CR>:v/^#/d<CR>:sor n<CR>ZZ

0 comments


#335 Janine Cheng / janineist - Score: 30 - 02/14/16 @ 08:01
:%s/ #/\r#/g<CR>:g/#/m0<CR>:v/#/d<CR>ZZ

0 comments


#336 Jaron Hamlik / jdhamlik - Score: 30 - 02/27/16 @ 08:56
:%s/ #/\r#/g<CR>:sor n<CR>2dd40jdGZZ

0 comments


#337 Thiago Belem / TiuTalk - Score: 30 - 08/31/16 @ 04:05
:%s/ #/\r#/g<CR>:sor n<CR>2dd40jdGZZ

0 comments


#338 Gurukandhamoorthi / Gurukandhamoor1 - Score: 30 - 07/11/17 @ 13:50
:v/#/d<CR>:%s/ #/\r#/g<CR>:sort n<CR>ZZ

0 comments


#339 Jeff / RealJeffIrwin - Score: 30 - 12/14/17 @ 21:19
:%s/ #/\r#/g<CR>:sor n<CR>2dd40jdGZZ

0 comments


#340 Spacesh1p / spacesh1pdev - Score: 30 - 01/08/18 @ 13:59
:%s/ #/\r#/g<CR>:sor n<CR>2dd41GdGZZ

0 comments


#341 Weston Neal / wtneal - Score: 31 - 01/30/13 @ 01:26
:%s/ \#/\r#/g|sor nu|d|41,$d|x<CR>

0 comments


#342 mazemult / mazemult - Score: 31 - 03/10/13 @ 17:39
:%s/ #/\r#/g<CR>:sor n<CR>2dd:41<CR>dGZZ

0 comments


#343 Axel Tetzlaff / TheAxelerator - Score: 31 - 05/12/13 @ 12:38
:v/#/d<CR>:%s/ #/\r#/g<CR>:sor n<CR>:wq<CR>

0 comments


#344 Matt Robbins / mcrmfc - Score: 31 - 06/17/13 @ 08:17
:%s/ #/\r#/g<CR>:sor n<CR>2dd41G99DZZ

0 comments


#345 RobertT / techrt2050 - Score: 31 - 07/16/13 @ 23:51
:%s; #;<C-V><CR>#;g<CR>:sort n<CR>:v;^#;d<CR>ZZ

0 comments


#346 mwcz / mwcz - Score: 31 - 10/30/13 @ 20:06
:%s/ #/\r#/g<CR>:%sor nu<CR>dd40jdGZZ

0 comments


#347 Christian C. Salvadó / cmsalvado - Score: 31 - 11/14/13 @ 06:58
:%s/ \#/\r#/g|sor nu|d|41,$d|x<CR>

0 comments


#348 Pedro Santos / pedrosans - Score: 31 - 02/14/14 @ 20:25
:%s/ #/\r#/g<CR>:g!/#/d<CR>:g/^/m0<CR>ZZ

0 comments


#349 Chris / 143Pi - Score: 31 - 03/28/14 @ 14:16
:v/#/d<CR>:%s/ #/<C-V><CR>#/g<CR>:sort<BS> n<CR>ZZ

0 comments


#350 Paul Rodgers / oursjaune - Score: 31 - 07/13/14 @ 15:16
:%s/ #/\r#/g<CR>:g!/#/d<CR>:g/^/m0<CR>ZZ

0 comments


#351 Stefan Hoffmann / H0ff1_ - Score: 31 - 09/02/16 @ 15:19
:g!/^#/d<CR>:%s/ #/\r#/g<CR>:sor n<CR>ZZ

0 comments


#352 Gregor Schmidt / schmidtwisser - Score: 32 - 01/24/13 @ 09:52
:%s/ \?#/\r#/g|sor nu|d|41,$d|x<CR>

0 comments


#353 Lieven Keersmaekers / LievenKeersmaek - Score: 32 - 01/28/13 @ 20:54
:%s/ #/\r#/g<CR>:sor n<CR>2dd:41,$d<CR>ZZ

0 comments


#354 KeuZ / Fl4t - Score: 32 - 02/07/13 @ 22:19
:%s/ \?#/\r#/g|sor nu|d|41,$d<CR>ZZ

0 comments


#355 Dmitry Zudochkin / vredniy - Score: 32 - 02/08/13 @ 07:49
:%s/ #/\r#/g<CR>:sor n<CR>2dd:41,$d<CR>ZZ

0 comments


#356 Justin Knag / justinknag - Score: 32 - 08/28/14 @ 14:35
:%s/ #/\r#/g<CR>:g!/^#/d<CR>:g/^/m0<CR>ZZ

0 comments


#357 lpag / lpag_ai - Score: 32 - 05/31/17 @ 22:23
:%s/\s\?#/\r#/g<CR>:v//d<CR>:sort n<CR>ZZ

0 comments


#358 Brandon Height / Lask0x - Score: 32 - 08/08/17 @ 15:28
<Esc>:%s/ #/\r#/g<CR><Esc>:sor n<CR>2dd40jdGZZ

0 comments


#359 zealotrush / zealotrush - Score: 33 - 01/24/13 @ 17:57
:g/^#\@!/d|%s/ #/\r#/g<CR>:sor nu<CR>ZZ

0 comments


#360 Vincent Lee / vincentleest - Score: 33 - 07/04/13 @ 05:20
Jqqddj@qq@q:%s/ #/\r#/g<CR>:sor n<CR>ZZ

0 comments


#361 Juan Aguero / juansta - Score: 33 - 02/03/14 @ 04:16
<Esc>:%s/ #/\r#/g<CR>:sor n<CR>2dd:41,$d<CR>ZZ

0 comments


#362 autological_being / metaporias - Score: 33 - 05/03/18 @ 17:21
:v;#;d<CR>:%s; #; <BS>#<BS>\r#;g<CR>:sor n<CR>ZZ

0 comments


#363 Ravi S Sinha / ambidextrousTx - Score: 34 - 01/24/13 @ 19:03
:g!/#/d<CR>:%s/ #/\r#/g<CR>Vgg:sor nu<CR>ZZ

0 comments


#364 Asmund / herrasbe - Score: 34 - 01/24/13 @ 21:58
:%s/ #/\r#/g<CR>:v/#/d<CR>:%no<S-Tab> ddggP<CR>ZZ

0 comments


#365 Artur Chruszcz / a_chru - Score: 34 - 09/15/13 @ 13:35
:v/#/d<CR>:%s/ #/\r#/g<CR>:g/^/m0<CR>:w<CR>:q<CR>

0 comments


#366 setNull / dadaojiemo - Score: 34 - 03/07/17 @ 02:10
2dd/ #<CR>:%s//\r#/g<CR>:sor n<CR>ddGd16kZZ

0 comments


#367 Neil Pahl / neildaemond - Score: 35 - 02/23/13 @ 17:33
ddqaddjq18@a:%s/ #/\r#/g<CR>:sort n<CR>ZZ

0 comments


#368 dfleischman / dfleischman - Score: 35 - 12/18/13 @ 05:00
ddqqddjq18@q:%s/ #/\r#/g<CR>:g/^/m0<CR>ZZ

0 comments


#369 Bogumił Kamiński / BogumilKaminski - Score: 35 - 10/26/15 @ 21:17
qqjddq17@q:%s/ #/\r#/g<CR>:sor n<CR>2ddZZ

0 comments


#370 Romain Pomier / RPomier - Score: 36 - 04/16/13 @ 12:42
ddqaddjq17@add:%s/ #/\r#/g<CR>:sor n<CR>ZZ

0 comments


#371 Brian Besmanoff / BrianBesmanoff - Score: 36 - 07/29/13 @ 23:45
ddqqddjq17@q:%s/ #/\r#/g<CR>:sor n<CR>ddZZ

0 comments


#372 David Pathakjee / DavidPathakjee - Score: 36 - 08/14/13 @ 03:53
:%s/ #/\r#/g<CR>:g/^[^#]/d<CR>:sort n<CR>djZZ

0 comments


#373 Fake Name / The_Real_User - Score: 36 - 01/21/14 @ 03:25
:%s/ #/\r#/g<CR>:%sort n<CR>2dd:42<CR>k20ddZZ

0 comments


#374 Nate Eagleson / NateEag - Score: 36 - 10/05/14 @ 01:43
ddqq.jq17@q:%s/ #/\r#/g<CR>:sort n<CR>ddZZ

0 comments


#375 Michael Kummer / randompast - Score: 37 - 07/06/13 @ 19:47
2Dqajddq16@a:%s/ #/\r#/g<CR>:g/^/m0<CR>ddZZ

0 comments


#376 Sami Niiranen / saminiir - Score: 37 - 10/13/13 @ 10:08
:%s/ #/\r#/g<CR>:g/^[^#]/d<CR>:sort n<CR>2ddZZ

0 comments


#377 eirc / eirc - Score: 37 - 01/17/14 @ 16:21
:%s/^\w.*//<CR>:%s/ #/\r#/g<CR>:sor un<CR>ddZZ

0 comments


#378 ಸುಬ್ರಹ್ಮಣ್ಯ ಜೋಶಿ / subbucoding - Score: 37 - 03/29/15 @ 23:26
jqqddjq17@q:%s: #:\r#:g<CR>:sor n<CR>ddddZZ

0 comments


#379 Johnny Hoang / JohnnyHoang - Score: 38 - 01/24/13 @ 17:27
:g/^/+d<CR>:%s/) /)\r/g<CR>ddA <Esc>:sort n<CR>ddZZ

0 comments


#380 r. / rmarvie - Score: 38 - 12/19/14 @ 11:50
qqjddq18@q:%s/ #/\r#/g<CR>Vgg:sort n<CR>ddZZ

0 comments


#381 Michael Eisel / michaeleisel - Score: 39 - 02/02/13 @ 20:37
:%s/ #/\r/g<BS><BS>#/g<CR>;:sort n<CR>;:v/^#/d<CR>:wq<CR>

0 comments


#382 無ん垢の叫び / john_ababa - Score: 39 - 02/10/13 @ 09:36
:%s/#/<C-V><CR>#/g<CR>:sor n<CR>d):%s/ $<CR>3jd)ggA <Esc>ZZ

0 comments


#383 Andrés Llopis / andreselsuave - Score: 39 - 03/04/13 @ 00:13
:%s/ |<BS>\?#/\r#/g|sor nu@<BS>|d|41,$d<CR>>>uZZ

0 comments


#384 Russ Adams / rustushki - Score: 39 - 12/22/13 @ 16:36
2ddqqjddq38@q:%s/ #/\r#/g<CR>qqVGdPq38@qZZ

0 comments


#385 w1zeman1p / wizemanip - Score: 39 - 11/10/14 @ 03:14
ddqqddjq40@q:$<BS>%s/ #/\r#/g<CR>:g/6<BS>^/m0<CR>ZZ

0 comments


#386 Adv_Zxy / adv_zxy - Score: 41 - 07/04/17 @ 06:56
:v%<BS>/#/d<Left><Left><Left><Left><Left>%<CR>:%s/ #/<C-V><CR>#/g<CR>:%sort n<CR>:wq<CR>

0 comments


#387 fumi komi / kommy_vx - Score: 42 - 03/28/13 @ 04:51
:/<BS>%s/ \?#/\r#/g|sor nu|d|41,$d<C-R><Esc>[3~<BS><BS><BS><CR>ZZ

0 comments


#388 Torben Rasmussen / rasmustorben - Score: 42 - 04/27/13 @ 22:55
:%s/ #/<C-V><CR>#/g<CR>:g/^[^#]/d<CR>:g/^$/d<CR>:g/^/m0<CR>ZZ

0 comments


#389 Damian Martinez G. / damipoo - Score: 43 - 11/06/13 @ 18:27
:%s/ #/<C-V><CR>#/g<CR><Esc>:g/^[^#]/d<CR>:sort -n<BS><BS>n<CR>2dd:x<CR>

0 comments


#390 Naoki Masuko / nmasuko - Score: 43 - 07/11/14 @ 23:26
:%s/^[^#].*\n/<CR>:%s/ #/\r#/g<CR>:g/^/m0<CR>ddGddZZ

0 comments


#391 wilddog64 / chengkai318 - Score: 44 - 12/17/13 @ 18:35
:v/#/d<CR>:s/\s\ze#\]d<C-H><C-H>d\+/r<C-H>\r/g<C-B>%<CR>:g/^/m0<CR>ZZ

0 comments


#392 Pradeep Kumar / pradeep6kumar - Score: 45 - 01/24/13 @ 06:05
:g/^[^#]/d<CR>:%s/\v( )(#\d)/\r\2/g<CR>:sor nu<CR>ddZZ

pradeep6kumar: I want to know a better solution, please help!!!

1 comment


#393 Bradley M. Small / BradleySmall - Score: 46 - 10/28/13 @ 01:53
:g/#/-d<CR>:%s/ #/\r#/g<CR>qq"Addk@qq@q"aPG2dkujdGZZ

0 comments


#394 くま55 / kumack55 - Score: 47 - 04/02/13 @ 18:16
:%s/#/\r#/g<CR>:sor n<CR>20dd:%s/ $//<CR>2jd<Esc>jdGgg$a <Esc>ZZ

0 comments


#395 Rasmus Prentow / rasmusprentow - Score: 47 - 05/08/13 @ 07:36
:%s/\v^(#.*)@!.*\n//g<CR>:%s/ #/\r#/g<CR>:g/^/m0<CR>ddZZ

0 comments


#396 Jesse House / house9twx - Score: 47 - 06/27/13 @ 01:38
:g!/#/d<CR>:%s/#<BS> #/<BS><BS><BS>\s#/\r#/g<CR><C-V>gg:sort nu<CR><Esc>:wq<CR>

0 comments


#397 Alexander Bandukwala / abanduk - Score: 49 - 01/17/14 @ 20:22
:g!/^#/d<CR>:s/ #/\r#/g<CR>u:<Up><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left>%<CR>:%sort n<CR>:wq<CR>

0 comments


#398 Julius Pfrommer / dlctr - Score: 50 - 03/02/13 @ 17:32
:v/#/d<CR>u<Esc><Esc>:v/#/d<CR>u:v/#/d<CR>:%j<CR>qqt#i<CR><Esc>q99@q:sor n<CR>ZZ

0 comments


#399 xds2000 / xds2000 - Score: 54 - 01/25/13 @ 03:23
:g/^[]<Left>^#<Right>/d<CR>:%s/<BS><BS><BS>%s/\v( )(#\d)/\r\2/g<CR>:sort nu<CR>ddZZ

0 comments


#400 Kfir Gollan / kfirgollan - Score: 56 - 04/07/17 @ 21:48
:%s/#//<BS>\r#/g<CR>:%sort n<CR>20dd41G20DDu:%s/\s\+$//e<CR>gg$a <Esc>ZZ

0 comments


#401 Alberto Pose / thepose - Score: 57 - 11/06/13 @ 17:53
:%s\<BS>/#<BS> #/\r#/g<CR>:sort n<BS><BS><BS> n<CR>:%s/[<BS>^[^#]*\n//gc<BS><CR><Esc>dd<Esc>:x<CR>

0 comments


#402 WoljaIlpapa / WoljaIlpapa - Score: 69 - 12/19/13 @ 06:42
Hdd:%s/ #/\r#/g | sort -n<BS><BS>n<CR>:let @a="" | g/^#/y A<CR>:1,$ d<CR>"aPHddGddZZ

0 comments


#403 Tj / yrddy - Score: 88 - 08/13/14 @ 08:03
:%s/^[!#]*\r#8*<BS><BS><BS><BS><BS>//g<CR>u<C-R><C-R><C-R>uu:<Up><Left><Left><Left><Left><Right><Right><Right><Left><Right>d<CR>:<Up><Left><BS><CR>u:noh<CR>:%s/ #/`\<BS><BS>\r#/g<CR>:sor n<CR>2dd40jdGZZ

0 comments


#404 Vishnu Rajeevan / vishnurajeevan - Score: 96 - 05/07/13 @ 03:27
qaq:set nowrap<CR>ddqaddjdd<Esc>q@auuuuu<Esc>qajddq@a20@au<C-R>kggdd/#<CR>/ #<CR>NqsNqnqsni<CR><Esc>q@s15@s4@s@s:g/^/m0<CR>:wq<CR>

0 comments


#405 Harry Garrood / hdgarrood - Score: 106 - 02/10/13 @ 20:29
:v/#/d<CR>:%s/ #/\r#g<BS>/g<CR>:%sort<CR>/#2<CR>Dggpuo<Esc>p13jkkdd/wh<CR>Duddggjp/whi<CR>ddunnggddunnddgjjggjjp36jVkkkkdggjjjp:wq<CR>

0 comments


Created by: pradeep6kumar

405 active golfers, 1567 entries

Leaderboard (lowest score wins):
27
#181 - Ignacio Munizaga / IMunizaga

04/04/2013 at 09:59PM

27
#182 - jeepee / jeepee_test

04/08/2013 at 11:53AM

27
#183 - Maxime Dréau / mdreau

06/28/2013 at 01:53PM

27
#184 - Timothée Gauthier / zmf_tim

07/07/2013 at 09:59AM

27
#185 - Dr Rev J. '𝕵. 𝕶𝖎𝖗𝖈𝖍𝖆𝖗𝖙𝖟' Kirchartz / JKirchartz

07/21/2013 at 01:58AM

27
#186 - Ed Saunders / Captain_Cheddar

08/13/2013 at 01:49PM

27
#187 - Some(coder) / hauleth

08/15/2013 at 07:03PM

27
#188 - Rémi Jézéquel / Remjez

08/23/2013 at 04:08PM

27
#189 - isayoldchap / isayoldchap

09/02/2013 at 08:33PM

27
#190 - Throw Away / throwaway111111

10/03/2013 at 12:00AM

27
#191 - foo / foo88832727

10/19/2013 at 05:13PM

27
#192 - bunnies president / bunnies4p

10/22/2013 at 09:21PM

27
#193 - Fnord Everywhere / FnordE

10/30/2013 at 02:52PM

27
#194 - Bjorn / bjorn_248

11/15/2013 at 08:57PM

27
#195 - J. Cliff Dyer / jcdyer

11/25/2013 at 02:19PM

27
#196 - Ian Laird / irlaird

12/13/2013 at 12:17AM

27
#197 - Grégoire Delattre / gregdel

12/18/2013 at 09:05PM

27
#198 - Karun Ramakrishnan / the_karun

12/19/2013 at 09:19PM

27
#199 - pikaren / REALpikaren

12/22/2013 at 07:25AM

27
#200 - Sam Burk / smwbk

12/23/2013 at 12:26AM

27
#201 - Alessandro Lisander / wuiimu

01/06/2014 at 12:10AM

27
#202 - Johan Berg / _berg85

01/17/2014 at 02:19PM

27
#203 - John Amicangelo / AmicangeloJohn

01/22/2014 at 04:53AM

27
#204 - harsh / harsh1618

01/31/2014 at 06:43PM

27
#205 - Patrick Oscity / der_padde

02/10/2014 at 01:34AM

27
#206 - Timothy Lin / lzh9102

03/08/2014 at 02:53AM

27
#207 - Rolinh / Rolinh42

03/13/2014 at 12:18PM

27
#208 - Felipe Jaramillo F / mrfelipe

04/02/2014 at 05:10AM

27
#209 - Théophile Wallez / twallez

07/02/2014 at 10:01AM

27
#210 - Adrien Canuel / AdrienCanuel

11/20/2014 at 02:43PM