Re: Pimp your editor

Draconid wrote:

By choice I use vim. But since I'm mostly working on Windows (grrrr) then I just use SciTE.

What's wrong with Vim on Windows? I use Vim on Windows and LOVE it. Just today I realized I don't have to run an external tail program, because I can do it in Vim. I was so excited. Vim is constant joy, because periodically (because you can't learn it all in one sitting) you'll discover something really fantastic. I live for those days. Hahah

Re: Pimp your editor

hear hear... all wrapped up in a gentoo vmware install - i can't deal with the windows shell, but i can't live without my design tools and i dont have a mac - and dual booting is a pain in the posterior; no window manager means it's slick slick slick

Re: Pimp your editor

and the vividchalk color theme, which I think is supposed to be just like TextMate.

dbext lets you access MySQL from within gVim. You can execute SQL commands and it logs in using info from your database.yml file.

The plugins also add to gVim: A directory tree, tabs, very powerful search tools (for example, putting the cursor on a method name and typing ":Rview" opens up that action's view file. There are also commands for Rake (:Rake defaults to migration if you call it within a migration file, for example) and wrappers for general commands (like ":Rgenerate model user").

The best thing about this setup are the smart features that let you hop between files. It's specifically for rails so there are lots of templates and files are automatically created. For example, when you generate a model, a migration with this template is created along with it:

Re: Pimp your editor

Relax wrote:

The plugins also add to gVim: A directory tree, tabs, very powerful search tools (for example, putting the cursor on a method name and typing ":Rview" opens up that action's view file. There are also commands for Rake (:Rake defaults to migration if you call it within a migration file, for example) and wrappers for general commands (like ":Rgenerate model user").

Actually you may type just :R or :RS (for split) to open view file. And :A gives you test file.With good config, vim is best .

Re: Pimp your editor

I'm surprised that nobody's mentioned NetBeans which seems to be going head-to-head with Eclipse. You can get the full version, or just the Ruby-specific bit which is a smaller download. It is a full-on IDE, code completion and all the usual IDE goodies, with a pretty good debugger.

Re: Pimp your editor

I have to say I've tried both Notepadd++ and Intype and I do much prefer intype when working on a pc however because I use Mac OS X in work I am far more used to using TextMate I love the dockable file browser which displays all the directories for the app you are working on down the side, and think that intype would be perect if it only had this too.

Re: Pimp your editor

Great editor, that has been around for a long time. I really can't find a feature that another editor provides that can't be done in ViM either naively or with an extension in a matter of a few minutes. There is a small learning curve, for me it went pretty quickly just learning what I needed to get the job done, and picking up more as time went on. I have a pretty extensive config I have tweaked over the years with a lot of scripts from vim.sf.net. To name a few related to my rails development here is a list with urls.

Kinda long I know, really does a nice job of turning vim into textmate in many ways. Although that was not what I sent out to do. If anyone want's my configs just give a shout, would be happy to share.

Oh and most importantly. The real reason I stick with ViM is simply the way I like to work. I hate using my mouse. I try to avoid it until I fire up a FPS. ViM really allows me to do this if I choose to.

Re: Pimp your editor

gregf,There's no reason to apologize. That was a very informative post. I'm starting to realize now that I, too, hate using the mouse. I am really enjoying the overall ease of the command line, even if you do have to remember text based commands as opposed to visual based gui's. I am glad that ruby makes it easy for me to extend the command line!

Features include:* Ruby syntax highlighting* Code folding* Object browser* File browser* Code snippets (though very primitive compared to TextMate)* Code completion* Autocomplete HTML / XML tags (It does not auto-close quotes, brackets, etc, which is upsetting)* Plugins* Find in files* Git / Svn commits* Built-in terminal window* "Scribble" window that allows you to paste stuff that you want to access later without creating a new "junk" file.* Right click on a method call and jump directly to the definition. (By default, it will only work if the definition is in an open file. But, if you install the "Geany Project" plugin, it will jump you to any file in the project with that definition.)