You are not logged in.
Not wanting to start a flame war here, but does anyone have a recommendation for a text editor similar to TextMate on OS X? I'll be doing primarily Ruby on Rails programming..
Offline
as Bram Moolenaar says, you either stick with what you know or learn vim and given that you can't stay with what you have... vim of course..
that said scite is fine also
Offline
Yeah, I know vim fairly well.. I'm no expert but I have been messing around in it since the late 90's.. you really *have* to know vi or vim just to get the basics done. No regrets getting to that.
But programming in vim.. I do that too actually, but I'd prefer something that let me keep multiple files open at the same time like textmate does. Auto completing with bundles would be great too (tip hat to emacs). Though I'm really hoping this thread doesn't degenerate into emacs vs vi.. please no..
Has anyone tried scribes?
Offline
You can do multiple files in Vim, you just need to use gvim (and start a separate instance for each file). It's my editor of choice also.
If you like KDE you might want to try Kate.
XEmacs is incredibly powerful also, I much prefer it to GNU Emacs.
Really, there's not too much reason to go outside of the vi/emacs world, though. You'll always have a well-supported devel environment that way.
Last edited by ataraxia (2007-05-30 02:41:37)
Offline
I like geany, never used a mac, geany is most like EditPadPro which is what i used on windows.
Offline
geany++
I am a gated community.
Offline
Without going too far into the realm you didn't want to go into - both vim and emacs can do what you want, but the feature just isn't as "in your face" as other editors... it takes some figuring out how to use the features (i.e. try ":tabe foo" in vim)
Offline
I mostly use Vim, and i love it, but i must admit geany is very good. : -)
Offline
Ok, multiple file suport in vim was it?
:split <filename>
:vsplit <filename>
:tabnew <filename>
ctrl+w+direction(hjkl) to switch betwen splited windows(in "normal" mode)
:tabn and :tabp to switch betwen tabs
you can also add this to your .vimrc file to map tabn and tabp to ctrl+n and ctrl+p:
nnoremap <silent> <C-n> :tabnext<CR>
nnoremap <silent> <C-p> :tabprevious<CR>
edit: Phraktures sugestion on using g-t and g-T for next/previos tab is better than
the solution I gave (since it dosen't nead fiddling in the conf file and is more convinient
in placement...
Last edited by Jansson (2007-06-12 23:30:38)
Offline
I use Vim for Java, PHP, XHTML, Javascript, XSL, XML, and so far it's met every need I've had, admirably. If you, as phrakture suggested, spend some time configuring the editor and finding facilitative scripts/tips on www.vim.org, then everything you want can be achieved. There are a couple of great ROR plugins too, so you should check them out.
- Dave
Offline
I always just used screen to have multiple open files.
vi is what I grew up with, but I typically use nano now. Simple, to the point, and no mucking about with insert mode.
Emacs is ok, but a lot of times it's like going duck hunting with a grenade launcher.
Offline
Emacs is my chose. Sure - vim is fine for editing conf files and similar stuff, but when it comes down to development I use Emacs 100%. Truly an amazing product - much more than an editor...
Offline
Is there a way in either vi, emacs, geany, etc to see all the files in my folder regardless of whether they are open or not? In Textmate, I just drag my entire project folder to the left hand bar and then I can open and close files just by clicking on them there or by hitting command-T and starting to type the filename. It makes moving around and opening/closing files very very fast.
Offline
This sort of filemanager-like behavior is present to an extent in Kate, but I don't know anything else that does it. I'd just use a separate filemanager myself.
Offline
Well, both Emacs and Vim can open a folder in a buffer, and you can open files from there. Emacs also has the speedbar (M-x speedbar), which is probably more what you're after.
Offline
Also, written by members of our own community:
Magnum: http://home.gna.org/magnum/
Pallavi: http://pallavi.sourceforge.net/
Offline
I like geany, never used a mac, geany is most like EditPadPro which is what i used on windows.
I really like Geany as well. It is my primary IDE, has some really nice features of an IDE but without the bloat. I would highly recommend it.
Offline
not just a texteditor, but Netbeans 6 has what seems to be great Ruby/RoR support.
I say "seems" cause I have only read about it and watched the screencasts, and not actually tried it myself, but from watching the screencasts I must say I am pretty impressed.
Offline
On *nix I use medit. On windows I use PSPad. If I need to use an IDE, I go to Code::Blocks.
Last edited by deficite (2007-06-06 07:11:09)
Offline
For general editing of configuration files e.g. /etc/rc.conf, you can't beat nano for simplicity and ease of use.
Otherwise, I prefer KDE Kate or Geany for their GUI and highlighting features.
Gedit is good also.
I've never got my head around vi or Emacs, the commands seem so arcane to me, to do just simple things.
Offline
Without going too far into the realm you didn't want to go into - both vim and emacs can do what you want, but the feature just isn't as "in your face" as other editors... it takes some figuring out how to use the features (i.e. try ":tabe foo" in vim)
Next goal: finding out how to get back to the previous tab... After some googling I found tabn and tabp, but I was kind of lost for a moment.
Thanks for the nice commands though;)
Offline
phrakture wrote:Without going too far into the realm you didn't want to go into - both vim and emacs can do what you want, but the feature just isn't as "in your face" as other editors... it takes some figuring out how to use the features (i.e. try ":tabe foo" in vim)
Next goal: finding out how to get back to the previous tab... After some googling I found tabn and tabp, but I was kind of lost for a moment.
Thanks for the nice commands though;)
Try 'gt' and 'gT' in normal mode
Offline
If you don't mind Java, jEdit is really a great editor. It has a lot of the features that make programs like Emacs great but with a more modern GUI. It has plugins that add things like a full Ruby IDE and Emacs-style buffer switching. I'm pretty sure there's a snippets plugin too, but I haven't used it in a while.
My editor of choice is Emacs at the moment, but mainly because of the recent release of version 22. I'll probably get tired of it again and go back to Vim.
Offline
I use vi for editing system files and such, Eclipse for Java and C++ development. For me, once I learned the in's and out's of a good IDE, it was hard to go back to text editors for programming. But I'm glad I was essentially forced to use vi when I first started programming, it is a very powerful text editor.
For the strength of the pack is the wolf, and the strength of the wolf is the pack.
Offline
Another vote for vim, although emacs is very good is as well. I use it so much that I'm beginning to subconsciously use it in place of less and more for simple file viewing...
Keep in mind that what ever you choose, a getting very familiar with a text based editor is best. The gui is not always going to be there for you. Especially if you ever become a systems admin or even a programmer where ssh'ing is your primary interface to other machines.
Offline