19 Nov '13, 7pm

Sort lines alphabetically in vim

Sort Lines Alphabetically In Vim Dan Croak February 01, 2013 vim Imagine you're working in vim. You come across this code: gem 'clearance', '1.0.0.rc4' gem 'neat' gem 'stripe' gem 'pg' gem 'thin' gem 'rails', '3.2.11' gem 'bourbon' gem 'simple_form' gem 'strong_parameters' You want to sort the list alphabetically. You select the lines visually: Shift + V You invoke the sort function: :sort You rejoice: gem 'bourbon' gem 'clearance', '1.0.0.rc4' gem 'neat' gem 'pg' gem 'rails', '3.2.11' gem 'simple_form' gem 'stripe' gem 'strong_parameters' gem 'thin' You dig deeper: :help sort What's next? If you found this useful, you might also enjoy: Wrap Existing Text at 80 Characters in Vim The Art of Vim

Full article: http://robots.thoughtbot.com/sort-lines-alphabetically-in...

Tweets

Vim Spell-Checking

Vim Spell-Checking

robots.thoughtbot.com 19 Nov '13, 6pm

Dan Croak November 19, 2013 vim There are times when we edit prose in Vim, such as in a project README or git commit messa...

Animal Testing Phase-Out in China (sort of) - Feelgood Style: Animal Testing Phase-Out in China (sort of)Feelg...

Animal Testing Phase-Out in China (sort of) - F...

feelgoodstyle.com 18 Nov '13, 12pm

Great news for animal rights! China is phasing out mandatory animal testing on domestic beauty products! This is absolutel...

“Running Specs from Vim, Sent to tmux via Tslime”

robots.thoughtbot.com 18 Nov '13, 7am

Running Specs from Vim, Sent to tmux via Tslime Joël Quenneville August 08, 2013 tmux vim ruby testing When I first starte...

Faster Grepping in Vim

robots.thoughtbot.com 28 Nov '13, 1am

Dan Croak November 27, 2013 vim We often search our projects for specific text within Vim like so: :grep sometext However,...

Singapore train lines in 2030.

twitter.com 28 Nov '13, 12pm

To bring you Twitter, we and our partners use cookies on our and other websites. Cookies help personalize Twitter content,...