Thursday, March 01, 2007

_vimrc for Ruby

In the past I've used gvim for Ruby coding. It's been pretty good, especially with the new tabbed editing and omni complete (bit like intellisense in Visual Studio) introduced in vim 7. However, when I downloaded vim at work, I was missing the secret sauce - a good vimrc. Here's my usual vimrc for ruby:
set nocompatible
behave xterm
set selectmode=mouse
set nu
set tabstop=2
set shiftwidth=2
set softtabstop=2
set ai
set columns=100
set lines=70
set guifont=Courier:h10
set expandtab
set smarttab
let g:rubycomplete_rails = 1
Among other things, it makes the default window size bigger, uses a prettier font, sets up auto indenting ruby style, and turns on omni-complete.

By the way, on windows, assuming a default install, vimrc is to be found here:
C:\Program Files\Vim\_vimrc

33 comments:

alvin said...

can you explain the _vimrc line by line for me please

my email is alvin_garlic@yahoo.com.sg

Anonymous said...

Why not put a comment after each line to explain their function? (I recognize that several are obvious; however, more are not.)

Eric said...

thx man, this is a nice start when u just need something to get going w/ the tool.

Anonymous said...

Now do you worried about that in the game do not had enough aion kina to play the game, now you can not worried, my friend told me a website, in here you can buy a lot aion online kina and only spend a little money, do not hesitate, it was really, in here we had much aion gold, we can sure that you will get the cheap aion kina, quick to come here to buy aion kina.

Now do you worried about that in the game do not had enough Anarchy credits to play the game, now you can not worried, my friend told me a website, in here you can buy a lot Anarchy Online credits and only spend a little money, do not hesitate, it was really, in here we had much Anarchy gold, we can sure that you will get the Anarchy online gold, quick to come here to buy AO credits.

Anonymous said...

網頁設計,網頁設計公司,最新消息,訪客留言,網站導覽
情趣用品,情趣用品,情趣用品
色情遊戲,寄情築園小遊戲,情色文學,一葉情貼圖片區,情人視訊網,辣妹視訊,情色交友,成人論壇,情色論壇,愛情公寓,情色,舊情人,情色貼圖,色情聊天室,色情小說,做愛,做愛影片,性愛

免費視訊聊天室,aio交友愛情館,愛情公寓,一葉情貼圖片區,情色貼圖,情色文學,色情聊天室,情色小說,情色電影,情色論壇,成人論壇,辣妹視訊,視訊聊天室,情色視訊,免費視訊,免費視訊聊天,視訊交友網,視訊聊天室,視訊美女,視訊交友,視訊交友90739,UT聊天室,聊天室,豆豆聊天室,尋夢園聊天室,聊天室尋夢園,080聊天室,080苗栗人聊天室,女同志聊天室,上班族聊天室,小高聊天室
AV,AV女優
視訊,影音視訊聊天室,視訊交友
視訊,影音視訊聊天室,視訊聊天室,視訊交友,視訊聊天,視訊美女,視訊辣妹,免費視訊聊天室
自慰器,自慰器

Alberta Directory said...

Thanks for posting, definitely going to subscribe! See you on my reader. Feel free to check out my site canada
when you got time.

Ontario Directory said...

Hello, What enticed you to post this article. It was extremely interesting, especially since I was searching for info on this subject last Thursday. I would love some feedback on my site travel tourist guide when you got time.

Anonymous said...

酒店打工

酒店兼職

台北酒店

打工兼差

酒店工作

酒店

禮服酒店

酒店兼差

酒店上班

酒店PT

酒店經紀

酒店喝酒

酒店消費

喝花酒

粉味

喝酒

Anonymous said...

levitra wirkung
rezeptfrei viagra
rezeptfrei viagra
como comprar cialis
cialis bestellen
cialis wirkung
cialis wirkung
viagra bestellen

Adi said...

Oes Tsetnoc one of the ways in which we can learn seo besides Mengembalikan Jati Diri Bangsa. By participating in the Oes Tsetnoc or Mengembalikan Jati Diri Bangsa we can improve our seo skills. To find more information about Oest Tsetnoc please visit my Oes Tsetnoc pages. And to find more information about Mengembalikan Jati Diri Bangsa please visit my Mengembalikan Jati Diri Bangsa pages. Thank you So much.

Anonymous said...

vermox rezeptfrei
viagra soft apotheke rezeptfrei
accutane bestellen rezeptfrei
strattera rezeptfrei
vermox bestellen rezeptfrei
cialis super active bestellen
viagra ohne rezept kaufen
kamagra oral jelly kaufen
tamiflu rezeptfrei
vermox ohne rezept kaufen
cialis ohne rezept
amoxil bestellen
kamagra oral jelly ohne rezept bestellen
viagra super active bestellen rezeptfrei

Anonymous said...

vendita lovegra italia
kamagra soft vente en ligne
pilule france
prix intagra
vendita viagra
levitra rezeptfrei kaufen
lasix acheter
lovegra bestellen rezeptfrei
levitra en ligne
viagra soft france
acheter pharmacie france
vendita cialis
cialis vendita
kamagra online italia

Anonymous said...

Vendita cialis super active plus Senza Ricetta
cialis super active plus Online Rezeptfrei
Acheter du levitra en Pharmacie
Comprar cipro Farmacia
Comprar minocin Internet
Comprare cytotec Italia
Acheter du cialis super active plus en Pharmacie
Comprare accutane Farmacia
cialis Rezeptfrei Kaufen
kamagra oral jelly Rezeptfrei Bestellen

tn requin said...

tn requin
chaussures tn
chaussure requin

kids wall stickers
stickers for wall
wall sticker decal
wall stickers
round tablecloth
vinyl tablecloths
linens tablecloths
tablecloth
fashion bedding
bath curtains
kitchen faucet
bathroom faucet
faucet
shower faucet
baby bedding
bed in a bag
home bedding
kids bedding

wedding jewelry
wedding cake
wedding accessories
wedding dresses
cheap dress shoes
discount handbags
women's shoes
women's handbags
id lanyard
lanyard
beaded lanyard

unlocked cell phones
mp3 players
digital camera
digital picture frames
flat tv
lcd tv
hd tv
portable GPS
GPS navigation
bluetooth gps
handheld gps

travel guide
travel luggage
camping tents
sleeping bag
car parts
car gps
car tires
car seat cover

sexual health
wholesale lots

Larah said...

Very nice article!
online jobs

polo shirts said...

History of polo ralph lauren. Polo fashions had its humble beginnings in 1968 when tie salesman Ralph Lauren gave it a kick start. By 1969 he had a boutique polo ralph lauren factory stores within the Manhattan department store Bloomingdale's. ... Brands and luxury standard. Since Ralph Lauren's first brand, Polo Ralph Lauren, was launched, the company has expanded to include a variety of luxury brands such as Polo Golf, Polo Denim, Polo Sport. You can buy cheap Ralph Lauren Clothing at Ralph Lauren outlet.Also We provide polo shirts
Ralph Lauren polo shirt, 50% OFF! polo ralph lauren outlet online is your best choice!In 2006, polo ralph lauren outlet became the first designer in Wimbledon's 133-year history to create official uniforms for the tournament. As part of this year's event, which starts next week, polo ralph lauren sale will introduces the first ... determination to maintain and enhance the values for which our two brands are famous throughout the world. The rugby ralph lauren brand brings to Wimbledon the look of timeless elegance, drawing on our rich history and traditions

Anonymous said...

Y te vi bailar bajo la lluvia
y saltar sobre un charco de estrellas
Obama Is Lying<1>
When was the last time the MSM took a Republican's side in a fight over credibility with a Democratic opponent?Microsoft OfficeOffice 2010Well, it has been a while.Microsoft Office 2010However, conservatives have little to grumble about in the recent Office 2007face-off between Barack Obama and John McCain over McCain's statement thatte vi bailar bajo la lluvia
esperando la luna llena
Volverás a reírte de veras
Microsoft Office 2007troops might have to remain for "100 years" in Iraq "as long as Americans are not being injured or harmed or wounded or killed" afterOffice 2010 keyfighting had concluded, Office 2010 downloadMost recently, ABC's Jake Tapper noted that at least on three occasions Obama had personally said that McCain favored cuando creas que estaba perdidovolverás a reírte de veras
continued fighting in Office 2010 ProfessionalIraq for 100 years. Tapper concluded that "Obama has in the past distorted McCain's comments" and "that he is violating his own stated si te quedas conmigoTe vi bailar bajo la lluviaesperando la luna llente vi llorar bajo la lunMicrosoft outlookaspirations...[b]ecause not only has he distorted what McCain said, he is not being honest about having made those distortions."Outlook 2010Tapper is not the only MSM reporter to point this out, Windows 7of course. It is not every day that the RNC sends around e-mail blasts quoting Frank Microsoft outlook 2010Rich ("Barack Obama and Hillary Clinton should be ashamed of themselves for libeling John McCain") and reports from the Chicago Tribune,

ektas said...

Nice, I think it could be interesting to add some more entries following this one. thanks for all that..
ses kayıt
ses kayıt
ses kayıt sistemi

Frank said...

All those sequels will be fed to Starz as part of the new distribution deal. Other Weinstein Co. films coming to Starz include critically acclaimed "The King's Speech," and "Blue Valentine." nice and cheap ugg boots is on display right now at Harrods ugg clearance in London, but once released, will there be a market for it? The new green luxury car gives the environmentally conscious executive cheap uggs clearance the option of powering the CT 200H by either electricity orjordan basketball shoes by regular petrol. Lexusugg women is banking on the belief that there is a growing demand for a greenJordan Fusions. vehicle in the luxury car market.

Anonymous said...

acheter flagyl pas cher
acheter kamagra en france
Ohne Rezept priligy
kamagra oral jelly Ohne Rezept Kaufen
priligy Rezeptfrei Kaufen
Rezeptfrei xenical
accutane Rezept
cialis soft Rezeptfrei Apotheke
kamagra oral jelly Ohne Rezept
viagra soft Rezeptfrei Kaufen
Rezeptfrei nolvadex
nolvadex acheter
accutane Rezeptfrei Kaufen
zithromax Rezeptfrei Bestellen
acheter xenical en ligne
accutane Online Rezept
Rezeptfrei cialis
strattera auf Rezept
achat diflucan
kamagra oral jelly acheter en ligne
Rezeptfrei zithromax
kamagra Rezeptfrei Kaufen
viagra soft acheter
Ohne Rezept cipro Apotheke
proscar Rezeptfrei Kaufen
lovegra Rezeptfrei Kaufen
diflucan Online Rezeptfrei
proscar Rezeptfrei Kaufen
achat lasix en ligne
viagra soft Ohne Rezept Kaufen
achat cialis france
xenical Rezeptfrei
Ohne Rezept lasix Apotheke

clarebear said...

We are China online Wholesale Beads store, China Wholesale Beads is your best choice. China jewelry findings and jewelry making supplies for wholesale.We offer you Jewelry Supplies, Jewelry Findings, Jewelry Beads at the cheapest price. We are specialized in Wholesale Jewelry Supplies, Wholesale Jewelry Findings, Tibetan Style Beads, Tibetan Silver Beads, Tibetan Silver Charms, Wholesale Acrylic Beads, Wholesale Crystal Beads, Wholesale Jewelry Charms, Pandora Style Beads, Lampwork Beads, Metal Beads, Gemstone Beads, Wood & Nut Beads. Buy more get more discount.

zacoo said...

We are China online Wholesale Beads store, China Wholesale Beads is your best choice. China jewelry findings and jewelry making supplies for wholesale.We offer you Jewelry Supplies, Jewelry Findings, Jewelry Beads at the cheapest price. We are specialized in Wholesale Jewelry Supplies, Wholesale Jewelry Findings, Tibetan Style Beads, Tibetan Silver Beads, Tibetan Silver Charms, Wholesale Acrylic Beads, Wholesale Crystal Beads, Wholesale Jewelry Charms, Pandora Style Beads, Lampwork Beads, Necklace Pendants, European Beads. Buy more get more discount.

zacoo said...

We are China online Wholesale Beads store, China Wholesale Beads is your best choice. China jewelry findings and jewelry making supplies for wholesale.We offer you Jewelry Supplies, Jewelry Findings, Jewelry Beads at the cheapest price. We are specialized in Wholesale Jewelry Supplies, Wholesale Jewelry Findings, Tibetan Style Beads, Tibetan Silver Beads, Tibetan Silver Charms, Wholesale Acrylic Beads, Wholesale Crystal Beads, Wholesale Jewelry Charms, Pandora Style Beads, Lampwork Beads, Necklace Pendants, European Beads. Buy more get more discount.

elizabeth bernot said...

Costa Rica Fishing

http://www.fishingcostaricaexperts.com/

Fishing Costa Rica

cicy said...

Tera gold
wow gold

Tera gold
Tera Item
Tera account

betting bonuses said...

I impressed greatly that the way you have written such great article. I got many reference about this topic but your one is wonderful. When I started to read article I was thinking about the way you present such great topic. By the way could you please post more article on such topic ? I really appreciate it. bet365 | online bookmakers | online betting

wow items said...

This is so exciting! Can't wait for the Special Friends edition.Thanks for the links big bro!I just want to say that you're doing a

great job, keep it up!
WOW Gold
buy tera gold
WOW Items

Cheap WOW Items
Tera Gold
WOW Gear

Buy WOW Items
Tera Gold
WOW Items Gold

Tera Gold
Buy WOW Gold
Cheap WOW Gold

buy eden gold
eden gold
RS Gold

Cheap tera gold
Cheap Tera Gold
RS Gold

RS Gold
Tera Power Leveling
Buy RS Gold

cheap eden gold
Tera Account
Tera Items

Eden Eternal Review
Eden Eternal Gold
Buy tera gold

herbal viagra said...

Thanks for the nice blog. It was very useful for me. Keep sharing such ideas in the future as well. This was actually what I was looking for, and I am glad to came here! Thanks for sharing the such information with us.

Cheap RS Gold said...

The post is very nicely written and yes it contains many useful facts. We are pleased to find your distinguished way of writing the post. So you allow me to learn and implement. Thank you sharing with us.
http://www.aishbook.com/playgold/blog/98611/
http://maplestoryuna.bloguje.cz/914859-house-republicans-rejected-a-senate-deal-to-temporarily-extend-the-payroll-tax-cut.php
http://wowgp.jugem.jp/
http://maplestoryuna.fiftiz.fr/blog/44446,medical-examiner-releases-complete-autopsy-report.html
http://maplestoryunass.podbean.com/2011/12/21/a-man-has-been-found-alive-and-living-in-oregon/
http://www.free-blog-site.com/blog2.php?user=victoriass&note=342075
http://maplestoryuna.onsugar.com/doctor-found-little-girl-trash-bin-Pakistans-Swat-Valley-20986839

Anonymous said...

In the previous I've utilised gvim for Ruby coding.Cheap Runescape Gold it is been relatively good, specifically using the newest tabbed modifying and omni comprehensive (bit like intellisense in noticeable Studio) introduced in vim 7. However, when I downloaded vim at work, i experienced been missing the beauty Cheap RS Goldequation sauce - an excellent vimrc. here is my typical vimrc for ruby:

Jerry Gene said...

Nice post! Can’t wait for the next one. Keep stuff like this coming. Nice Post keep it up.

Asus - N55SL-DS71 15.6" LED Notebook - Intel Core i7 i7-2670QM 2.20 GHz - Black

Asus - 11.6"ZENBOOK Ultrabook 4 GB Memory and 128 GB Solid State Drive - Aluminum Silver

Asus - 13.3" Laptop - 4GB Memory - 128GB Solid State Drive - Hot Pink

Asus - 11.6" Laptop - 4GB Memory - 128GB Solid State Drive - Radiant Silver

Asus - 15.6" Notebook 8 GB Memory - 500 GB Hard Drive - Black

chenlina said...

chenlina20160622
cheap oakley sunglasses
adidas originals
nike trainers uk
air jordans
lebron 13
coach factory outlet online
jordan retro
adidas shoes
oakley sunglasses
louis vuitton outlet
louis vuitton outlet
coach outlet store online
coach outlet store online
coach factory outlet
hollister clothing
coach outlet
oakley canada
ralph lauren outlet
ed hardy clothing
ralph lauren polo
kobe 11
jordans for sale
fake watches
kate spade
cheap jordans
true religion outlet
timberland outlet
true religion outlet
nike air max 90
michael kors outlet
michael kors handbags
air jordans
nike roshe run women
coach outlet
mont blanc
adidas shoes
cheap jordan shoes
kate spade handbags
toms outlet
fitflops sale clearance
as

dong dong23 said...

lunette oakley
marc jacobs
nike trainers uk
weitzman shoes
cheap wedding dresses
adidas zx flux
balance shoes
nike roshe
ugg boots
hollister uk
2018.1.4chenlixiang