Vim for ruby

I am using Ubuntu 7.10. I installed vim-ruby package to get the ruby
syntax hilighting support, but it is not working. Any ideas?
Thanks for your time.
Bharat

···

--
Posted via http://www.ruby-forum.com/.

You need to run the vim-ruby-install.rb

^ manveru

···

On Mon, Feb 16, 2009 at 12:18 PM, Bharat Ruparel <bcruparel@yahoo.com> wrote:

I am using Ubuntu 7.10. I installed vim-ruby package to get the ruby
syntax hilighting support, but it is not working. Any ideas?
Thanks for your time.

Bharat

Bharat Ruparel wrote:

I am using Ubuntu 7.10. I installed vim-ruby package to get the ruby
syntax hilighting support, but it is not working. Any ideas?
Thanks for your time.
Bharat

You need to put 'syntax on' in your ~/.vimrc, it should work with or
without the vim-ruby package.

···

--
Posted via http://www.ruby-forum.com/\.

Hi,

···

Am Montag, 16. Feb 2009, 12:18:44 +0900 schrieb Bharat Ruparel:

I installed vim-ruby package to get the ruby
syntax hilighting support, but it is not working. Any ideas?

By the way: Some time ago I wrote two Vim commands to
interactively execute Ruby code and insert the result into the
current buffer below the code passage. I use them really often.

Maybe sommebody likes it:
<http://bertram-scharpf.homelinux.com/src/vruby.vim&gt;\.

Bertram

--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de

Bertram Scharpf wrote:

···

Am Montag, 16. Feb 2009, 12:18:44 +0900 schrieb Bharat Ruparel:

I installed vim-ruby package to get the ruby
syntax hilighting support, but it is not working. Any ideas?

By the way: Some time ago I wrote two Vim commands to
interactively execute Ruby code and insert the result into the
current buffer below the code passage. I use them really often.

Maybe sommebody likes it:
<http://bertram-scharpf.homelinux.com/src/vruby.vim&gt;\.

See also:

That was it. Thanks.

···

You need to put 'syntax on' in your ~/.vimrc, it should work with or
without the vim-ruby package.

--
Posted via http://www.ruby-forum.com/\.

See also:Like Slime, for Vim | Jonathan's Techno-tales

What's the advantage of this approach over using the compiled-in ruby
interpreter?

Jeff this is one of the most valuable reads I ever had about vim. Many
thanx for sharing.
R.

···

On Mon, Feb 16, 2009 at 4:00 PM, Jeff Schwab <jeff@schwabcenter.com> wrote:

Like Slime, for Vim | Jonathan's Techno-tales

--
There are some people who begin the Zoo at the beginning, called
WAYIN, and walk as quickly as they can past every cage until they get
to the one called WAYOUT, but the nicest people go straight to the
animal they love the most, and stay there. ~ A.A. Milne (from
Winnie-the-Pooh)

Tom Link wrote:

See also:Like Slime, for Vim | Jonathan's Techno-tales

What's the advantage of this approach over using the compiled-in ruby
interpreter?

Who said there was any advantage of either approach over the other? (And why do so many people interpret the provision of relevant information as somehow pejorative to the information already available?)

slime.vim happens to be a better fit for most of my work, because I'm working with multiple external interpreters. Built-in support for a particular Ruby interpreter is definitely cool, but it's not quite as flexible.

Robert Dober wrote:

···

On Mon, Feb 16, 2009 at 4:00 PM, Jeff Schwab <jeff@schwabcenter.com> wrote:

Like Slime, for Vim | Jonathan's Techno-tales

Jeff this is one of the most valuable reads I ever had about vim. Many
thanx for sharing.

It was useful to me, too. FWIW, I pretty much live in Screen and Vim these days.

Jeff Schwab wrote:

Robert Dober wrote:

Like Slime, for Vim | Jonathan's Techno-tales

Jeff this is one of the most valuable reads I ever had about vim. Many
thanx for sharing.

It was useful to me, too. FWIW, I pretty much live in Screen and Vim
these days.

Hey guys, I decided to start using vim since I'm a beginner\Ruby
programmer, and I decided (with some encouragement from other experience
ruby developers)and think its imperative for me to get used to the
command line, instead of being lazy with an IDE. I forked a project that
has some vim plugins. My question is, which plugins do I need to get
started, I just basically threw everything in there, and I'm noticing
some errors popping up when I start VIM. I want the cool stuff give me
the good stuff.

Thanks

···

On Mon, Feb 16, 2009 at 4:00 PM, Jeff Schwab <jeff@schwabcenter.com> wrote:

--
Posted via http://www.ruby-forum.com/\.

Hi Zayd,

Hey guys, I decided to start using vim since I'm a beginner\Ruby
programmer, and I decided and think its imperative for me to get
used to the command line, instead of being lazy with an IDE.

Congrats; you're suspected to be a valuable programmer.

My question is, which plugins do I need to get started, I just
basically threw everything in there, and I'm noticing some
errors popping up when I start VIM. I want the cool stuff give
me the good stuff.

Never mind, just start off. The plugins will find you; it's not
your job to search for them. You will experience yourself to write
one and the other yourself...

Bertram

···

Am Donnerstag, 26. Feb 2009, 07:29:49 +0900 schrieb Zayd Connor:

--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de

Zayd Connor wrote:

Jeff Schwab wrote:

Robert Dober wrote:

Like Slime, for Vim | Jonathan's Techno-tales

Jeff this is one of the most valuable reads I ever had about vim. Many
thanx for sharing.

It was useful to me, too. FWIW, I pretty much live in Screen and Vim
these days.

Hey guys, I decided to start using vim since I'm a beginner\Ruby programmer, and I decided (with some encouragement from other experience ruby developers)and think its imperative for me to get used to the command line, instead of being lazy with an IDE.

Welcome to the rest of your life. :slight_smile: What OS are you using?

I forked a project that has some vim plugins.

That sounds kinda rough. Do you mean you started with Cream or Vimmate or something? Your best bet is probably just out-of-the-box Vim. You can install plugins later.

My question is, which plugins do I need to get started, I just basically threw everything in there,

You don't need any plugins to start. The only gotcha that comes to minds is that you should make sure you have a ~/.vimrc file (_vimrc on Windows) so you'll get the Vimmy goodness, rather than backward-compatible "vi mode."

and I'm noticing some errors popping up when I start VIM.

Could you be more specific?

I want the cool stuff give me the good stuff.

:slight_smile:

Check out comp.os.editors. See also the book list on vim.org, and the Vim Tips Wiki:

     Vim documentation : vim online
     Vim Tips Wiki | Fandom

There are free books and cheat sheets online to help you get started. There are also more advanced books.

1. Get really good at editing text.
2. Learn how to represent basically everything as text.
3. Profit!

···

On Mon, Feb 16, 2009 at 4:00 PM, Jeff Schwab <jeff@schwabcenter.com> wrote:

Bertram Scharpf wrote:

Hi Zayd,

Hey guys, I decided to start using vim since I'm a beginner\Ruby
programmer, and I decided and think its imperative for me to get
used to the command line, instead of being lazy with an IDE.

Congrats; you're suspected to be a valuable programmer.

My question is, which plugins do I need to get started, I just
basically threw everything in there, and I'm noticing some
errors popping up when I start VIM. I want the cool stuff give
me the good stuff.

Never mind, just start off. The plugins will find you; it's not
your job to search for them. You will experience yourself to write
one and the other yourself...

Bertram

Thanks Bertram, I really can't wait to catch up in ruby\VIM, at least
get the basic commands down. Are there any good books for VIM out there?
I've been trying to open an existing rails project in my VIM editor and
so far I've been unsuccesfull, do you know the steps I need to take to
open my rails project?

···

Am Donnerstag, 26. Feb 2009, 07:29:49 +0900 schrieb Zayd Connor:

--
Posted via http://www.ruby-forum.com/\.

No, you got that wrong. It's:

  1. Get really good at editing text.
  2. Learn how to represent basically everything as text.
  3. . . .
  4. Profit!

···

On Fri, Feb 27, 2009 at 08:34:17AM +0900, Jeff Schwab wrote:

1. Get really good at editing text.
2. Learn how to represent basically everything as text.
3. Profit!

--
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Zat was zen, dis is tao. http://tao.apotheon.org

:slight_smile: I'm using Vista

Yeah I reinstalled gVim and sticking to whats already in the box, and I also
I made sure I have the _vimrc file =) thanks.

This feels so much better then netbeans. Netbeans felt so sluggish and slow.
It doesn't take years for my Vim to start, I also like that you can
customize short keys, and pretty much everything else. I think I made the
right decision by switching, I just hope in the future if I land a job, that
I won't be forced to use anything else besides Vim.

Thanks Guys

···

On Thu, Feb 26, 2009 at 6:34 PM, Jeff Schwab <jeff@schwabcenter.com> wrote:

Zayd Connor wrote:

Jeff Schwab wrote:

Robert Dober wrote:

On Mon, Feb 16, 2009 at 4:00 PM, Jeff Schwab <jeff@schwabcenter.com> >>>> wrote:

Like Slime, for Vim | Jonathan's Techno-tales

Jeff this is one of the most valuable reads I ever had about vim. Many
thanx for sharing.

It was useful to me, too. FWIW, I pretty much live in Screen and Vim
these days.

Hey guys, I decided to start using vim since I'm a beginner\Ruby
programmer, and I decided (with some encouragement from other experience
ruby developers)and think its imperative for me to get used to the command
line, instead of being lazy with an IDE.

Welcome to the rest of your life. :slight_smile: What OS are you using?

I forked a project that has some vim plugins.

That sounds kinda rough. Do you mean you started with Cream or Vimmate or
something? Your best bet is probably just out-of-the-box Vim. You can
install plugins later.

My question is, which plugins do I need to get started, I just basically

threw everything in there,

You don't need any plugins to start. The only gotcha that comes to minds
is that you should make sure you have a ~/.vimrc file (_vimrc on Windows) so
you'll get the Vimmy goodness, rather than backward-compatible "vi mode."

and I'm noticing some errors popping up when I start VIM.

Could you be more specific?

I want the cool stuff give me the good stuff.

:slight_smile:

Check out comp.os.editors. See also the book list on vim.org, and the Vim
Tips Wiki:

   http://www.vim.org/docs.php
   Vim Tips Wiki | Fandom

There are free books and cheat sheets online to help you get started. There
are also more advanced books.

1. Get really good at editing text.
2. Learn how to represent basically everything as text.
3. Profit!

so far I've been unsuccesfull, do you know the steps I need to take to
open my rails project?

It seems there is a rather new google group dedicated to to vim + rails:
http://groups.google.com/group/vim-on-rails

···

--
Leo

The end is here -->

I just happen to have answered someone's questions about Vim (among other
things) in an email yesterday, and I decided to make the advice I offered
available on the Web:

  http://sob.apotheon.org/?p=981

At the end of it is a book recommendation, if that's all you're
interested in -- but I think the whole thing is worth reading for someone
new to Vim.

···

On Thu, Feb 26, 2009 at 01:58:26PM +0900, Zayd Connor wrote:

Thanks Bertram, I really can't wait to catch up in ruby\VIM, at least
get the basic commands down. Are there any good books for VIM out there?

--
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Jan L. A. van de Snepscheut: "In theory, there is no difference
between theory and practice. But in practice, there is."

Thanks Leo =)

···

On Thu, Feb 26, 2009 at 12:40 AM, Leo <minilith@gmail.com> wrote:

> so far I've been unsuccesfull, do you know the steps I need to take to
> open my rails project?

It seems there is a rather new google group dedicated to to vim + rails:
http://groups.google.com/group/vim-on-rails

--
Leo

The end is here -->