You are not logged in.

#1 2007-05-30 02:10:43

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

which text editor?

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

#2 2007-05-30 02:23:03

hacosta
Member
From: Mexico
Registered: 2006-10-22
Posts: 423

Re: which text editor?

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

#3 2007-05-30 02:29:48

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Re: which text editor?

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.. roll

Has anyone tried scribes?

Offline

#4 2007-05-30 02:40:29

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: which text editor?

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

#5 2007-05-30 03:13:28

Ruckus
Member
Registered: 2007-02-17
Posts: 204

Re: which text editor?

I like geany, never used a mac, geany is most like EditPadPro which is what i used on windows.

Offline

#6 2007-05-30 03:45:33

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: which text editor?

geany++


I am a gated community.

Offline

#7 2007-05-30 04:06:56

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: which text editor?

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

#8 2007-05-30 08:40:17

archville
Member
From: Spain
Registered: 2007-05-26
Posts: 9
Website

Re: which text editor?

I mostly use Vim, and i love it, but i must admit geany is very good. : -)

Offline

#9 2007-05-30 10:16:41

Jansson
Member
From: Sweden
Registered: 2006-09-10
Posts: 106

Re: which text editor?

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

#10 2007-05-30 10:46:37

KomodoDave
Member
From: Oxford, UK
Registered: 2007-04-22
Posts: 162
Website

Re: which text editor?

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

#11 2007-05-30 23:09:59

KerowynM
Member
Registered: 2006-06-04
Posts: 78

Re: which text editor?

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

#12 2007-06-04 20:54:10

Lord_Bad
Member
Registered: 2005-04-17
Posts: 54

Re: which text editor?

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

#13 2007-06-04 21:05:28

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Re: which text editor?

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

#14 2007-06-04 21:47:33

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: which text editor?

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

#15 2007-06-05 00:49:41

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: which text editor?

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

#16 2007-06-05 01:49:56

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: which text editor?

Also, written by members of our own community:

Magnum: http://home.gna.org/magnum/
Pallavi: http://pallavi.sourceforge.net/

Offline

#17 2007-06-05 16:04:15

maddog39
Member
From: Philadelphia, PA
Registered: 2007-06-03
Posts: 73
Website

Re: which text editor?

Ruckus wrote:

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

#18 2007-06-05 22:44:03

soniX
Member
From: Oslo, Norway
Registered: 2004-01-23
Posts: 161

Re: which text editor?

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

#19 2007-06-06 07:10:17

deficite
Member
From: Augusta, GA
Registered: 2005-06-02
Posts: 693

Re: which text editor?

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

#20 2007-06-12 15:01:52

JAwuku
Member
Registered: 2007-05-07
Posts: 24

Re: which text editor?

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

#21 2007-06-12 15:27:38

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: which text editor?

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;)

Offline

#22 2007-06-12 15:45:49

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: which text editor?

Ramses de Norre wrote:
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

#23 2007-06-12 17:38:54

skymt
Member
Registered: 2006-11-27
Posts: 443

Re: which text editor?

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

#24 2007-06-13 00:05:00

Thrillhouse
Member
From: Arlington, VA, USA
Registered: 2007-05-29
Posts: 175

Re: which text editor?

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

#25 2007-06-13 01:50:44

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: which text editor?

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

Board footer

Powered by FluxBB