Archived

This topic is now archived and is closed to further replies.

Strife

console editors

Recommended Posts

Okay, I''ve been looking for a while to find a good console editor (not vim or emacs or anything ) that has support for various features, like syntax highlighting (just to make things look pretty) as well as other usefull features for us programmers. So, what all exists? So far, the only decent one I''ve tried is Jed, and I already have it on my system. What else is out there?

Share this post


Link to post
Share on other sites
What don''t you like about vim/emacs? There are plenty of editor out there, all of which have their fans, but it''s hard to tell which you''d like without any information about why you don''t like others.


Don''t listen to me. I''ve had too much coffee.

Share this post


Link to post
Share on other sites
Well, like I said, I want something that overtly supports syntax highlighting (I don''t want to have to jump through hoops to get it on).

What I DON''T want are overly-complicated keyboard shortcuts. Yes, shortcuts are good, but why should I have to type C-X C-h C-j C-p C-n to save a file? Okay, I made that one up. But you get the point, I hope.

Share this post


Link to post
Share on other sites
I doubt you can find an editor these days that DOESN''T do syntax highlighting quickly and easily. I know vim does, I''m pretty sure emacs does.

The thing about "complex" keyboard shortcuts is that all they are is a learning curve. Once you have them down, you will be more efficient, no matter what editor you''re using.

As a compromise, tho, I suggest gvim or xemacs, the graphical versions of the two editors. Each will "hold your hand" with menus whenever you don''t know the command you want, and you can pick up the more efficient ways of doing things at your own pace.


Don''t listen to me. I''ve had too much coffee.

Share this post


Link to post
Share on other sites
I think there used to be a GNU/Linux port of RHIDE, I doubt it was any good though, since I had serious issues when trying to get it to run on FreeBSD with Linux emulation.. (telltale sign of bad software)

/Mikael

Share this post


Link to post
Share on other sites
Blah, I just decided to actually leearn how to use vim. Oh my god, I actually like it now... How odd...

If only I could figure out how to actually get the mouse working so I can click to place the cursor...

Share this post


Link to post
Share on other sites
I don''t use vi/vim for coding...
doesn''t code easy & can''t concentrate when I''ve to write ":write,:insert" all the time...

I use nedit a lot (I work in x all the time, some consoles,a browser )

I think you''re looking for "jed" (supports highlighting), "nano" (doesn''t support highlighting)...
Some time ago I saw something like "ms edit" on sourceforge.net
(same interface)

Anyway, search the data

Best,
Frank

Share this post


Link to post
Share on other sites
I do like nedit, except for two things: First, it''s not a console program, which means if I want to ssh to my machine, I can''t use it. Second, for some odd reason, when I have more than one window open, I can only actually do anything in the first window that was opened. In other words, the keyboard doesn''t work for the other windows. Why that is, I have no idea.

Share this post


Link to post
Share on other sites
I also have the problem with nedit. The only workaround I''ve found is to open up a new version of nedit every time you want to load another file. It''s annoying but not as annoying as having the keyboard stop working in other windows

Share this post


Link to post
Share on other sites
quote:
Original post by frankie
"nano" (doesn''t support highlighting)...



nano does support syntax highlighting,autoindent,multi-buffered editing,and other useful stuff,you have to enable this features when you compile it.

Share this post


Link to post
Share on other sites
quote:
If only I could figure out how to actually get the mouse working so I can click to place the cursor..If only I could figure out how to actually get the mouse working so I can click to place the cursor..


Try this command:
":set mouse=a"

Share this post


Link to post
Share on other sites
quote:
Original post by frankie
I don''t use vi/vim for coding...
doesn''t code easy & can''t concentrate when I''ve to write ":write,:insert" all the time...



Holy crap! I didn''t know you were even allowed to use the long form!

Word for the wise.. ":w" and "i" do the same thing. Ya see? if you invest in a bit of time to learn the tools, you dramatically improve efficiency.


Don''t listen to me. I''ve had too much coffee.

Share this post


Link to post
Share on other sites
I never could get the set mouse=a thing to work. Don''t know why though. Whether I''m doing it on Eterm or another console, or simple in one of my tty''s, it doesn''t seem to work (and yes, GPM is enabled in the tty).

Share this post


Link to post
Share on other sites
Speaking of RHIDE, try xwpe.
http://www.identicalsoftware.com/xwpe/
It has the wonderful text mode Borland interface (apparently, I've never used it though), and it is for unix I believe. It could or maybe already has been ported to linux.


[edited by - matt_j on January 2, 2003 12:58:22 AM]

Share this post


Link to post
Share on other sites
I don''t want to sound like a zealot but I thought I''d point out the strengths of ViM. The power of ViM comes from not having to use the mouse at all to navigate. In fact, if you can learn to use "w, b, h, j, k, l, etc." you''ll never even have to use the arrow keys. This can really speed up your coding as well as hand straing from reaching for keys.

Vim''s command mode allows you to jump around the text on your screen easily by skipping words and lines as well as jumping to beginnings and ends of lines. There are great navigation keys for everything that aren''t outside of the main key panel.

Visual mode is good for selecting bits of text to yank, copy, and cut as well. Type "v" to get into visual mode from command mode and then use the navigation keys to select the text you want. Once the desired text is highlighted you can hit "y" to make a copy or you can hit "d" to delete the highlighted text.

RandomTask

Share this post


Link to post
Share on other sites
Yeah, but there are times when if you could just use the mouse, things could be made easier. For example, if you want to move the cursor to the middle of a line that you''re not currently on, clicking the mouse once sure as hell beats hitting a bunch of keys to get there. Of course, until I can figure out how to get the mouse working, this is irrelevant

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
quote:
Original post by frankie
hmmm I found something like ms visual c++...
It''s called anjuta (http://anjuta.sf.net)


One reason I don''t like Anjuta too much is that you can''t create an empy project. IMO it would be excellent if it did. It''s annoying to create a console project and have a million files created for you. :/

Share this post


Link to post
Share on other sites
quote:
Original post by CmndrM
which means if I want to ssh to my machine, I can''t use it.


dude, use the -X switch on ssh and it will let you run X programs on the remote system (or your own if thats what you connected to) and display them on yours.

Share this post


Link to post
Share on other sites