Slashdot Mirror


Comparison: Linux Text Editors

jrepin writes: Mayank Sharma of Linux Voices tests and compares five text editors for Linux, none of which are named Emacs or Vim. The contenders are Gedit, Kate, Sublime Text, UltraEdit, and jEdit. Why use a fancy text editor? Sharma says, "They can highlight syntax and auto-indent code just as effortlessly as they can spellcheck documents. You can use them to record macros and manage code snippets just as easily as you can copy/paste plain text. Some simple text editors even exceed their design goals thanks to plugins that infuse them with capabilities to rival text-centric apps from other genres. They can take on the duties of a source code editor and even an Integrated Development Environment."

72 of 402 comments (clear)

  1. You're welcome to them. by jeffb+(2.718) · · Score: 5, Insightful

    It may not have been wise for me to spend years training vi into my muscle memory, but it's done now, and I'm not especially interested in giving up that advantage.

    1. Re: You're welcome to them. by Anonymous Coward · · Score: 5, Informative

      Have you used Vim lately? With its multitude of plugins, it's hard to make the point that it's an editor from the Stone Age. I sometimes switch to editors like Sublime and always find myself coming back to Vim. It's extremely powerful, allows me to do complicated edits and movements, and it has all the features I'd expect in any GUI editor.

      Stop being a prick. Not everyone uses vi/vim because it's "cool". Many of us use it because it's simply more productive to do so.

    2. Re:You're welcome to them. by ccanucs · · Score: 2

      It's a matter of functionality, speed of use and the commonality of embedded operations that work the same as in other UN*X tools. Incredibly powerful. Would pay to have vi on systems that don't have it.

    3. Re: You're welcome to them. by Anonymous Coward · · Score: 5, Interesting

      Except that Vim is not a pig. I started using it 3 years ago, not because it's cool, but because many programmers recommended it to me.
      I've been a programmer for more than 20 years, and during the past years using Vim I regretted many times that I hadn't take the time to make the switch sooner.
      All other editors I tried (but I never tried Emacs) helped me a lot at the beginning, but eventually I would hit a top and stop improving. With Vim I feel like there is no limit to the productivity gains I can achieve. It's user interface is a language and I speak it more fluently every day, and I can extend it with customization.

    4. Re: You're welcome to them. by Em+Adespoton · · Score: 5, Interesting

      I use Sublime with vim bindings turned on. It has features I use every day that vi/vim doesn't have, and doesn't get in the way of my vim muscle memory. It also doesn't get in the way of my ed muscle memory, nor my Mac muscle memory. In fact, pretty much whatever legacy text editor my muscle memory thinks I'm using, Sublime will interpret the commands correctly and let me get the job done.

      I've used all the listed editors, and eventually settled on the vim/Sublime combo, as they accomplish everything the others do, and then some.

      And to think that 20 years ago, I was a diehard emacs user. I liked my macros, but Sublime can do all that too; it just prefers python over LISP.

    5. Re:You're welcome to them. by Anonymous Coward · · Score: 2, Insightful

      My preference is to use Notepad++ on Windows for everything, even when I have Visual studio, because it loads fast. If I'm going to compile things locally then I use Visual Studio.

      On *nix OS's I use Midnight Commander editor (mcedit) if it's available, nano or pico if it's not, and only resort to vi when the system is obnoxious about using it (like editing crontab or passwd files, which BTW I do with MC anyway despite the archaic warnings.) MC has syntax highlighting and all the minimal BS I want to put up with that the plain text editors don't have.

      Nobody needs to use VIM or Emac's anymore unless that's what they are comfortable using.

      The article is about GUI text editors. See here's the thing, you can open the text editor in a command line prompt or ssh shell, anywhere, but using a GUI text editor is much more involved (a separate FTP or SFTP/SCP step is required to put the file where you want it.)

    6. Re: You're welcome to them. by EricScottChandler · · Score: 2

      I've been a faithful vi user for 15 years. I couldn't imagine using anything else at this point. Heck, I named my firstborn Vi. Ok, no I didn't.

    7. Re: You're welcome to them. by CaptnZilog · · Score: 2

      I would have gone for "ed" maybe. ;)

    8. Re:You're welcome to them. by Volguus+Zildrohar · · Score: 2

      There are many times where you repeat code and DRY does not apply. Common patterns that apply to different projects, but are mostly just grunt-work typing.

      snipMate for Vim adds a nice version of code snippets. For example, I type "#!" in python scripts to add "#!/usr/bin/env python". It's a small single saving, but things like that add up over numerous scripts, and help avoid typos.

      --
      When confronted with one problem, some think "I'll use recursion". Now they are confronted with one problem.
    9. Re: You're welcome to them. by MacTO · · Score: 3, Insightful

      Another often overlooked advantage of vim is continuity. Thos of us who learned vi because it was one of the best editors at the time can still use those skills. When the need arises, we can also build upon those skills with a modern implementation. In all likelihood I'll be able to make the same claim 20 years from now, when most (if not all) of these upstarts will be long forgotten.

      New and improved is great. Constantly relearning skills that you already have, to adapt to new interfaces, isn't so hot.

    10. Re: You're welcome to them. by dcollins117 · · Score: 4, Funny

      Or Kate, if it's a girl. And Emacs if you're not quite sure what the hell it is.

    11. Re: You're welcome to them. by Anonymous Coward · · Score: 2, Insightful

      Sounds like you need a better compiler.

    12. Re:You're welcome to them. by AxeTheMax · · Score: 2

      So what systems are these that Kate has crashed on? It has never given me any problems whatsoever on several Linux (KDE) systems.

    13. Re: You're welcome to them. by davester666 · · Score: 2

      run. run away when you see little Emacs coming.

      --
      Sleep your way to a whiter smile...date a dentist!
    14. Re: You're welcome to them. by ThePhilips · · Score: 3, Informative

      The problem with Vim (and Emacs) is that they do not support anything modern, not even ctrl-z/x/c/v.

      VIM has the "VIM Easy" mode, which when used on MSWindows would do Ctrl-Z/X/C/V out of box. And even select text when holding Shift and moving around with cursor keys.

      Shortcut to VIM Easy is preinstalled. If you complain about it, then you probably never really used the VIM. Or are you complaining about the *NIX "vi"?

      For programming Eclipse or NetBeans or Visual Studio is just miles away what of vi/emacs can do, especially out of the box.

      The problem for the professionals is not what the IDE can do out of box, but what can it be made to do. Eclipse or NetBeans or Visual Studio - all suck horribly at everything for what there is no button premade. And when there is a button for everything - they suck at finding this right button.

      But I'm not planning to contest the point that VIM is not IDE. No, it is not "VIM is bad IDE" - it is "VIM is not IDE". (This is different for Emacs, though: it is an IDE and then some more. One needs to learn it. And lack of good in-depth tutorials is actually what turned me off from the Emacs.)

      The thing about VIM is that it integrates nicely with the system, instead of reinventing it. And it also provides great automation facilities with macros, mappings or scripts. They are fairly simple and can be learned in 1-2 weeks, which is a small price to pay for the ability to control 100% of your text editor. That is the capability no other editor offers.

      To get vi/emacs to work nearly as good as good IDE is just too big a job.

      (Please do not say "vi" when you really mean "VIM".)

      In the project Neovim the work going on to make the Lua the built-in scripting language and improve VIM's plug-in framework. All that to specifically allow to create IDE based the VIM. (Though in my opinion, the direction of the Neovim effort is misguided. They should have went in direction of allowing VIM to be easily embeddable into other applications.)

      So in the future, there might be an IDE based on VIM. But not right now.

      For example NetBeans ctrl-b (go to declaration). Sure, you can install ctags, configure it, run it, tinker with it, tinker some more, add custom rules, search net, rinse-and-repeat and eventually you'll get something resembling ctrl-b, but not quite the same.

      This is probably the most unjustified complain you throw. The tags support in VIM is very good - if you bothered to RTFM. Literally every book and tutorial describe these highly sophisticated and inexplicable 3 steps involved: install the exuberant ctags, put into the .vimrc the line ":set tags=tags;/", and finally run "ctags -R ." in the root of the project.

      If you use plugins like YouCompleteMe, they would do it for you automagically.

      In the end, if you can't bother to read the VIM's help (which is by far the best help for a text editor there is out there) then VIM is definitely not for you.

      --
      All hope abandon ye who enter here.
    15. Re: You're welcome to them. by serviscope_minor · · Score: 2

      The problem with Vim (and Emacs) is that they do not support anything modern, not even ctrl-z/x/c/v.

      Yeah we al know vi has esoteric keybindings. You're raising this like it's some fundemental point.

      For programming Eclipse or NetBeans or Visual Studio is just miles away what of vi/emacs can do, especially out of the box.

      No it can't. vim is so much more than a Java, C++ or C# editor. None of those "miles away" editors provide syntax highlighting for shell, awk, python, etc

      To get vi/emacs to work nearly as good as good IDE is just too big a job.

      No, I disagree, again. Or at least if you're trying to turn vim into an IDE then you're doing it wrong and misunderstanding the tools. Unix is the integrated development environment, and it provides lots of sub-tools (compilers, editors, build systems and so on) to cover all the aspects of development.

      in NB this will understand the variable and give completitions according to that. It will give hints to the parameters too. In every language there is

      This is spoken like someone so wrapped up in visual studio that you haven't seen the outside world. Firstly, it doesn't work unless you've already declared the variable (duh). Small point, but it forces you to write the code top-to-bottom so that the variable has been defined before you use it. When you're used to a rather more freeform development style, the visual studio top-to-bottom style is rather awkward and limiting. Not to say that intellisense does not work very well and isn't very handy, but it's not the be-all and end-all and often produces worse results than simple text completion.

      Also, every language there is? Tell me, how well does it handle an awk script embedded inside a atring inside a shell script?

      I do not want to waste my time to get mundane things like that to work properly.

      I'm mainly a programmer, but I've been slowly wandering in the direction of toolmaking (as in real physical thinga). I've always been an engineer. The idea of using only the tools you have in the form they come out of the box come hell or high water and never going to additional lengths to increase the toolbox and automate processes and just plain make things easier is a completely foreign idea to me. If you want to see a funny facial expression, go up to a woodworker and say something along the lines of: I don't want to take the time to make a jig, I just want to get things done.

      --
      SJW n. One who posts facts.
    16. Re: You're welcome to them. by socode · · Score: 2

      I don't use it exclusively, but these features are what swung me. 1) mini map - a godsend when understanding quickly the structure of large files, particularly those you are lumbered with 2) slick multi-select and edit 3) fast search all files and interactive step though 4) same L&F on Mac, Windows, Linux since I need to use all three.

    17. Re: You're welcome to them. by TheRaven64 · · Score: 4, Insightful

      Code duplication is not free either. Even if execution time is the only thing that you care about, on anything that's vaguely like a modern CPU (GPUs and microcontrollers are somewhat different), instruction cache space is the most scarce resource, with data cache the second. A function call will likely be branch predicted and in an out of order system the prolog and epilog are mostly handled by the register renaming infrastructure, so the function call is almost free, but the cost of an instruction cache miss from having too many copies of the same code is quite measurable.

      --
      I am TheRaven on Soylent News
    18. Re: You're welcome to them. by s122604 · · Score: 2

      Yep, pretty much this..
      If you aren't using a modern IDE like eclipse for Java, or VIsual Studio for .net languages, you're doing it wrong
      It's like pulling an automobile with a rope tied to your balls, impressive, but there are better ways to get the job done.

      Where editors like vi and Emacs, in the hands of an expert, still shine is configuration file maintenance, and really file maintenance on any text that isn't compilable source code.
      I really wish I knew them better than I do, just for that reason. I can use them, but just at a basic level.

    19. Re: You're welcome to them. by david_thornley · · Score: 2

      8-10 years ago, I was working on an application that was annoyingly slow, and a profiler showed that 80% of the time was spent in one particular function that was long and repetitive. I rolled up the calculations as tightly as I could, using as little duplicate code as I could, and sped the app up markedly. I roughly halved the amount of time that function took.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
  2. Pfft by relisher · · Score: 5, Insightful

    You can do all of this in Emacs and Nano. No need for some shiny new text editor...

    1. Re:Pfft by Stele · · Score: 4, Funny

      Okay okay I'll get off your lawn!

    2. Re:Pfft by techno-vampire · · Score: 2, Insightful

      I've been using nano, or as I like to call it, "Mork's editor," for a number of years when I've needed (or wanted) to do text editing in a CLI environment under Linux and I've never had a bit of trouble with it, even with line endings. You just have to remember that in some places, such as /etc/fstab, you need to make sure there's a /n at the end of every line, including the last one. Of course, my bashrc includes alias nano='nano -w -m' which may well explain why I've had such good luck with it.

      --
      Good, inexpensive web hosting
    3. Re:Pfft by TheGoodNamesWereGone · · Score: 4, Interesting

      Nano has gotten me out of a jam more times than I can count when I couldn't get X working. It's simple, easy to use, and works great.

    4. Re:Pfft by Darinbob · · Score: 5, Insightful

      Ya, I'm surprised by the summary. Apparently the author has not actually used emacs or vim, and instead listed the BARE MINIMUM set of features that any editor should support. Maybe the author came with a pre-existing bias against emacs and vi as "tools for old farts" and assumed any new tools must automatically be better.

  3. What's there to compare? by qw(name) · · Score: 4, Funny

    none of which are named Emacs or Vim

    What's there to compare? Everything else is just Notepad.

    1. Re: What's there to compare? by LocutusOfBorg1 · · Score: 5, Funny

      Exactly! --- sent from emacs

    2. Re: What's there to compare? by LocutusOfBorg1 · · Score: 2

      BTW that was a joke, I'm a proud vi(m) user, but I think emacs can also post on ./, vim cannot :-)

    3. Re:What's there to compare? by zAPPzAPP · · Score: 4, Insightful

      But Notepad(++) is pretty good...

    4. Re:What's there to compare? by Em+Adespoton · · Score: 2

      vi aka vi

      I predate emacs (esc alt meta key) and it is on all unix systems. emacs is still spotty and sometimes you need to install it--vi is always there.

      mqh

      Not true -- I've been in many situations where 'which vi' has returned nothing.

      Now ed is always there -- any environment that doesn't contain ed is not worth being in. It's been the default since 1971, unlike newcomers such as vi that didn't show up until 1976.

    5. Re:What's there to compare? by Arker · · Score: 5, Interesting

      So they did a text-editor roundup that excluded every serious contender in favor of 5 third-string also-rans.

      I actually tried to read the text but it was too brain-numbingly stupid to get through. He's trumpeting all these wonderful features that... vi and emacs had in the 80s.

      It's so true - 'those who do not remember Unix are condemned to re-invent it, poorly.'

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    6. Re:What's there to compare? by Darinbob · · Score: 3, Informative

      But but but.. the newer editors are different! """They can highlight syntax and auto-indent code just as effortlessly as they can spellcheck documents. You can use them to record macros and manage code snippets just as easily as you can copy/paste plain text. Some simple text editors even exceed their design goals thanks to plugins that infuse them with capabilities to rival text-centric apps from other genres. They can take on the duties of a source code editor and even an Integrated Development Environment."""

      Next you'll be pulling my leg and telling me that emacs and vim can do that stuff too. You sound like the skeptical sort of person who refuses to believe the words of truth that flow from the marketing departments.

      (do I really need to mark this as sarcasm, on the one hand it's obvious, but on the other hand this is slashdot)

    7. Re:What's there to compare? by shadowknot · · Score: 2

      So they did a text-editor roundup that excluded every serious contender in favor of 5 third-string also-rans. I actually tried to read the text but it was too brain-numbingly stupid to get through. He's trumpeting all these wonderful features that... vi and emacs had in the 80s. It's so true - 'those who do not remember Unix are condemned to re-invent it, poorly.'

      Lennart Pottering needs to read the last line of this comment in particular!

  4. What the fuck happened to gedit's UI? by Anonymous Coward · · Score: 5, Insightful

    I used to use gedit on Linux a lot a few years ago. I then used OS X for a few years, but I recently moved back to Linux. One of the first things I did after getting Linux installed was try to edit some files using gedit. And my first reaction was: JESUS FUCKING CHRIST, WHAT IN THE FUCKING HELL DID THEY DO TO GEDIT'S UI?!

    It used to have a good, traditional UI. There were useful menus and a toolbar, and it all worked very well. But now, JESUS FUCKING CHRIST, it looks stupid as all hell. There are no menus any longer, and the toolbar has been castrated into having like 4 buttons. The icons are pathetic, and don't indicate what the button actually does. Whoever the hell reworked the UI managed to break what was once a very usable text editor. Now it's rubbish.

    It's like they took the idiotic UI design of Chrome and brought it over to gedit. And now gedit is useless to me! So I've moved on to Kate. At least the KDE crew hasn't gone completely fucking stupid like the GNOME dipshits apparently have.

    Why the fuck did they have to ruin gedit's UI?

    1. Re: What the fuck happened to gedit's UI? by neiras · · Score: 2

      As someone who actually likes GNOME Shell, I have to agree. The new-style GNOME apps are horrible. Over simplified, too much white space.

      In particular the whole "move dialogue buttons to the window title bar" thing is jarring.

      I just use Shell and ignore as much of the rest of GNOME as I can.

    2. Re:What the fuck happened to gedit's UI? by 0123456 · · Score: 2

      Buttons and menus confuse users.

      Or something.

      Did they ever fix the god-awful nonsense where Gedit refuses to open a file because it thinks it's some wacko Unicode crap and doesn't even give you an 'I don't freaking care, just open the goddamn file as ASCII' option?

  5. Have you seen Gedit lately? by Anonymous Coward · · Score: 5, Informative

    Have you seen Gedit lately? Its new user interface is even less usable that vi's is: https://en.wikipedia.org/wiki/Gedit#mediaviewer/File:Gedit_3.11.92.png

    The Gnome designers just keep making Gnome's user interface worse and worse to use. I guess that's why so few people use Gnome these days!

    1. Re:Have you seen Gedit lately? by Anonymous Coward · · Score: 2, Insightful

      Vi has a learning curve that's more of a cliff than a curve, but it's probably the most usable text editor ever invented. People get freaked out by it and give up on trying to learn it, but everything is available without having to remove your hands from the keyboard and it has commands for virtually anything that you're likely to want to do.

    2. Re:Have you seen Gedit lately? by Skarjak · · Score: 2

      You weren't kidding. I just downloaded gedit just to see. There's one option button. You can basically open files, save files, print them, hilight syntax, find and replace and see document statistics. That's certainly... spartan.

    3. Re:Have you seen Gedit lately? by Bazman · · Score: 2

      A Pedant Writes: A learning curve is a plot of amount of stuff learnt on the y-axis against time on the x-axis. A steep learning curve means you learn quickly. I avoid using "steep learning curve" which I know in common usage is often taken to mean the opposite of its original meaning and use "slow learning curve", since "slow learning" is less ambiguous, hopefully..

      You'll thank me later.

  6. Geany by lorinc · · Score: 3, Informative

    Where's geany? It's much better than gedit.

    1. Re:Geany by sayfawa · · Score: 4, Informative

      Agreed. Without geany there, this comparison is not very useful. Whenever I was using Linux, I missed notepad++, until I found out about geany.

      --
      Free the Quark 3 from asymptotic confinement! Bring your charm! Don't get down! All colours and flavours welcome!
    2. Re:Geany by Camel+Pilot · · Score: 2

      Vote here for geany also...

      In my recent switch from Windows to Centos for my desktop/development computer I was missing an editor on par with notepad++. Found geany and I haven't looked back. Excellent all around.

  7. depends on what you're doing by roc97007 · · Score: 5, Interesting

    Sorry if this is stating the obvious, but if you're a programmer who does lots of editing on a few machines, then pick the editor that best fits the job.

    However, as an admin, I have long ago standardized on VI for the simple reason that it's included by default on every single *nix variant out there. (At least, in my experience.)

    My cunning strategy breaks down with Windows, though. Notepad is so nasty to use that I find myself installing textpad or cygwin on the machines where I do most of my work.

    --
    Oliver's law of assumed responsibility: If you're seen fixing it, you will be blamed for breaking it.
    1. Re:depends on what you're doing by Anonymous Coward · · Score: 2, Insightful

      However, as an admin, I have long ago standardized on VI for the simple reason that it's included by default on every single *nix variant out there. (At least, in my experience.)

      FWIW, vi(1) is actually part of the POSIX specification. So you're guaranteed at least the base level of functionality (which is generally all you need to tweak /etc/hosts, etc.).

      For heavier coding jobs something else can be useful, but for the basics: getting in, moving around, editing, and saving/quitting, are what you need to know. Anything after that is gravy.

    2. Re:depends on what you're doing by Rutulian · · Score: 2

      However, as an admin, I have long ago standardized on VI for the simple reason that it's included by default on every single *nix variant out there. (At least, in my experience.)

      While true, in my experience there is no reason why nano could not be included (and should be).

    3. Re:depends on what you're doing by Darinbob · · Score: 3, Insightful

      You essentially are required to install cygwin on all windows computers before they become marginally useful.

    4. Re:depends on what you're doing by cbhacking · · Score: 3, Informative

      Until Win8.1, it was actually possible to install a "native" POSIX environment on NT-family OSes (which for most people means XP and anything since then). It had better performance and was more Unix-y than Cygwin - key differences include support for things like SetUID/SetGID/Sticky bits and case-sensitive file system (required NTFS, and could occasionally confuse Win32 programs if there were two files whose name differed only in case, but it worked), though there were others (like not tacking .EXE on the end of every program name). It was called SUA (Subsystem for Unix Application), and was quite useful for those who needed to run Windows software but wanted a bash shell and compatibility with scripts and software written for *nix (it had a complete GCC-based build toolchain, though you could also use MSVC, and was source-compatible with most portable *nix code).

      It's still available, including the "tools and utilities" download that gives you basic shells and the like, but when MS released Win8.1 - which doesn't allow the POSIX subsystem - they also stopped funding the forums and package repo, so even if you can find the package files they're all getting more and more outdated.

      --
      There's no place I could be, since I've found Serenity...
  8. Ed man! !man ed by kuzb · · Score: 5, Funny

    ( obligatory, credit to: https://www.gnu.org/fun/jokes/... )

    When I log into my Xenix system with my 110 baud teletype, both vi and Emacs are just too damn slow. They print useless messages like, ‘C-h for help’ and ‘“foo” File is read only’. So I use the editor that doesn't waste my VALUABLE time.

    Ed, man! !man ed

    ED(1) Unix Programmer's Manual ED(1)

    NAME
              ed - text editor

    SYNOPSIS
              ed [ - ] [ -x ] [ name ]
    DESCRIPTION
              Ed is the standard text editor.
    ---

    Computer Scientists love ed, not just because it comes first alphabetically, but because it's the standard. Everyone else loves ed because it's ED!

    “Ed is the standard text editor.”

    And ed doesn't waste space on my Timex Sinclair. Just look:

    -rwxr-xr-x 1 root 24 Oct 29 1929 /bin/ed
    -rwxr-xr-t 4 root 1310720 Jan 1 1970 /usr/ucb/vi
    -rwxr-xr-x 1 root 5.89824e37 Oct 22 1990 /usr/bin/emacs
    Of course, on the system I administrate, vi is symlinked to ed. Emacs has been replaced by a shell script which 1) Generates a syslog message at level LOG_EMERG; 2) reduces the user's disk quota by 100K; and 3) RUNS ED!!!!!!

    “Ed is the standard text editor.”

    Let's look at a typical novice's session with the mighty ed:

    golem$ ed

    ?
    help
    ?
    ?
    ?
    quit
    ?
    exit
    ?
    bye
    ?
    hello?
    ?
    eat flaming death
    ?
    ^C
    ?
    ^C
    ?
    ^D
    ?
    ---

    Note the consistent user interface and error reportage. Ed is generous enough to flag errors, yet prudent enough not to overwhelm the novice with verbosity.

    “Ed is the standard text editor.”

    Ed, the greatest WYGIWYG editor of all.

    ED IS THE TRUE PATH TO NIRVANA! ED HAS BEEN THE CHOICE OF EDUCATED AND IGNORANT ALIKE FOR CENTURIES! ED WILL NOT CORRUPT YOUR PRECIOUS BODILY FLUIDS!! ED IS THE STANDARD TEXT EDITOR! ED MAKES THE SUN SHINE AND THE BIRDS SING AND THE GRASS GREEN!!

    When I use an editor, I don't want eight extra KILOBYTES of worthless help screens and cursor positioning code! I just want an EDitor!! Not a “viitor”. Not a “emacsitor”. Those aren't even WORDS!!!! ED! ED! ED IS THE STANDARD!!!

    TEXT EDITOR.

    When IBM, in its ever-present omnipotence, needed to base their “edlin” on a Unix standard, did they mimic vi? No. Emacs? Surely you jest. They chose the most karmic editor of all. The standard.

    Ed is for those who can remember what they are working on. If you are an idiot, you should use Emacs. If you are an Emacs, you should not be vi. If you use ED, you are on THE PATH TO REDEMPTION. THE SO-CALLED “VISUAL” EDITORS HAVE BEEN PLACED HERE BY ED TO TEMPT THE FAITHLESS. DO NOT GIVE IN!!! THE MIGHTY ED HAS SPOKEN!!!

    --
    BeauHD. Worst editor since kdawson.
    1. Re:Ed man! !man ed by countach · · Score: 2

      Ha ha, but seriously all Programmers should know some basic ed.

  9. Please tell me I'm wrong... by msauve · · Score: 3, Insightful

    Don't all of these text editors require a GUI? I prefer something which can work with a serial/telnet/(basic ssh) console, without all the unnecessary overhead of a GUI. I like joe (which can reasonably emulate emacs/pico, if you want), but can deal with vi if I have to.

    --
    "National Security is the chief cause of national insecurity." - Celine's First Law
  10. Obligatory xkcd cartoon by Anonymous Coward · · Score: 3, Informative

              http://xkcd.com/378/

    Even if you don't personally engage in editor wars, it's pretty funny. I'm afraid that the number of Slashdot articles best answered by an XKCD cartoon has remained surprisingly consistent.

    Given that most of the tools in the mentioned article require a GUI to work from, and many of them are destabilized by their use of Java, I'm afraid that the article will remain aimed at GUI and web developers, not "real programmers". We who do real systems recovery or kernel level code development will continue to use "vi" for small tasks, "emacs" when we need full integration with source control systems or more powerful indentation..

  11. Steep learning curve by Anonymous Coward · · Score: 3, Insightful

    Yeah, right, dat steep learning curve. I've wasted years using UltraEdit, because I was told that vim was too hard. One friday afternoon I fired up vimtutor, and it took me the following weekend to learn vim enough to do my work as good as with UltraEdit. From that moment on, I've spent years honing my vim skills, following a very slow but rewarding learning curve.

    I've been editing (plain)text for living for the last 15 years, and I doubt I'd ever get as dedicated, thorough and precise in my work without vim. All those self-proclaimed no-learning-curve, get-the-job-done editors are inferior, and one should use them only if they actually need to do some ad-hoc work, which they actually don't even want to do.

    Pick a proper tool for your job, not a toy.

    1. Re:Steep learning curve by Darinbob · · Score: 2

      In school we were given a one page sheet with vi cheat notes the very first day class started, and that was all the instruction we had, and we started using it that first day. No one had a mouse yet so no one could complain about the lack of point-and-click editing and so it was naturally assumed there would be some learning involved.

      Vim makes it so much easier now as it actually comes with help built in.

  12. But EMACS has butterfly mode... by 140Mandak262Jamuna · · Score: 4, Funny
    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
  13. Re:GUI = fail by Anonymous Coward · · Score: 2, Informative

    I see you're used to Linux boxes with X installed. *BSD doesn't necessarily have X installed and it would be highly unlikely on a firewall box. Also, sshd might not have X11 forwarding turned on.

    Not to mention, it's actually nvi not vi or vim.

  14. Re:There can be only one.... by sl149q · · Score: 2

    No, you can teach us old Unix guys new tricks. Vim is a totally acceptable acceptable upgrade to vi. Just like bash is an acceptable upgrade to sh. And perl is definitely better than awk/sed.

    We do draw the line at gvim though. And I've heard rumours of a new C like language that is object oriented... haven't tried it though.

  15. Re:Try Sublime in 'vintage' mode. by Marc_Hawke · · Score: 2

    You're not supposed to close the windows. They just stay open all the time. (You don't even have to save them, it just keeps them up 'unsaved' the next time you come back. :w does work though, exactly as you'd expect.

    --
    --Welcome to the Realm of the Hawke--
  16. Re:GUI = fail by techno-vampire · · Score: 2

    I've had to clean up my desktop after an upgrade didn't finish properly and I only had a CLI to work with. Knowing how to use at least one non-GUI text editor and having that editor installed already was a life saver because without it I couldn't have gotten the network up again and without that, I couldn't have installed an editor. Remote admin is one good reason to know how to work without a GUI, but it's not the only one.

    --
    Good, inexpensive web hosting
  17. Who else makes this mistake? by rossz · · Score: 4, Insightful

    I have a few text files on my Windows box with :wq scattered around in random locations.

    --
    -- Will program for bandwidth
  18. I used to teach Linux. by attemptedgoalie · · Score: 2

    My students hated that I made them learn vi. Why? Because if the graphics subsystem failed, or they had to go to single user mode, they had vi.

    If they made it through my class alive, they could use whatever they wanted.

    --
    My mom says I'm cool.
    1. Re:I used to teach Linux. by jtara · · Score: 2

      If the graphics subsystem fails, or I have to go to single-user mode, I have nano.

      WordStar rules!

  19. The bottom line by ccanucs · · Score: 2

    So, - here's the bottom line. Almost nobody here agrees with the OP premise :-)

  20. Vim and Emacs by nuggz · · Score: 2

    Personally I use vim and emacs, they can do everything those editors can, and much more.
    Once you get over the learning curve, which I did, there is no reason to try the less capable editors.

  21. There are only 4 editors by russotto · · Score: 3, Insightful

    There is emacs. There is vi, for when some fool didn't install emacs. There is ex, for when the terminal is messed up. And there is ed, because it is the standard text editor.

    Anything else is either redundant, or is a word processor with a text-only output.

    1. Re:There are only 4 editors by jd · · Score: 3, Insightful

      Sigh. Emacs is an operating system with text editing facilities.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  22. Without Joe, I would have failed Linux by swb · · Score: 2

    Or taken a lot longer to sort it out and then move on to FreeBSD.

    Joe seems very intuitive to me and has just enough power as a text editor to give you free range of config files and basic scripting or even a couple hundred lines of Perl. I've always found vi impossible; the command/editing modes never made sense yet Joe seemed to work "like normal."

    I made an honest effort to master emacs, but it always seemed like effort and I always went back to Joe when I needed to get something done.

    I actually went trolling recently for a win32 text mode version of joe (which I swear I used to have) but couldn't find one.

  23. Re:Jed by multimediavt · · Score: 2

    apt-get? Who uses apt-get? Real men use make, make dep, make install!!!

  24. Stop mentioning vi and emacs by Art3x · · Score: 4, Informative

    Okay, y'all can stop mentioning how vi and emacs do everything these do plus come preinstalled on Linux systems. From the article:

    Two of most popular and powerful plain text editors are Emacs and Vim. However, we didn’t include them in this group test for a couple of reasons. Firstly, if you are using either, congratulations: you don’t need to switch. Secondly, both of these have a steep learning curve, especially to the GUI-oriented desktop generation who have access to alternatives that are much more inviting.

    This is for people moving to a text editor from Word.

  25. Re:There can be only one.... by Cederic · · Score: 2

    And perl is definitely better than awk/sed.

    No. People learn perl then think they can program. It just goes wrong.

  26. Re:My Personal Favorite by msauve · · Score: 2

    I'dprefertheeditorstripthefileofallspacesnotusedforindentationwhenitsaves,becausespacesjustdon'tfuckingmatter.Samewithtabs,don'tusethem,justindentwithspaces.

    Areyouserious?Whatlanguagesdoyouwritecodein,whichacceptthat?

    --
    "National Security is the chief cause of national insecurity." - Celine's First Law
  27. screen real-estate ! by tuxidriver · · Score: 2

    I have yet to see anyone comment on this...

    One advantage of so-called stone-age editors like Emacs and VI is that they don't clutter the screen with useless junk like toolbars, menus, project side panels, etc. I've got Emacs setup on each machine I use such that each pane, running 2 across or 3 across, almost exactly fits the width of the code based on the maximum line length called out in the coding standard we follow (giving a few characters of margin). I want as much code on the screen as possible in as large a font as is reasonable (to reduce eye strain). I also remove as much clutter vertically so that I get as many lines of code on the screen as possible.

    I definitely do not want my editor to clutter my screen with menu bars, tool bars, scroll bars, project side panels, cute little multi-line consoles, big status bars, etc. that take valuable space away from the actual code window. I use my editor 8 hours every day, if not more. I know the editor's commands. I use my editor to write code, I want to see the code, not screen wasting cruft.

    Some GUI editors, such as JEdit, let you remove some of the clutter; however, I have yet to see any GUI editor let you remove all of the clutter to the extent possible (or default) with Emacs or VI.