LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-09-2008, 03:45 PM   #1
zensunni
Member
 
Registered: Feb 2008
Posts: 45

Rep: Reputation: 0
Is gedit the best for text editing?


I've just been using gedit and it seems fine for what I'm doing, but I'm just curious if there's something better out there.
 
Old 03-09-2008, 03:50 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Depends what you need. Kate, Vi/Vim/emacs all do different things - such as text highlighting or they're able to be set up for PHP or HTML. If you are happy with gedit stick with it, as long as does what you need and you're comfortable with it it's the "best" - for you.

All we can do is give opinions based on what we use and what we use it for.
 
Old 03-09-2008, 03:57 PM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
I like Scribes ... Another Gnome-based text editor, for GUI type work.

Nothing replaces Vim, for me, in the terminal, though.

Last edited by rickh; 03-09-2008 at 03:58 PM.
 
Old 03-09-2008, 04:52 PM   #4
angrybanana
Member
 
Registered: Oct 2003
Distribution: Archlinux
Posts: 147

Rep: Reputation: 21
Yea it all depends on what you're doing. I personally use vim for almost everything. It has a learning curve, but if you use the terminal a lot you'll appreciate it. vim + screen is my combo for writing code.
 
Old 03-09-2008, 05:18 PM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You want to learn the very basics of vim. If you boot into rescue mode, gedit might not be available. Also, you want to use visudo to modify /etc/sodoers. To edit /etc/passwd you need to use "vipw" to add similar error checking.

You probably heard of the emacs guy bragging to a vim user about all the features that emacs had, like lisp, email, games, browsing, etc. The vim fan surprised him by agreeing the emacs was a great OS, but then added "the only thing it is missing is a good editor".

Last edited by jschiwal; 03-09-2008 at 05:21 PM.
 
Old 03-09-2008, 05:24 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by jschiwal View Post
You want to learn the very basics of vim.
No--I don't....
But you might be right that it would be a good idea...

Personally, I like nano, but it's not always installed by default. Eventually, I'll break down and use a real man's editor.
 
Old 03-09-2008, 05:49 PM   #7
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 735

Rep: Reputation: 76
Hi.
Quote:
Originally Posted by zensunni View Post
... if there's something better out there.
By now you've probably gotten the gist of what we're saying -- we don't know if there is anything better out there for you -- but there sure is a lot out there in addition to gedit, see http://en.wikipedia.org/wiki/Comparison_of_text_editors for a comparison of a lot of different editors.

If you are serious about looking at other editors, make a list of the features you think are important to you. Then go through the Wikipedia list and try some of the editors that fit. Most Linux distributions offer many of the editors. I recall one person who thought rectangular selection was critical -- he found a few that had that feature.

I read a recent article that claimed that carpel tunnel syndrome has decreased markedly in the last 5 years, so don't worry about a common claim that emacs causes one to use the keyboard too much (common -> one instance in my experience) ... cheers, makyo

Last edited by makyo; 03-10-2008 at 08:38 AM. Reason: Edit 1: typo
 
Old 03-09-2008, 10:25 PM   #8
sparker
Member
 
Registered: Aug 2007
Location: Canada
Distribution: OpenBSD 4.6, Debian Lenny
Posts: 64

Rep: Reputation: 16
All text editors have some features that set them apart. But, from what I see certain editors are more useful in certain situations. Like already stated when using visudo you are required to use vi, therefore you should know how to use it.

Otherwise for development purposes, vi is good but I find it harder to use on larger scale projects. I recently started using Kate and I find it to be one of the simplest and most powerful editors.

And when it comes down to it, in the end its always your preference and thats the beauty of GNU/Linux, choice.
 
Old 03-09-2008, 10:42 PM   #9
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Personally I like kate and I use it whenever I can.

Unfortunately, I do a lot of work via ssh on remote machines, and for that it is vi all the way.

Now, I've been programming computers since before there were interactive terminals to do that with, and unlike many of the other old-time programmers here, I don't like vi. I didn't like the old line editor I had to use when I programmed PDP-11 computers under RT-11, I didn't like the editor I had to use with CP/M, and I don't like vi.

All that said, I can use it easily enough because when you have only a basic terminal session going that is pretty much the only editor you can use. Also, of course, it is the only editor you can be sure will be available on any *nix box you connect with.

So learning vi is a good plan, anyway. But using a graphical editor, which is smart enough to change colors depending on what the statement is, and to keep track of open/close braces, and keep track of quotation marks, makes life - particularly debugging - a whole lot simpler.
 
Old 03-10-2008, 04:12 PM   #10
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 43
Erm...

http://www.linuxquestions.org/questi...e-ides-469623/

Always read the stickies first.
 
  


Reply

Tags
editor, editors


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gedit has no Text encryption Plugin yeehi General 0 11-09-2007 09:45 AM
text editing linuxsavy Linux - General 1 02-12-2007 10:55 PM
Nautilus and Gedit fail to open text files zarkon Linux - Software 3 04-06-2005 10:00 AM
Text selection problem with Gedit liaohaohui Linux - Software 0 11-18-2004 04:18 AM
text editing machinemen Linux - Newbie 2 06-18-2004 04:38 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration