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

402 comments

  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: 0

      I can't believe they picked Kate as the "winner". Kate is so unstable that it is unusable. I've tried it several times on several different systems, and the result is always the same: crash

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

    3. Re:You're welcome to them. by Anonymous Coward · · Score: 0

      It's not that Kate is the best, but it's just that Kate is the least-shittiest of them all. Gedit's UI has gone retarded, thanks to the GNOME fucktards screwing up like they always do these days. jEdit has always been slow-as-shit because it's written in Java. Nobody's who uses Linux has ever really bothered with the other two.

    4. Re:You're welcome to them. by Anonymous Coward · · Score: 1

      Instead of just screaming "stone age, lowest common denominator, archaic" maybe you could actually say why what you think what you're using is better?

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

    6. Re:You're welcome to them. by Anonymous Coward · · Score: 1

      You seem to be mistaking VI as something other than the amazing and universal toolset that it is.

      If you want to use shit tools that are re-inventing the wheel, the loss is yours really.

    7. Re:You're welcome to them. by Ken_g6 · · Score: 1

      I use GVim all the time. It can "highlight syntax and auto-indent code...spellcheck documents... [and] record macros". I don't see the point of managing code snippets - if you're using the same code multiple places you should take a DRY-er approach. And being an IDE is for Emacs people. ;P

      --
      (T>t && O(n)--) == sqrt(666)
    8. Re:You're welcome to them. by Anonymous Coward · · Score: 0

      Yeah, every once in a while I realize that I just hit escape after writing a mail at work in Thunderbird.

    9. Re: You're welcome to them. by AcerbusNoir · · Score: 1

      You must be an emacs user with an attitude like that! ;)

    10. Re:You're welcome to them. by Anonymous Coward · · Score: 0

      Your ignorance of what vi is and is capable of is astounding. I certainly wouldn't take you seriously about much after hearing you say this, and I'm not even a fan of vi.

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

    12. Re: You're welcome to them. by Anonymous Coward · · Score: 1

      Spoiler alert... I my have wanted to read the article after reading all the comments...

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

    14. 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.)

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

    16. Re: You're welcome to them. by Anonymous Coward · · Score: 1

      What features does ST have that vim doesn't?

      Honest question, I'm not going to try knocking them down one by one, but I'm curious to know what you're finding lacking before I look too deeply into trying a new editor (the time it takes to learn the quirks of any new editor can be a net loss if the features on offer aren't worth the effort).

      Vim can be extended with Python too, but if ST has a nicer extension API, I might give it a try.

    17. Re:You're welcome to them. by CaptnZilog · · Score: 1

      Yeah, I've worked on everything from BSD SunOS4.x, Solaris, DEC Ultrix, SGI Irix, HPUX, Apollo Domain(BSD), UniPlus 68K stuff, Linux, Net/Free/OpenBSD, and I'm sure I'm missing something(s) in there, the one constant has been ed/vi. I can hop on pretty much any flavor of "unix" and get things done, not sure why I'd want to learn a new one when I'm pretty proficient in what I know now.

      I'm sure there's some nice features in some of them, I just really haven't needed them (or not often enough to really care if it takes me a bit longer once in a blue moon to do something they might make easier).

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

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

    19. Re: You're welcome to them. by Em+Adespoton · · Score: 1

      http://www.sublimetext.com/for... gives you a good start. But really; the best way to find out is to fire Sublime up and see; it's pretty self-explanatory for much of it (although having the vi mode plugin disabled by default can be a bit jarring until you figure out how the plugin system works).

    20. 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.
    21. Re: You're welcome to them. by s.petry · · Score: 1

      Pointing at a forum for the editor is probably not what the person you responded to was looking for when asking their question. Except for the "Beautiful Interface" which somehow translates to "Fun" I don't see anything on the list that VI/VIM can't do already.

      I personally don't mind graphical text editors, but when managing thousands of servers I find them impractical. I can ssh -> VI something and move on to the next task. Writing a bunch of code or documentation, I prefer a graphical interface. Each has their purpose.

      --

      -The wise argue that there are few absolutes, the fool argues that there are no probabilities.

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

    23. Re:You're welcome to them. by Anonymous Coward · · Score: 0

      It should be up to programmer to make the right call on their development machine.

    24. Re:You're welcome to them. by Anonymous Coward · · Score: 0

      You can keep your 'vi' running on your operating system 'emacs'.

    25. Re: You're welcome to them. by Anonymous Coward · · Score: 1

      I work at Google and the majority of back end software engineers are using Vim or Emacs.

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

    27. Re:You're welcome to them. by Anonymous Coward · · Score: 1

      There are many times where you repeat code and DRY does not apply.

      Actually, no there is isn't. Duplicated code means poorer quality, harder to maintain code. So-called "productive" programmers do it sometime but almost always they're leaving huge technical debt for the poor sod who has to clean up after them.

    28. Re:You're welcome to them. by JoeMerchant · · Score: 1

      What the graphic editors miss is the advantage of being able to run in any environment, including lame ssh shell sessions... I think that's what really keeps vi and emacs going.

      Personally, I prefer jed, and yes, it's clunky and feature poor, but it's good enough to get the job done and I'm not devoting 12cc of brain volume to remember how to use it.

    29. Re: You're welcome to them. by Anonymous Coward · · Score: 0

      Function calls are not free. When you have lots of data, wasting time on dry code that runs slower doesn't get it done.

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

      Sounds like you need a better compiler.

    31. Re:You're welcome to them. by guruevi · · Score: 1

      vi just works regardless of whether you're local or remote or whether or not you have a windowing environment. It doesn't even need a correctly defined terminal. Also, it has all the features like spell check, indentation, code highlighting, colors and everything you ever need. It also a little over 1MB (smaller for some other platforms) and thus will fit anywhere.

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    32. Re:You're welcome to them. by UnknownSoldier · · Score: 0

      Exactly.

      ALL text editors SUCK. Some just suck less. I find Vim to suck the least -- its bugs notwithstanding.

    33. Re:You're welcome to them. by Skarjak · · Score: 1

      The problem is your claim that vim is the lowest common denominator. You could certainly argue, if you wanted, that vim is too obtuse for the majority of users, that its learning curve is so steep as to render it useless for most of them. But you can't deny that vim is powerful. Someone who masters vim will get the job done faster, by virtue of almost every command being just one keystroke away. The speed gained from being able to format large sections of text in just a few keystrokes is very noticeable. There will always be room for options that are harder to master but rewarding once mastery is achieved. vim is that option. I don't see what's wrong with that.

    34. Re: You're welcome to them. by jhol13 · · Score: 1, Interesting

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

      For programming Eclipse or NetBeans or Visual Studio is just miles away what of vi/emacs can do, especially out of the box. To get vi/emacs to work nearly as good as good IDE is just too big a job. 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.
      Or ctrl-space (complete word) - 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. Probably if you search-net, tinker, rinse-repeat you can get something almost similar working in one language in one platform with vi/emacs. I work in two (Linux & Windows). I do not want to waste my time to get mundane things like that to work properly. And the list is endless! Will vi color according to changes in VCS? According to syntax errors? Both at the same time, out of the box? Has it code prettifier for C, HTML, css, etc? Netbeans have plugin-repository from where you can get almost everything you'll ever need. Last time I used XEmacs it was net-search, try it, search next - maybe it works with current XEmacs, ...

      Believe me, I have tried, I have used XEmacs for years, over 15. Then I just noticed that a program designed for vt100 is from the Stone Age.

    35. Re: You're welcome to them. by Anonymous Coward · · Score: 0

      Sublime with Vintageous is even better.

      I'm going back and forth between Atom & Sublime. Sublime has better Vim mode. Atom has a built-in JS console, and customizing their editor with CSS is fscking cool.

    36. Re: You're welcome to them. by Anonymous Coward · · Score: 0

      maybe the compiler inlines it. maybe

    37. Re:You're welcome to them. by theshowmecanuck · · Score: 1

      I used to code with vi on various *nix systems. Now like you said, it is the constant, and I can do stuff reasonably quickly when it is the only thing available... And sometimes it is good to get a few old school licks in. But the point of the new editors is that they don't take a big learning curve or time in order to be more productive. I like newer editors, but to each their own. I think it is more that than requiring effort to learn something new. Because the newer editors don't take much effort. And of course this assumes you like working on a workstation with a GUI desktop environment. :)

      --
      -- I ignore anonymous replies to my comments and postings.
    38. Re:You're welcome to them. by s.petry · · Score: 1

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

      In other words, you really don't have a lot of knowledge regarding *nix OSes.

      I have no idea what would warn you about editing a password file or crontab, because "crontab -e" does not care what editor you use and there is no similar command for modifying passwd (usermod is arg based, as is useradd and userdel). Possibly something in midnight commander, which is not a tool that power users would use with any regularity. Even the few people I know that use MC in Linux won't use mcedit. It would help for you to learn what the EDITOR and VISUAL environment variables do. Not knowing that vim can do syntax highlighting shows that you really don't try very hard to learn either.

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

      Except the people working on *nix OSes for a living.

      Look, it's fine that you are primarily a Windows user but even Windows has shown with Powershell that a powerful CLI increases productivity by leaps and bounds. Having vim/vi (or even emacs) in the same shell is extremely powerful, and something Windows still lacks.

      --

      -The wise argue that there are few absolutes, the fool argues that there are no probabilities.

    39. Re:You're welcome to them. by Anonymous Coward · · Score: 0

      Kate actually has a very capable Vim emulation mode nowadays - check it out!. It doesn't have everything, but it has a small number of extra features which I find handy - the completion in the search/replace bar and the "auto-escape for regex search" features I use quite often. And since it's usable with KDevelop, I can enjoy the latter's really surprisingly good code-completion features.

    40. Re: You're welcome to them. by John+Bokma · · Score: 1

      "[Emacs] Cua-mode allows one to use ‘C-v’, ‘C-c’, and ‘C-x’ to paste, copy, and cut the region. Since this conflicts with very important keybindings in Emacs, these CUA bindings are only active when the mark is active. The package does a whole lot more, too: ‘C-z’ to undo, Shift-movement to select, and it includes support for rectangular regions" http://www.emacswiki.org/emacs...

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

    42. Re:You're welcome to them. by Anonymous Coward · · Score: 0

      Sorry, but if the text editor can't do search-and-replace from line 400 to 800 but not touching anything else I wouldn't consider it worth looking at.
      Usually even such basic features are lacking, even though vi/vim had them since ages, and I got really used to it.
      Admittedly full IDEs have refactoring features that of can be used to do the same,in quite a few cases better, but then you're usually stuck with a bloated slow thing, that starts complaining about your file being "huge" when it's 20 MB.
      Sorry. but I want an editor that manages to display that 5 GB log file if I need it.

    43. Re: You're welcome to them. by jandersen · · Score: 1

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

      Exactly - and it is amazing how good the basic vi functionality is. I always run vim in compatibility mode, not least because I work across many UNIXes, and basic vi is available everywhere.

      Another good reason for not using fancy editors is that they support syntax highlighting and spell checking, which are often difficult to off. Yes, there are people to whom it is annoying to have every abbreviation and every word in a foreign language flagged as misspelled, and to whom proper indentation is sufficient to set off the structure of code.

      And one final point: the fact that you can apply any standard UNIX command to a range of lines in vi is just amazing. Look it up if you don't already know it, but are interested.

    44. Re:You're welcome to them. by ayesnymous · · Score: 1

      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.

      Always good to know vi, since that's the one editor guaranteed to be on all Unixes. At a previous company, all the other devs only knew emacs, but the customer's flavor of UNIX didn't come with emacs. They had to request that emacs be installed on the servers, and it took the customer months before they finally did it.

    45. 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!
    46. Re: You're welcome to them. by goarilla · · Score: 1

      Just out of curiosity which workloads are better suited to vim than Sublime and vice versa ? When do you decide to switch editors.

    47. Re:You're welcome to them. by greenfruitsalad · · Score: 1

      Why is Kate shitty? It emulates ViM nicely, has window splitting, nice code folding, visual highlights and many other goodies. It's what gvim should have been.

    48. 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.
    49. Re:You're welcome to them. by kevingolding2001 · · Score: 1

      I don't know your personal circumstances, but for me learning vi was one of the wisest things I ever did.

      At university I hated it and ignored it, but in my very first real computing job after university I had the opportunity of watching somebody who was proficient in vi editing some code. He was touch typing editing commands and making text fly around the terminal faster than I could follow, so I put all my prejudices aside and bothered to learn how it was possible.

      Yes there was a learning curve, but in very short time I was far more productive using vi than anything else.

      But... you need to know how to touch-type. The biggest advantage of vi comes from the fact that you don't need to move off the home keys. Someone who can type without actually looking at the keys can understand how valuable this is. Hunt-n-peckers will never understand this.

    50. 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.
    51. Re:You're welcome to them. by serviscope_minor · · Score: 1

      Why is Kate shitty? It emulates ViM nicely, has window splitting, nice code folding, visual highlights and many other goodies. It's what gvim should have been.

      Nothing against Kate, but VIM has window splitting, code folding, visual highlights and many other goodies. How is Kate what vim should have been?

      --
      SJW n. One who posts facts.
    52. Re: You're welcome to them. by Anonymous Coward · · Score: 0

      Since Visual Studio 2005 has a gold rating in Wine, I'd argue that Visual Studio is the best Linux text editor (for programmers at least).

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

    54. Re:You're welcome to them. by Volguus+Zildrohar · · Score: 1

      I'm not talking about big chunks of code, or entire functions. I'm talking about the smaller things you do all day long. For loops, case statements, defining a trivial property in a java class (the kind that looks identical to almost every other property, but has to be written out manually because java).

      I thought the #! example would be enough to make that clear...

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

      "What is it with people being proud of using the lowest common denominator? "

      Probably because vim * and emacs are the two excellent IDEs. Both are far from stone age solutions, and both have all the functionality you could want and more. Calling them editors is a misnomer. They are both IDEs.

      * not vi ... almost nobody uses vi even when they think they do. It is either a soft link to vim, or an alias to vim on most non-server systems

      I don't care if a developer prefers vim or emacs, but if they use anything else other than a different IDE that is a red flag that they haven't got a clue. People who use editors to write code are clueless noobs and / or incompetent in 2014.

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    56. Re:You're welcome to them. by rastos1 · · Score: 1

      and there is no similar command for modifying passwd

      vipw

    57. Re:You're welcome to them. by Anonymous Coward · · Score: 0

      Well, even if you don't see the point of code snippets, vim can do it pretty well with snipmate, ultisnips or neosnippet.

    58. Re: You're welcome to them. by Zero__Kelvin · · Score: 1

      "I use Sublime with vim bindings turned on."

      That great and all, maybe ... until you use one of the machines that doesn't have it, which is of course, the majority of them. True, if you have root privileges you can add it, but in the real world developers with root priveleges isn't by any stretch of the imagination guaranteed, nor is it necessarily even the norm.

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    59. Re: You're welcome to them. by yagu · · Score: 1

      >

      And one final point: the fact that you can apply any standard UNIX command to a range of lines in vi is just amazing. Look it up if you don't already know it, but are interested.

      BINGO!

      Reading this thread, SOMEBODY had to mention this. I use the "use buffer (can be range) as stdin to command and replace with results" feature of vim EVERY SINGLE DAY. It is one of the most amazing and productive features I can't believe it isn't more well known.

      And once you've started getting nice snippets of "buffer code", the power grows by typing <CTL-f> at the colon ":" prompt and finding recently used commands. Amazing and powerful stuff. (Set your remembered vim commands to >1000 for long term buffer-command goodness!)

      I don't know of any other editors that do this

    60. Re: You're welcome to them. by Zero__Kelvin · · Score: 1

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

      Any problem you think vim or emacs has is actually a problem with you and your lack of knowlege. There is a new tool called google that can help you learn about this sort of thing.

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    61. Re: You're welcome to them. by fnj · · Score: 1

      As an emacs fan and user, I'm not hostile to your viewpoint really, but the first time you are faced with a really big code refactor job, Eclipse or Netbeans come into their own and vi/emacs fall flat. The floor tilted a little and the lights went a little dim for a second the first time somebody showed me refactor in Eclipse.

      Also, the point minimizing intellisense and the point about using variables before you bother to define them are both REALLY reaching.

    62. Re: You're welcome to them. by Vintermann · · Score: 1

      Yeah, illustrates nicely why it's not a good solution.

      Of course, how we do things is largely a matter of habit and standards. Not entirely - for instance, there was solid usability research coming out of Xerox PARC showing that mouse-based editors were better than keyboard-only ones, and nonmodal editors were better than modal ones. Emacs was made in part in response to that research. But for the most part, one way of doing it is as good as any other.

      It's just that vi and emacs (and wordstar!) lost that battle ages ago. Your browser, your IDEs, your widget libraries, your anything-that-isn't-actually-vi-or-emacs, use a standard based on IBM's CUA standard + Microsoft's defaults for cut-copy-paste (inherited from Apple). Odds are this very web from supports the old IBM shortcuts for cutting and pasting, (ctrl-insert, shift-delete, and shift insert), even though no one ever uses them.

      You can keep forcing them to conform to obsolete standards with plugins if you must, but that is IMHO creating more trouble for yourself than it's worth,

      --
      xkcd is not in the sudoers file. This incident will be reported.
    63. Re: You're welcome to them. by Vintermann · · Score: 1

      Many of us use it because it's simply more productive to do so.

      You feel more productive, but the usability research showing mouse navigation is faster, and non-modal editing is faster, is older than vi. Xerox PARC found it in the seventies, Apple confirmed it in larger studies in the early eighties.

      What happened to "The first principle is that you must not fool yourself, and you are the easiest person to fool"?

      --
      xkcd is not in the sudoers file. This incident will be reported.
    64. Re: You're welcome to them. by serviscope_minor · · Score: 1

      Presumably you're referring to refactoring Java code in that. Refactoring support is pretty spotty across the board. It does not surprise me that the Eclipse and Netbeans have excellent java refactoring.

      Vim has a bunch of different refactoring plugins in various states for various languages.

      One can of course always switch to the best tool for the particular job.

      Also, the point minimizing intellisense and the point about using variables before you bother to define them are both REALLY reaching.

      To you maybe. I had a long project using Visual Studio recently, after years of not. It was very, very jarring and I found that I was working to satisfy the editor, rather than the editor be supporting me.

      --
      SJW n. One who posts facts.
    65. Re: You're welcome to them. by cide1 · · Score: 1

      citation needed

      --
      -- the computer doesn't want any beer, no matter how much you think it does. NEVER, EVER feed your computer beer.
    66. Re: You're welcome to them. by Anonymous Coward · · Score: 0

      " It has features I use every day that vi/vim doesn't have"

      I sincerely doubt this, mind share a two or three examples?

    67. Re: You're welcome to them. by TheRaven64 · · Score: 1

      The things that make vim fast are not so much the keyboard shortcuts (although the result you mention was largely debunked as it assumes unfamiliarity with the environment. More recent studies have shown that keyboard shortcuts are marginally faster when you are in the middle of text entry, but the difference is less than the thinking time required for either). It's the ability to easily script things. For example, if I'm doing the same sequence of edits in vim, I'll record a macro and then replay it a few dozen times. That is much faster than doing it without the macro and so for a GUI editor to be as fast it would have to have commands like 'skip one word to the right,' and 'delete to the end of the line' that were easily useable from its macro recording environment (remember, these are not programs that I write as code, they're just rote replay of a sequence of keyboard commands).

      --
      I am TheRaven on Soylent News
    68. Re:You're welcome to them. by TheRaven64 · · Score: 1

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

      So, no one uses vim or emacs except for the people who do? I'm glad we've clarified that, thanks!

      --
      I am TheRaven on Soylent News
    69. 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
    70. Re:You're welcome to them. by TheRaven64 · · Score: 1

      Indeed. I consider it something of a failing of modern operating systems that it's easier for me to run an editor remotely in a tmux session than to export the remote filesystem to use locally. If only AFS had had a bit more effort invested in it...

      --
      I am TheRaven on Soylent News
    71. Re: You're welcome to them. by CronoCloud · · Score: 1

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

      Yes they do. I know you can start vim as evim, or use the "cream" add-on.

    72. Re:You're welcome to them. by Richy_T · · Score: 1

      sshfs?

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

    74. Re: You're welcome to them. by david_thornley · · Score: 1

      Or a better language.

      Seriously, I can type a whole lot faster than I can think, so "for (" is a mere wisp of thought, with no delay whatsoever.

      Also, if you're copy-pasting code, you're going to get too much or too little sometime, or leave something unchanged that should have been changed. This is likely to be the worst of it, if you're reasonably competent.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
    75. 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
    76. Re: You're welcome to them. by david_thornley · · Score: 1

      I'd never name a kid "Ed" for the editor. Too many unpleasant memories on a variety of systems. Never use an editor named "ed" if you've got a choice.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
    77. Re:You're welcome to them. by david_thornley · · Score: 1

      Of course I like a GUI desktop environment. I can put a lot of xterms on one screen then.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
    78. Re:You're welcome to them. by TheRaven64 · · Score: 1

      Doesn't handle unreliable networks well. I work on my laptop, which moves between home and work networks and no network at all. I can edit code using vim on remote machines when I'm attached to any network and I don't lose any state (as a result of autossh and tmux) when I'm disconnected. With sshfs, abrupt disconnections are very bad. With CODA (the AFS successor that never quite made it to production quality), I'd have been able to continue operating after disconnection and seamlessly push my changes back to the server on reconnection (CODA also tried to do merging, but I'd be happy with it just telling me that I had conflicts and giving me renamed versions of files).

      --
      I am TheRaven on Soylent News
    79. Re: You're welcome to them. by Clsid · · Score: 1

      Sublime is fantastic for data manipulation, like editing multiple lines at the same time in XML files, changing chunks of code where the same variable was being used, etc. It is very easy to use and I find that the color scheme they chose by default is the most pleasing combination I have seen by far. I am a big fan of the evening color scheme in gvim but this is even better. It also runs nicely in all major platforms, with no weird permissions issues in Windows for instance. I can still use vim but Sublime is one of the few commercial tools I would definitely recommend in Linux.

    80. Re: You're welcome to them. by Clsid · · Score: 1

      After you use Sublime Text for a while you will regard Netbeans, Eclipse and even Visual Studio as the software that came out of the Stone Age. Especially when you consider how slow all of those three packages behave in general and the amount of resources they use. We have a toolchain that includes Sublime, Git and a bunch of bash scripts to automate a lot of stuff, from deployment to gettext processing. Coming from Visual Studio in my personal case, I have always found any Java-based desktop software inefficient at best, but with these setup that we have know, even just looking at the default color scheme and amount of interface noise feels plain wrong.

    81. Re: You're welcome to them. by rosencreuz · · Score: 1

      "Bobby Tables" is still my favorite...

    82. Re:You're welcome to them. by DanielOom · · Score: 1

      Well, you have a choice of vi and emacs on Unix, with pico being for beginners. There are other editors, and learning their names is a good way to train your memory.

    83. Re: You're welcome to them. by Anonymous Coward · · Score: 0

      I also work at Google and the majority of my team uses Eclipse or Android studio.

      I think it depends on which team you are on. Most Java developers use an IDE, although there are some who use Vim/Emacs. Most C++ or JS developers use Vim or Emacs, partially because IDE support for C++ and especially JS is not nearly as good as IDE support for Java.

    84. Re: You're welcome to them. by Anonymous Coward · · Score: 0

      What kind of place doesn't let their software developers choose their own text editors? I really want to know so I can make sure to steer clear of them.

    85. Re: You're welcome to them. by Zero__Kelvin · · Score: 1

      Again, you miss the point. What kind of company hires software developers that use a text editors? Please let me know so I can stay clear of them.

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    86. Re: You're welcome to them. by Anonymous Coward · · Score: 0

      You really haven't used emacs or vi, have you? I'm sorry, but your complete ignorance is showing.

    87. Re: You're welcome to them. by jhol13 · · Score: 1

      Not really. If you use those, you'll lose some other extensions which are designed for the modal system. With Emacs you'll get shortcut collisions, ctrl-x is pre-bound.
      They are just hacks, nobody really uses them - or at least were when I tried one (long time ago though).

    88. Re: You're welcome to them. by jhol13 · · Score: 1

      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.

      It is. Every effing program uses those - except one or two from stone age.

      None of those "miles away" editors provide syntax highlighting for shell, awk, python, etc

      Try. At least shell and python is supported, not sure about awk - I have long since migrated to Perl.

      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.

      I do not want to learn and remember all the "tools" and their interaction and intricasies, I want my work done.

      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.

      No it does not. The code completion just stops working - for a while. No biggie. When you finally define the variable/class, you can easily collect all the use cases.

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

      As well as vi does, not a teeny bit worse. Besides, that script won't be that big for the system really help you anyway.

      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.

      As it is to me. But still I want mundane simple things to be simple and mundane.

      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.

      I would never ever do any woodworking without current tools you can buy. I do not want to make 45 degree jig, then another 30 degree, and so on. You see, my saw can be turned to any degree without a jig. But still it cannot do everything, sometimes a jig is necessary - but I would never give up the saw just because it cannot handle everything.

    89. Re: You're welcome to them. by s.petry · · Score: 1

      Thanks for the additional information. I'm not sure how multi-select would work, nor the mini-map so I'll take a peek at the interface. I use notapad++ when stuck in Windows, sounds like Sublime would be a good replacement. L&F, fast search, and interactive step through, all possible with grep/ed/awk/sed/vi, etc...

      As said above, I think that the tool depends on the job. Claiming CLI based editors are dead is simply not true. Dead for your job, perhaps, but no more dead than a a shell in the bigger picture. When working on hundreds to thousands of servers having knowledge of vi or emacs makes a person more productive. When programming a nice UI with syntax checking, spell check for documentation, sniplet management, etc... will make a person more productive. Pick the right tool for the right job, all is well.

      --

      -The wise argue that there are few absolutes, the fool argues that there are no probabilities.

    90. Re: You're welcome to them. by jhol13 · · Score: 1

      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.

      Problem is not VIM, it is the ctags. Ctags just doesn't work - good enough for me. I have used it, and it just goes berserk with #defines, files which are not .h or .c (xml rules or binary blobs, etc.).

    91. Re: You're welcome to them. by ThePhilips · · Score: 1

      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.

      Problem is not VIM, it is the ctags. Ctags just doesn't work - good enough for me. I have used it, and it just goes berserk with #defines, files which are not .h or .c (xml rules or binary blobs, etc.).

      Yes. But this is more of the problem with the programming language itself. Or better: practices, the project uses.

      For example, in my current project, ctags and Eclipse both do excellent job of indexing the 100% C code base. Because there are actually strict guidelines relating the preprocessor and code formatting. In my previous project, a C++ one, the hacks had used macro definition (and redefinitions) not only for the class names, but also for the namespaces, including the "using" clause. No indexer could ever parse it and some classes and functions were never visible in the index.

      In the end, I found that for as long as I can read and understand the code on first look, so can the indexer. If one writes a quirky hairy mess, then indexer probably is not even the biggest issue.

      --
      All hope abandon ye who enter here.
    92. Re:You're welcome to them. by Pseudonym · · Score: 1

      yea, no need to get out of the stone age or anything.

      FWIW, stone is better for grinding flour than bronze is.

      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
    93. Re: You're welcome to them. by Pseudonym · · Score: 1

      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.

      I agree with you, but I think it's for the opposite reason. Languages like Java and .NET are extremely painful to use without a modern IDE like Eclipse.

      The main features that refactoring IDEs give you that advanced text editors don't are API completion and refactoring. You could interpret this as a failing in text editors, or you could interpret it as a symptom of the fact that a lot of Java and .NET APIs are badly designed with (in particular) an insanely large surface area.

      I've never used .NET in anger, but for comparison, I find I need far more help from the IDE to write Java Swing code than I need to write C++ Qt code. I suspect it's because Qt's API was designed with far more thought, care, and attention to detail than Swing. I'm pretty certain it's not the languages.

      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
  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 Em+Adespoton · · Score: 1

      Off his lawn?!?!?

      He said nano -- the bastard child of pico.

      Nano is the notepad of the POSIX world -- it eats line endings, messes up indentation, and makes a mess of config files -- just like pico did back in the day.

      I still remember using elm with pico integration; it was great for writing an email, horrible for coding. I used emacs for that, until it started getting too unwieldy.

      Now if I'm in a lightweight environment, I'll use ed. If I'm in a graphical environment, I'll use Sublime. If I'm in a terminal, I'll use vim. ...so the GP can get off MY lawn.

    3. 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
    4. 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.

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

    6. Re:Pfft by Anonymous Coward · · Score: 0, Informative

      in some places, such as /etc/fstab

      Those places are called "text files"

      you need to make sure there's a /n at the end of every line,

      Please tell me you're kidding

      including the last one.

      Oh the insight.
      Protip: If your last line doesn't end in a newline (which is commonly represented by \n, not /n), then you're not dealing with a text file.

    7. Re:Pfft by Anonymous Coward · · Score: 0

      It must me this bad, emac, vi, vim coalition against GUIs.

    8. Re:Pfft by Anonymous Coward · · Score: 0, Redundant

      emac wasn't included because operating systems were outside the scope of the review.

    9. Re:Pfft by JoeMerchant · · Score: 1

      Nano isn't bad, I like jed a little better - not quite as lame, and almost as universally available.

      If you're doing serious code composition, then, yes, use a well honed tool for the job that has helpful auto-complete, highlighting, etc. But if you're hacking through twisted network links - X usually isn't available and something lighter weight is a very good to be able to use.

      Personally, I only "hack the net" about 1% of the time, so I don't think it's worth using a text based editor as my primary tool, but knowing about a simple, easily accessible, editor can really help out during that 1% time.

    10. Re:Pfft by JoeMerchant · · Score: 1

      The article examined 5 different editors - I don't think users of vi or emacs have enough spare neurons to be able to learn and objectively compare that many alternatives. Not saying the author is "right" to exclude them, just that if he really knows enough to evaluate these other 5, he probably can't work his way around vi or emacs well enough to give them a fair evaluation.

    11. Re:Pfft by Anonymous Coward · · Score: 0

      "My operating system is Emacs; I shall not want ..."

    12. Re:Pfft by Anonymous Coward · · Score: 0

      You must be new here :)

    13. Re:Pfft by Richy_T · · Score: 1

      Informative? Hardly. Unix end-of-lines are line feeds, DOS end-of-lines are carriage-return+line-feed and Mac (old style) are carriage returns (I believe but don't care to find out that this has changed with OS-X). The last line does not require an end of line to be a text file but some applications may require it (fstab doesn't as far as I'm aware, by the way).

    14. Re:Pfft by relisher · · Score: 1

      Off his lawn?!?!?

      He said nano -- the bastard child of pico.

      I use vim. ...so the GP can get off MY lawn.

      Please, don't get your diapers in a bunch

  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 Anonymous Coward · · Score: 0

      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

    3. Re:What's there to compare? by tttonyyy · · Score: 0

      none of which are named Emacs or Vim

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

      It's a bit like comparing comments between people that have and haven't RTFA. In that respect, you're Notepad. Lacking in substance. Unlikable. Liked by no one. A bitter, unlikable loner, whose passing shall not be mourned.

      --
      biopowered.co.uk - catalytically cracking triglycerides for home automotive use since 2008. Just say no to big oil!
    4. 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 :-)

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

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

    6. Re:What's there to compare? by Anonymous Coward · · Score: 1

      Yup. This is the rule of 'youth is wasted on the young.'. It is kind of like trying to explain to the stupid they are stupid. You simply cannot explain to the young how amazing Emacs and Vim are.

    7. Re:What's there to compare? by Anonymous Coward · · Score: 0

      Awww. Look everyone. Noobs ego has been crushed. How cute.

    8. Re:What's there to compare? by Anonymous Coward · · Score: 0

      And most of them directly violate the "Luxury of Ignorance" guidelines.

      Notepad++ is actually surprisingly good.

    9. Re:What's there to compare? by amicusNYCL · · Score: 1

      Is the "noob" the guy with the ID 718245, or 726776? I can't tell. They're both, like, twice as old as me. Or something.

      --
      "Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
    10. 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.

    11. Re:What's there to compare? by idji · · Score: 1

      it has no code explorer, showing you the function names

    12. 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.
    13. Re:What's there to compare? by Anonymous Coward · · Score: 1

      At some point you have to draw the line between a text editor and an IDE.

    14. Re:What's there to compare? by Austerity+Empowers · · Score: 1

      Notepad++ is my favorite, but windows only. It just has all the most important features. Since I'm not on Windows much anymore, I've had to move on... Atom is pretty decent on the Mac (ignoring how huge it is), Gedit is increasingly indecent and unstable, but it's close to Notepad++ in features.

    15. 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)

    16. Re:What's there to compare? by Anonymous Coward · · Score: 0

      It runs under wine so not really an issue.

    17. Re:What's there to compare? by Guppy06 · · Score: 1
    18. Re:What's there to compare? by Arker · · Score: 1

      Notepad++ is windows-only. And if you are ok with that huge flaw, you should really try TSE. By far the best windows editor.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    19. Re:What's there to compare? by Anonymous Coward · · Score: 0

      Notepad++ is now based on SCiTE, which is cross-platform.
      But, like the other editors mentioned in the review's summary, both use a gooey. Ick. (Err, GUI.)
      Long live nano. Namely because the alternatives that people have proposed are... worse.

    20. Re: What's there to compare? by Anonymous Coward · · Score: 0

      Exactly!

      ---
      sent from emacs

      Don't you mean EM-xactly?

    21. Re:What's there to compare? by mferero · · Score: 1

      Notepad++ is my favorite, but windows only. It just has all the most important features. Since I'm not on Windows much anymore, I've had to move on... Atom is pretty decent on the Mac (ignoring how huge it is), Gedit is increasingly indecent and unstable, but it's close to Notepad++ in features.

      If you like notepad++ on Windows, check you the Scite editor http://www.scintilla.org/SciTE... on *nix systems. Same engine, just as fast, horrendus config file tho . . .

      --
      Honor est omni
    22. Re:What's there to compare? by Fwipp · · Score: 1

      Half as young?

    23. 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!

    24. Re:What's there to compare? by Anonymous Coward · · Score: 0

      Kate (KDE) does everything I've seen notepad++ do, and better. I came across Notepad++ looking for something like Kate on Windows. It's more limited, but usable.

      The main editor I use is Vim, but for some tasks a graphical editor like Kate is faster.

    25. Re:What's there to compare? by Anonymous Coward · · Score: 1

      TSE costs $45. And if you are ok with that huge flaw, then by all means...

    26. Re:What's there to compare? by ksheff · · Score: 1

      yer all noobs!

      --
      the good ground has been paved over by suicidal maniacs
    27. Re:What's there to compare? by DamonHD · · Score: 1

      Ha!

      Ed is too painful to use under any circs IMHO, but I have been using vi (or in fact "pcz" + vi variants) since ~1984, so I was only 8 years late to the party.

      I prefer non-interactive editing in the absence of vi, eg sed/awk/egrep...

      Rgds

      Damon

      --
      http://m.earth.org.uk/
    28. Re:What's there to compare? by Anonymous Coward · · Score: 0

      vi is now part of the linux standard base, and was part of the UNIX standard base, and is required for any post 1980s UNIX to be POSIX compliant.

    29. Re:What's there to compare? by Anonymous Coward · · Score: 0

      it runs perfectly fine under wine

    30. Re:What's there to compare? by Anonymous Coward · · Score: 0

      I can see see you are a fan of old editors ... but might try something else than your old Remington typewriter, especially if you are posting on slashdot.

    31. Re:What's there to compare? by Anonymous Coward · · Score: 0

      Do you mean a list of functions in the opened file? Then View > Function List should suffice.

    32. Re:What's there to compare? by fnj · · Score: 1

      I'm not sure I was ever on a system younger than Methuselah that didn't have vi, but nonetheless the point is taken that there is no law that says it has to be there. Point taken that emacs in very frequently missing. And bad news: nano and pico are not always there either. FreeBSD has something called ee which is hardly as simple and intuitive as they seem to think it is. But It also has vi always in base, so the issue does not arise there.

      I'm going to have to side with you. The only editor that is ALWAYS always there or the system is posix-BUSTED is ed.

    33. Re:What's there to compare? by Teckla · · Score: 1

      Notepad++ is windows-only.

      You can, if you want, run it under WINE.

    34. Re:What's there to compare? by Anonymous Coward · · Score: 0

      Then what's this?

    35. Re:What's there to compare? by Arker · · Score: 1

      "TSE costs $45. And if you are ok with that huge flaw, then by all means..."

      Huh?

      Being windows only (WINE works but I dont want to have to rely on it,) and closed source are drawbacks I care about, and why I am not using it. The $45 is nothing for a quality tool. I bet you've paid more than that for games that you did not even play through once.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    36. Re:What's there to compare? by Anonymous Coward · · Score: 0

      Exactly.

    37. Re:What's there to compare? by david_thornley · · Score: 1

      The best windows editor I've found is gVim. Not only is it extremely powerful, it's compatible with a superb *x editor.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
    38. Re:What's there to compare? by Parker+Lewis · · Score: 1

      Kate is closest to Notepad++, really awesome and configurable.

    39. Re:What's there to compare? by jonadab · · Score: 1

      Can you read your email in it? Can you read Slashdot in it? Can you use it to play music, get on IRC, play Zork and NetHack, and do in-place edits on a file that's stored on a remote server that you can access via ssh?

      If you answer "no" to any of these questions, then it's not Emacs.

      --
      Cut that out, or I will ship you to Norilsk in a box.
  4. GUI = fail by Gothmolly · · Score: 1

    When you're SSHd into a *BSD based firewall in China, you can't just bring up some fancy autocompleting GUI editor. You'll get vi (not vim!) and like it.

    --
    I want to delete my account but Slashdot doesn't allow it.
    1. Re:GUI = fail by Anonymous Coward · · Score: 0

      ssh -X

      You'll thank me later.

    2. Re:GUI = fail by Anonymous Coward · · Score: 0

      You would be surprised to find out that in fact it's far more than the 1%.

      I't a shame because I really really wanted to be part of the 1%.

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

    4. 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
    5. Re:GUI = fail by Darinbob · · Score: 1

      How many GUIs at once? One reason I never liked any IDE is that they're locked into this broken format of displaying only one code window at a time. Some IDEs won't you open more than one instance (or that may be due to windows being stupid).
      I know some people who have a big full screen of just Mac terminal, but subdivided into 10 different text windows, some with shell and some with editors. Others tile their different text editor windows to make use of all the real estate.

      And you can use a gui with emacs and vim. In fact, most people do that most of the time. But the option exists for text mode. Except for Microsoft, most people seem to think that options are a good thing.

    6. Re:GUI = fail by JoeMerchant · · Score: 1

      My programming work takes me into systems land, maybe only 4 hours a month, but it happens - and being able to handle it myself means getting that work done in 4 hours, instead of spending 4 hours lobbying for the political capital to get the project approved in the IT department and then waiting a week or two (or more) for it to have it implemented, poorly.

  5. the only answer by Anonymous Coward · · Score: 0

    nano is fine for starting out....but realistically, vim or go home.

  6. 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?

    3. Re:What the fuck happened to gedit's UI? by Anonymous Coward · · Score: 1

      The only thing that sounds reasonable to me is that some / most of the Gnome core team is on Microsoft's or Apple's payroll. This is the only explanation I can possibly see for what's been done to basically every aspect of Gnome. The only way to fuck it up this bad is on purpose. Gnome 2.x was basically perfect, all it needed was polish.

    4. Re:What the fuck happened to gedit's UI? by Anonymous Coward · · Score: 1

      https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/75151

      Looks like it was finally fixed in 2012 ;-)

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

      Kate is far superior anyway, but you're right. The brats got to gedit and completely wrecked it.

    6. Re: What the fuck happened to gedit's UI? by Anonymous Coward · · Score: 0

      Same here. love Gnome shell, Gnome 3 was great upto about 3.6 then its gone bizarre.

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

      Check out pluma. It's a fork of gEdit before it got all ridiculous looking.

    8. Re:What the fuck happened to gedit's UI? by Anonymous Coward · · Score: 0

      Think of it as modern art. In the quest to be new and different and to be perceived as creative, people with weak egos and a poor sense of self-identity make stupid choices in what they present to the public as their work or their "art". Other people with similar mental and emotional issues can be counted to jump on the bandwagon, hailing some random individual work as "genius". This lets them look down on stuff that's actually done well. I suppose the lesson is that even the idiots of the world need somebody to look down upon.

  7. 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 jeffb+(2.718) · · Score: 1

      Yup. Usable once you surmount the learning curve, and ergonomic.

      I had wrist problems occasionally when I was using keyboard-only UIs, but all I ever had to do was rearrange keyboard and chair to the right positions. (Okay, WordStar on a TRS-80 Mod I was killing me, until I hacked in foot-pedals to use for Shift and up-arrow, er, Control). "Modern" pretty-much-need-the-mouse IDEs pained me enough that I went to a Fingerworks Touchstream keyboard for a number of years, even though it slowed my typing by almost half.

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

    4. Re:Have you seen Gedit lately? by Anonymous Coward · · Score: 1

      What's wrong with Gedit? It's my editor of choice! It's perfectly functional and extendable, and it could never... *checks linked image* ohdearGodWHATTHEHELL?!

      Welp, no more GNOME-related updates for me, I guess.

    5. Re:Have you seen Gedit lately? by Anonymous Coward · · Score: 0

      Anyone can learn vi in about 1 hour. You really only need an explanation between edit and command mode, about eight commands to get started, and three basic command pattern variants, and one searching pattern (fixed string)

      If that is a cliff, then you probably don't know much about menu bars.

      Now, very few people actually attempt to learn anything anymore. Instead of reaching for a "learning vi" book targeting new users, they reach for a "vi encyclopedia" book, if they reach for any book at all. Most people try to wing it, and the distance to being an effective (ie, can use) vi user can be very large if you start in the wrong directions.

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

    7. Re:Have you seen Gedit lately? by fnj · · Score: 1

      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.

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

      I'm actually agreeing with you 100%. The same points work for either one of them. Choice is a blessing. In my experience it takes no more than 5 minutes to familiarize anyone with either one of them enough to use it at kiddy level, and from there they can advance as the spirit moves them if they so desire. Back in the days of Teco and Pmate I found the same thing.

      Anybody using linux or bsd had best be prepared for occasionally getting thrown into either vi or emacs without directly typing the command. Knowing escape-colon-q-enter[*] (control-x-control-c-n-yes-enter) and escape-colon-w-q (control-x-control-s-control-x-control-c) are the simple keys of the kingdom. With vi you have the added bullshit of trying to explain you're not entering text until you first hit i to insert or a to append, but that's not that much to master either.

      The first time you DON'T hear "help, I'm stuck in some weird mode", or "help, I'm in ssh and have to edit .bashrc again", you are deeply satisfied knowing you have fostered a little competence and confidence in the new guys.

      [*] With escape-colon-q-!-enter in reserve!

    8. Re:Have you seen Gedit lately? by fnj · · Score: 1

      Have you seen Gedit lately?

      Thanks for the screenshot! Every part of Gnome has turned into stuff BY stupid people FOR stupid people. In gedit they have utterly Fisher-Price despoiled what used to be a perfectly good tool. I console myself that kwrite and kate continue to be as good as, actually better than, ever.

    9. Re: Have you seen Gedit lately? by solidraven · · Score: 1

      As time continues we have to agree more and more with Linus I guess...

    10. Re: Have you seen Gedit lately? by matzipan · · Score: 1

      Gnome 3.12 is a revealing itself as a very well designed interface.

    11. Re:Have you seen Gedit lately? by Deep+Esophagus · · Score: 1

      I have loved GEdit for years, and it's been my primary development editor because it's fast, simple, and supports language extensions. With a recent system overhaul that upgraded me to the latest'n'greatest... not so much.

      The File menu no longer exists. As the gp mentioned years of vi muscle memory, so too have I always been in the habit of hitting alt-F, S to bring up the file menu and save my work every few seconds to avoid losing that work in the event of a crash. The great thing about alt-F, S is that it's almost universal -- that same combination will save my files in most Windows-based and Linux-based environments. Since alt-F no longer maps to a File menu, the end result is that my code gets littered with "s" at the end of every other line. What on earth where the Gnomists thinking of to remove core functionality from the interface?

      Definitely going to give Kate a look.

    12. Re:Have you seen Gedit lately? by CronoCloud · · Score: 1

      I was thinking something similar: "What's wrong with gedit? it's a fairly good graphical editor if one doesn't want to use gvim or cream."

      Then I checked the image and had a WTF moment, and thought "Gedit doesn't look like that for me."

      Then I checked the version and Fedora 20 is using 3.10.4, not that crazy 3.11.x version.

    13. Re:Have you seen Gedit lately? by bhiestand · · Score: 1

      While that is correct, you are assuming vi has a steep upward slope. That was not the case for me.

      1 minute in: "Oh crap... how I do I type? How do I EXIT?"
      15 minutes in: "whew, helpful man page and articles." "cfg edited and saved. Go me!"
      1 day later: "I just deleted two lines! Crap! How do I exit without saving? Ugh... what'd that man say again?"

      A quick initial climb, a steep drop into a lake filled with tears, and then a gradual slope.

      --
      SWM seeks new sig for a brief fling
    14. Re: Have you seen Gedit lately? by Anonymous Coward · · Score: 0

      Stuff the pedantry. The axes are rather more apt to be called effort/capability when talking about "steep learning curve". Harder to learn programs generally have more capability, and thus favor the power users or pros who are both willing to invest the time to learn the interface, and need to get the most out of it.

    15. Re:Have you seen Gedit lately? by Urkki · · Score: 1

      Anyone can learn vi in about 1 hour. You really only need an explanation between edit and command mode, about eight commands to get started, and three basic command pattern variants, and one searching pattern (fixed string)

      You are drawing a false equivalency between "learn vi" and "get started with vi". Using vi before one has learned it well is... painful. Really painful. Knowing what you want to do, but not knowing how to do it in vi effectively. While at this stage of learning, not knowing many vi commands, one tries to do the editing tasks using same methods as with a more conventional text editor. And that is painful, being force to think about the editor instead of thinking about the content.

      To use vi effectively, one needs to learn an entirely new way of thinking about editing text, and that takes time before it stops being distracting. Not to mention, one needs to learn far more than 60 commands, options, settings and so on. Just pick a random vi cheat sheet / reference card, and count the items. Learning and *remembering* one per minute is kinda... optimistic.

      Then if you don't know regular expressions beforehand, you can double the time it takes for one to learn to use vi well enough for it to be practical.

    16. Re: Have you seen Gedit lately? by Anonymous Coward · · Score: 0

      I went to your Google+ account. Yep, you're a kid who doesn't have enough experience to know what a well designed interface looks like. Get a little older and you might one day realize just how much functionality we're losing with these new streamlined UIs.

    17. Re:Have you seen Gedit lately? by j127 · · Score: 1

      That's GNOME? :( I used GNOME for years, and then the interface became ridiculous right at the same time that the Unity disaster happened. It took me a long time to find a replacement, but I settled on xmonad running with GNOME Classic and it gives me something like the old GNOME but with tiled windows. I love my current setup: Vim + xmonad + Pentadactyl + tmux.

  8. 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 Anonymous Coward · · Score: 0

      I'm a Windows user and I use Geany (have been using it for about 5 years). However, I have been tempted to give Sublime Text a go.

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

    4. Re:Geany by Anonymous Coward · · Score: 0

      I agree. It's a lovely text editor and I'm using it do almost all my coding. It doesn't get in my way, it's fast and has everything I need. On Windows and Linux.

    5. Re:Geany by hawkinspeter · · Score: 1

      Double Plus agree with that. It's definitely the best choice for use with XFCE and most likely the best choice on other desktops. Does what you want and doesn't get in your way.

      --
      You're a temporary arrangement of matter sliding towards oblivion in a cold, uncaring universe
    6. Re:Geany by ignavus · · Score: 1

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

      You know, Notepad++ will run perfectly fine in Linux under Wine. It isn't that hard to install and use. I have Notepad++ and TextPad on my Linux desktop right now.

      The Linux police don't come and arrest you if you install your favourite Windows programs in Linux.

      --
      I am anarch of all I survey.
    7. Re:Geany by Anonymous Coward · · Score: 0

      Geany is outstanding, I'd been using vim but when i switched to manjaro last year, geany automatically opened up and made me incredibly happy. It is by far the best currently updated and maintained text editor out there, it has minimal dependencies and doesn't make me want to throw my computer in the trash and move to the forest, where after 30 years, maybe I'll construct an abacus. because that's what gedit does.

  9. There can be only one.... by ccanucs · · Score: 1

    vi or nothing. Not vim, not gvim, nvi or anything else. No A, B, C or D. :-)

    1. Re:There can be only one.... by TheMatt · · Score: 1

      Bah! Young whippersnapper! We all know ed is the standard Unix text editor. In truth, I can barely use ol' vi now. I need the niceness that is vim.

      --

      Fortran programmer...oh yeah. Array math for life!

    2. Re:There can be only one.... by Anonymous Coward · · Score: 0

      No Bloody...

    3. Re:There can be only one.... by Anonymous Coward · · Score: 0

      ed...

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

    5. Re:There can be only one.... by Darinbob · · Score: 1

      dd of=/dev/hd1a seek=1172 conv=sparse

    6. Re:There can be only one.... by ccanucs · · Score: 1

      Well I was going to talk about ed - acutally I was going to mention ex first and then work back to ed - but I thought folks might not know what they were ;-)

    7. Re:There can be only one.... by ccanucs · · Score: 1

      Besides... ed's luxury... By, - when I were't lad we used to toggle in t'code from t'front panel by 'and in octal. None of this fancy editor nonsense...

    8. Re:There can be only one.... by Anonymous Coward · · Score: 0

      I know one dude who actually uses cat and echo to add things to files, it was quite odd to see.

    9. Re:There can be only one.... by WillKemp · · Score: 1

      Octal? Surely you mean binary. Or did it have 8-way switches? The machines i used to patch via the front panel toggle switches had 16 bit words, so we thought in hex.

    10. Re:There can be only one.... by WillKemp · · Score: 1

      Yeah, i do that quite a lot. Not echo usually, just cat. And not usually to add things (it's too easy to miss out an angle bracket and overwrite what's already there), but frequently to insert text in a new file.

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

    12. Re:There can be only one.... by david_thornley · · Score: 1

      It's much better when people who can program learn Perl, that's true.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
    13. Re:There can be only one.... by ccanucs · · Score: 1

      You're right. It was an octal keypad - not a set of toggle switches. My bad. PDP 11/34.

    14. Re:There can be only one.... by ccanucs · · Score: 1

      Not seen much Star Trek I take it ;-)

    15. Re:There can be only one.... by ccanucs · · Score: 1

      Agreed - I teach Perl programming. I *try* not to teach it to people who can't program, but you never know who will turn up in a class...

    16. Re:There can be only one.... by ccanucs · · Score: 1

      I write of the order of tens of thousands of lines of Perl a year. Most of it runs for years without any need for debugging. Easier to write something that works correctly the first time. At least - I find it so. And, yes, I program in quite a number of other mainstream languages too - as well as a number of others that aren't like APL and Prolog. But - this thread was about vi ;-)

  10. 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: 0

      there is gvim for windows though...

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

      You might find it useful to stick the portable version of ConTEXT on a USB drive:

      http://www.contexteditor.org/i...

      It hasn't been developed for 6 years, but I still have it installed just for its ability to open text files of several hundred megabytes in seconds. It's great as a lightweight editor for Windows.

      --
      "Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
    3. Re:depends on what you're doing by Krishnoid · · Score: 1

      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.

      One option here is to run a portable editor -- emacs also works in this mode -- from a shared drive or usb stick. You can try them all and if you don't like any of them, just delete the directory -- no uninstallation, system files, or registry settings to worry about.

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

    5. Re:depends on what you're doing by Anonymous Coward · · Score: 0

      I started using gvim on windows and I never looked back. Give it a try:
      http://www.vim.org/download.php#pc

    6. 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).

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

    8. Re:depends on what you're doing by roc97007 · · Score: 1

      And gvim is much lighter weight than a full cygwin solution. Good suggestion.

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

      Roc --

      There is always this installer: ftp://ftp.vim.org/pub/vim/pc/gvim74.exe on this site: http://www.vim.org/download.php

      -- kjh

    10. Re:depends on what you're doing by Anonymous Coward · · Score: 0

      I tend to use vi most of the time, largely out of habit. As the above poster pointed out, vi is available on almost all Linux/BSD/UNIX platforms, making it nearly universal. That is good to know for times when one needs to remotely access a server.

      On the other hand, when I am sitting at a GUI I tend to make use of GUI tools. Specifically, I am a big fan of kwrite. It does a pretty good job, includes spell-check and can handle syntax highlighting.

    11. Re:depends on what you're doing by roc97007 · · Score: 1

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

      You have a point. I wrote a menu system in Windows Shell once, just for the experience. Had a headache for days afterwards. That is one twisted language. I've heard about powershell, but never bothered with it. If you're going to do any reasonable amount of scripting, cygwin is invaluable.

      --
      Oliver's law of assumed responsibility: If you're seen fixing it, you will be blamed for breaking it.
    12. Re:depends on what you're doing by macshit · · Score: 0

      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.

      It's not installed by default on Debian.

      You can easily install it, of course, but you can easily install a bazillion text editors....

      --
      We live, as we dream -- alone....
    13. Re:depends on what you're doing by Darinbob · · Score: 1

      Not just scripting, but I can't imagine how to do any development work without grep or find. I even pull open the shell to do basic stuff when I use windows for games (ie, finding and editing the config files).

    14. Re:depends on what you're doing by Anonymous Coward · · Score: 0

      Oh sure, post a link to an .exe file. Like we're falling for that.

    15. Re:depends on what you're doing by ccanucs · · Score: 1

      First thing I do on almost any Windoze system is to install a full Cygwin setup. Makes it usable ;-)

    16. Re:depends on what you're doing by JoeMerchant · · Score: 1

      Or, break down and download Notepad++ - it's what notepad should have been in Windows95.

      Of course, I once tried to train a Nurse how to use edlin, because it was the only thing her boss provided her to work with on her new desk decoration (1985ish).

    17. Re:depends on what you're doing by Anonymous Coward · · Score: 0

      Yes it is, vi is part of the basic install as per POSIX standards.

    18. Re:depends on what you're doing by WillKemp · · Score: 1

      If i have to use Windows, i install Geany - which is what i use on Linux in gui mode anyway. I only install Cygwin if i need more than just an editor.

    19. Re:depends on what you're doing by Anonymous Coward · · Score: 0

      Aside from that, we all vi stands for Very Intuitive.

    20. Re:depends on what you're doing by multimediavt · · Score: 1

      I've worked in academia for a while and early in my 20+ year career I learned vi simply because it WAS on every *nix variant I touched; IRIX, Solaris, HP-UX, Linux, AIX and a couple others I can't remember the names of (DECs *nix's name escapes me, for instance). Most *nix servers didn't have a GUI (and in my opinion shouldn't have one; yeah, get off my lawn, blah, blah, blah) so vi was almost compulsory to know if you needed to do anything with a config or script file. I wouldn't say I am a master at vi by any means; still look up commands from time to time. I wouldn't try writing a journal article with it, but it is powerful and once you learn the basics you can edit just about anything with a .txt at the end of it. Simple 3x5 card with the commands on it is all you need to be proficient enough to get most things done. Hell, a Post-It note would do.

      In GUI environments I try to use bare bones editors (sometimes literally) as the others just get in the way or like NotePad and WordPad screw up line feeds and other basic UTF formatting. I do like ones that highlight code in the GUI environment, but I only use those in conjunction with other GUI tools I use for web work. I am just not impressed by any of these new GUI editors, mostly because I do UI/UX design and they just suck from that standpoint. It's like all we learned about proper GUI design in the 1980s and 1990s was forgotten, or something and everyone wants to reinvent the wheel, badly. [shakes head and goes back to coding]

    21. Re:depends on what you're doing by Anonymous Coward · · Score: 0

      Notepad is so nasty to use that I find myself installing textpad or cygwin on the machines where I do most of my work.

      Fret not. Someone's bound to produce a cross between Wordpad and Powershell very soon now

    22. 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...
    23. Re:depends on what you're doing by Anonymous Coward · · Score: 0

      Except that the POSIX layer was mostly useless. The important stuff you needed resided in the WIN32 layer, things like networking.

    24. Re:depends on what you're doing by fnj · · Score: 1

      I find it pretty amusing that something called PortableApps seems like it only supports Windows.

    25. Re:depends on what you're doing by user317 · · Score: 1

      you know you can do 'vi scp://user@host:port/' so you dont actually need a vi installed on the remote machine just sshd.

      --
      me fail english? thats unpossible
    26. Re:depends on what you're doing by Rutulian · · Score: 1

      Simple 3x5 card with the commands on it is all you need to be proficient enough to get most things done. Hell, a Post-It note would do.

      That's just the point. I shouldn't need to refer to a reference sheet, notecard or otherwise, to edit a bloody text file!. I shouldn't need to spend two hours learning the difference between !#*$ and ?!$& just to go between a bunch of nonsensical modes (view, edit with insert, edit with overwrite, edit the end of a line, edit the middle of line, blah blah blah) in vi just to edit a text file. It is retarded.

      With nano, you have a basic intuitive text editor. Navigate with the cursor keys (amazing, imagine that!), edit with backspace, delete, and just type letters to insert them ( more shocking things). When you need to save and quit, there is a help text at the bottom of the screen, Ctrl-x. That's it and that's why I like nano and hate vi. On top of that, nano is small and efficient and easily fits in a minimal environment. There is really no reason to not have it as a default text editor in any distribution.

    27. Re:depends on what you're doing by jafac · · Score: 1

      well, there's always vi in cygwin.

      --

      These are my friends, See how they glisten. See this one shine, how he smiles in the light.
    28. Re:depends on what you're doing by david_thornley · · Score: 1

      At work, I use a set of tools to accomplish what I have to do, and they don't run on cygwin. At home, I use Windows primarily to play games, and cygwin doesn't help me there. I also write fiction on it, and have gVim. Serious programming is done on the Linux box. I really have no use for cygwin.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
    29. Re:depends on what you're doing by david_thornley · · Score: 1

      Powershell has some neat ideas, and is quite useful, but it's not really like any scripting language you're likely to be familiar with. If you do a lot of utility stuff on Windows, it's worth learning.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
    30. Re:depends on what you're doing by david_thornley · · Score: 1

      Maybe I should just write some of those utilities in Strawberry Perl.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
    31. Re:depends on what you're doing by cbhacking · · Score: 1

      Um... no? Networking is handled natively by NT, and both the Win32 and POSIX subsystems call into it. The network interface was exactly your standard Berkeley sockets, without WinSock initialization or special headers or anything like that.

      I'll grant you that the underlying implementation of networking in SUA is a little funky - the ports are owned by psxss.exe, the native application that implements the "POSIX Subsystem Server" (similar to csrss.exe, which is the Win32 subsystem server) - but from the user perspective it works fine. OpenSSH (including server), git, svn, wget and curl, python, ruby, perl, links and lynx, Apache... hell, I even *wrote* some networked software for the subsystem, 5k lines of C that needed a total of five #ifdefs, most of just one line each, for portability to Linux as well (the main one that stands out in my mind was getting the MAC address; the IOCTL interface in the subsystem was present but a bit limited).

      --
      There's no place I could be, since I've found Serenity...
    32. Re:depends on what you're doing by amicusNYCL · · Score: 1

      The entire program is Windows-only (hence my reply to a guy saying that his text editor strategy breaks down on Windows). The ConTEXT project was ultimately sold because the developer was moving to a Linux environment, actually. The community raised over $10k to buy it from him, we got outbid by a d-bag who swooped in at the last minute (easy to do when our donation total was public), he proceeded to do exactly jack shit with the program, and we gave the money to the developer anyway. It's a fast, lightweight text editor for Windows though, with a decent compare tool. It's my tool of choice when I need to open text files that are very large. Note that version 0.98.6 was not released by the new owner, just re-branded. Every downloadable version of ConTEXT was created by Eden Kirin, regardless of what the About menu says.

      --
      "Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
    33. Re:depends on what you're doing by Anonymous Coward · · Score: 0

      Your entire last paragraph is predicated purely upon your preference. You say it's a "basic intuitive text editor" and that's fine, but you left out that it's a "basic intuitive text editor" for you and people who think like you. I've been using Unix-like systems for a long while but not as long as some, I was a child through most of the '90s so it's not like I'm stuck in the past. You can very easily "edit a bloody text file!" in vi(m) without reference material after one quick Google or a question to a fellow sysadmin and you know it for good (i, edit away, esc, :wq). It's really not that hard to memorize and if it is you should probably be in a different job.

      The truth is that nano has become a standard go-to for the Ubuntu generation because it fits the simplicity paradigm that they endeavor to advance. The kinds of emotional arguments and reactions that parent here puts forth are, in my opinion, the result of fear that they might find out they don't really know as much as they think. I could be wrong, maybe you're a bearded Unix hack who best buds with Dennis Ritchie, I don't know. My guess though is that you "hate vi" because it's strange and foreign to you and if you humbled yourself, took the time to learn some simple, easily memorizable things you'd probably change your tune.

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

      My guess though is that you "hate vi" because it's strange and foreign to you and if you humbled yourself, took the time to learn some simple, easily memorizable things you'd probably change your tune.

      No, it's really that I already have to know and be familiar with a number of things. I've used vi, very frustratingly, maybe three times. I don't care to spend more time learning it because i see it's complexity as just completely unnecessary. When I already have to know how to configure a dozen different services off the top of my head, manage cross-distribution complexities, script in half a dozen different languages, and keep up with new stuff coming out every month, the last thing I need is to keep a bunch of completely non-intuitive random letters and symbols in my head to do very basic every day things. I'll stick with nano, thanks.

    35. Re:depends on what you're doing by roc97007 · · Score: 1

      Aside from that, we all vi stands for Very Intuitive.

      I'm not a vi fanatic, I use it because it's commonly available, not because it's particularly powerful or intuitive.

      Back in the old days, when IBM PCs weren't yet everywhere and people were still commonly using terminals, I used to tell new users to play Rogue for an hour or two before trying to learn VI. It helped.

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

      Either that, or perhaps more insightfully, learn how to use what Windows provides rather than try to mold it to match another operating system. PowerShell has been a part of Windows since Vista and is Microsoft's answer to bash. There are some similarities, but in many cases PowerShell is better for Windows purposes rather than Cygwin/MinGW because it understands the concept of objects which are how Windows communicates with all its various component.

      Again, I'm not saying that PowerShell is better than bash or sh or an equivalent Linux workspace. But if you're gonna use Windows, empower yourself by understanding how to bend the OS to your will with what it provides rather than attempt to create a poor knock-off just because you're rather not learn something new.

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

    2. Re:Ed man! !man ed by CaptnZilog · · Score: 1

      And if you know ed, you know edlin for windows/dos.
      Believe it or not, I've had some machines so messed up at times, or on such slow connections, knowing ed/edlin came in handy.

    3. Re:Ed man! !man ed by Arker · · Score: 1

      Absolutely. For simple text file editing, it really cant be beat. No wasted time, you type what you want and it does it, end of story. You can even use it in scripts! The ideal tool for many, many jobs.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    4. Re:Ed man! !man ed by macshit · · Score: 1

      I occassionally use ed even on normal machines while I'm running X... it does a fine job on simple little edits, and just feels so nice and lightweight, it doesn't even clear the terminal.... (which can be handy, e.g. when you want to preserve your terminal context)

      --
      We live, as we dream -- alone....
    5. Re:Ed man! !man ed by sgt+scrub · · Score: 1

      lol! and how the hell is this flamebait?

      --
      Having to work for a living is the root of all evil.
    6. Re:Ed man! !man ed by dbIII · · Score: 1

      Used to use it on Xenix (a LOT) for general text and used it to do a Solaris root password reset about ten years ago but I'd never voluntarily go back if vi is available.

    7. Re:Ed man! !man ed by multimediavt · · Score: 1

      Brought to you by qed. The first to bring you regular expressions.

    8. Re:Ed man! !man ed by amaurea · · Score: 1

      Is this a tiny "whoosh?". The file size and interaction are two of many intentional exaggerations in that joke. Here are the ones I spotted:

      1. The ed manual isn't actually that short.
      2. Ed isn't just 24 bytes large
      3. Ed wasn't written in 1929 - the first version came in 1971
      4. Vi wasn't written in 1970 - the first version was from 1976
      5. Emacs isn't actually 5.89824e37 bytes large
      6. Vi is installed in a non-standard directory with the "temporary" bit set
      7. Ed is not quite as horrible to use as the example makes it out to be, as you mention

      (Aslo, you mean symlink, not hardlink. A hardlink is indistinguishable from the original file, including its size).

    9. Re:Ed man! !man ed by John+Allsup · · Score: 1

      When I first played with Linux in 1995, with no *nix experience, I recall the situation of getting trapped in ed or vi. After trying various random key combinations, I discovered that Ctrl-Z got me back to a command prompt, then jobs -l gave a list of stopped jobs with PIDs which I could pass to kill -9. That restored sanity. Years later I actually got round to learning vi(m) after hearing from a local sysadmin how useful it was, and by then there were tutorials online that eased you into it. The thing I'm most grateful for with vim is how I can get a command prompt on windows, mac, linux, or over ssh to my webhost, and the environment works the same way. But for things like android programming I tend to follow the sheeple and use eclipse/android-studio and I'm beginning to get into Code::Blocks for some things. I've thought for years of writing my own vim-like editor as an exercise, but haven't got round to it yet.

      --
      John_Chalisque
    10. Re:Ed man! !man ed by david_thornley · · Score: 1

      Too many bad memories. Like why I won't allow a COBOL compiler in the house.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
    11. Re:Ed man! !man ed by Anonymous Coward · · Score: 0

      -rwxr-xr-x 1 root 24 Oct 29 1929 /bin/ed

      lol, that's a thing of beauty, man!

  12. 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
    1. Re:Please tell me I'm wrong... by taoboy · · Score: 1

      +1 for joe. I put a copy of it on every ttylinux VM I make, right after GNU tar. I forget why.

    2. Re:Please tell me I'm wrong... by Anonymous Coward · · Score: 0

      vi can be used in "ex" mode, i.e. line mode.

    3. Re:Please tell me I'm wrong... by Anonymous Coward · · Score: 0

      +1 I usually use Vim and nano when I'm updating config, I like to work on console.

    4. Re:Please tell me I'm wrong... by mspohr · · Score: 1

      “Ed is the standard text editor.”

      Ed, the greatest WYGIWYG editor of all.

      --
      I don't read your sig. Why are you reading mine?
    5. Re:Please tell me I'm wrong... by Em+Adespoton · · Score: 1

      Why not just use ed? It should already be there....

    6. Re:Please tell me I'm wrong... by Anonymous Coward · · Score: 0

      "Deal with vi"? Are you retarded? vi (and vim in particular) is all you need, ever.

    7. Re:Please tell me I'm wrong... by packrat0x · · Score: 1

      Joe's Own Editor. Read the top line (press ctrl-k [then] h for help) . It's soooo hard to learn.

      --
      227-3517
    8. Re:Please tell me I'm wrong... by taoboy · · Score: 1

      Why not just use ed? It should already be there....

      I remember now. This was the nano equivalent on Slackware long ago, and it gave me the same navigation keys as Wordstar. And now I'm too old and cranky to change. So there.

  13. text editors by Espectr0 · · Score: 1

    i would like some text editors reviews as well, like nano, joe and others

  14. Try Sublime in 'vintage' mode. by Marc_Hawke · · Score: 1

    That's why I use Sublime Text. It has a 'vi' mode that works very well. (Well, it does the most common functions, but if you're a grand-master vi wizard you'll easily find things it doesn't do.)

    That was the primary reason I allowed myself to try it. 'come for the 'vi' stay for everything else.' The good news is that it's a top-notch editor even without vi. The 'overview' slider on the right side is brilliant. There's a vibrant 'plugin community', and it's very customizable. Also it's multi-platform so I'm using exactly the same Editor on my Windows box at work as well as my Gnome sessions at home.

    (I still use vi in my terminals.)

    --
    --Welcome to the Realm of the Hawke--
    1. Re:Try Sublime in 'vintage' mode. by Anonymous Coward · · Score: 1

      I just tried it. It doesn't support Control-F or even :q / shift-zz. (at least by default). Not good enough.

    2. 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--
    3. Re:Try Sublime in 'vintage' mode. by Anonymous Coward · · Score: 0

      I tried, but I keep going back to vim. I took a sip of the koolaid which says something other than vim *must* be better.

      The 'overview' slider on the right I find to be a distraction which provides no substantive advantage whatsoever. yes, yes, switch it off, etc.

      The 'vintage' mode plugin helps, but doesn't work perfectly either (default mode is insert still, so that's fucked me up a few times).

      The autocomplete plugin for tags (.tags, fuckit, have to use ln to symlink) is nice, but I had an issue with it too, don't recall exactly what.

      So, back to vim and being productive.

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

    1. Re:Obligatory xkcd cartoon by multimediavt · · Score: 1

      And the congregation says, AMEN!

  16. When I'm editing on one of our Linux servers by 93+Escort+Wagon · · Score: 1

    I'm generally using BBedit from my Mac. SFTP is my friend.

    Besides, who wants all the extra kruft that goes along with Gedit or Kate on a server? In that case it's not the editor I'm objecting to - it's the 100 other required packages that go along with it.

    --
    #DeleteChrome
    1. Re:When I'm editing on one of our Linux servers by multimediavt · · Score: 1

      Extra "kruft" from a person that uses BBEdit?!?!?! You want less kruft, try TextWrangler. And who runs a GUI on a goddamn server?!?! Even Microsoft finally gave it up, FCOL!

    2. Re:When I'm editing on one of our Linux servers by muffbagmuffbagmuffba · · Score: 1

      Besides, who wants all the extra kruft that goes along with Gedit or Kate on a server?

      If you want to use Kate to edit files on a server:

      File > Open > fish://servername/path/to/file

      More about fish: http://en.wikipedia.org/wiki/F...

      That's just one thing I love about Kate. Something else I like is the 'map' of the file you're working on, in the scroll bar.

      Settings > Configure > Editor Component > Appearance > Borders > Show scrollbar mini-map.

      Screenie: http://docs.kde.org/stable/en/...

  17. You're welcome to them. by Anonymous Coward · · Score: 0

    Why do you think that it may not have been wise for you to do that? I did it and I think it's worthy.

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

  19. Lugarus Epsilon is still the best editor. by Anonymous Coward · · Score: 0

    So there!

    1. Re:Lugarus Epsilon is still the best editor. by NotSanguine · · Score: 1

      So there!

      That takes me way back! I have some Epsilon 3.3 install disks around here somewhere -- perhaps I'll fire it up.

      Then again, it's was just emacs for DOS/Windows.

      --
      No, no, you're not thinking; you're just being logical. --Niels Bohr
  20. But EMACS has butterfly mode... by 140Mandak262Jamuna · · Score: 4, Funny
    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
  21. I still use nedit, thought it hasn't had any decent upgrade in years. Nonmodal (modal is why I don't like vi/vim), simple, easy to hack regex based syntax highlighting (though that can be tripped up sometimes - I'm looking at you Perl), simple enough to get out of your way (I'm looking at you emacs), and fast with no lag (I'm looking at you jEdit).

    1. Re:nedit by Anonymous Coward · · Score: 0

      I still use it too. I use it for the ease of making macros to manipulate text. If I don't need macros then pico/nano are my goto editors.

      Bonus: Captcha = Scrawls

    2. Re:nedit by inline_four · · Score: 1

      I love nedit also. Nobody seems to be familiar with it, but between the editor and all the standard POSIX and modern version control commands, I don't know what else I need unless there is a complicated SDK involved.

      --
      Alexey
  22. Cowards! by penguinoid · · Score: 1

    Mayank Sharma of Linux Voices tests and compares five text editors for Linux, none of which are named Emacs or Vim.

    Real men don their asbestos suit and compare the most useful and popular text editors as well. What's next, are we replacing car analogies with analogies to tunnel boring machines (so that we can compare something no one knows to something else no one knows)?

    --
    Don't waste your vote! Vote for whoever you want, unless you live in a swing state it won't matter anyways
  23. Nano? by Anonymous Coward · · Score: 0

    I like Nano more than Vi when SSH'ing. Just seems easier and does all that I need it to do.

  24. Jed by Anonymous Coward · · Score: 0

    Where's Jed? Why isn't anyone mentioning Jed? It's got Emacs bindings, it's really light-weight, and available by a simple apt-get.

    1. Re:Jed by Anonymous Coward · · Score: 1

      Where's Jed? Why isn't anyone mentioning Jed? It's got Emacs bindings, it's really light-weight, and available by a simple apt-get.

      Apt-get? I use Fedora, you insensitive clod!

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

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

  25. Jed by magi · · Score: 1

    Where's Jed? Why isn't anyone mentioning Jed? It's got Emacs bindings, it's really light-weight, works on command-line, and is available by a simple apt-get.

  26. "Fancy text editor"? Really? by Anonymous Coward · · Score: 0

    If you think any of these editors is "fancier" than VIM, you probably shouldn't be posting about text editors on the internet.

  27. My favorite dig on emacs by Sowelu · · Score: 0

    "Emacs is a great operating system, if only it had a decent text editor!"

    1. Re:My favorite dig on emacs by Arker · · Score: 1

      "Emacs is a great operating system, if only it had a decent text editor!"

      Nice dig but quite out of date. Check out EVIL.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
  28. None of the Above are Much Good with ssh Sessions by kjhambrick · · Score: 1

    All --

    None of the Gooey Editors mentioned are much good on remote terminal sessions.

    Learn the basics for vi and you'll always be able to fix a remote host via a text-only console session,

    Second place goes to emacs in my list because it's not available by default on all flavors of *NIX.

    Otherwise, JED, JOE, NANO, PICO, etc are out there for the taking.

    -- kh

  29. What the FUCK by Anonymous Coward · · Score: 0

    No Emacs? What the fuck is this shit!? No one gets anything of value done in Linux without Emacs!

    1. Re:What the FUCK by Anonymous Coward · · Score: 0

      PIPE THE FUCK DOWN NECKBEARD

  30. 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
    1. Re:Who else makes this mistake? by Anonymous Coward · · Score: 0

      Wouldn't you easily notice if you accidentally typed that?

    2. Re:Who else makes this mistake? by Nimey · · Score: 1

      Vim's available for Windows, it looks a lot like Gvim.

      --
      Hail Eris, full of mischief...

      E pluribus sanguinem
    3. Re:Who else makes this mistake? by multimediavt · · Score: 1

      Oh yeah! You think that's annoying, try typing 'ls' into a Command Prompt session on Windows. Instant D'oh! instead of delayed D'oh! Fucking hate WIndows!

    4. Re:Who else makes this mistake? by CronoCloud · · Score: 1

      You mean "ZZ". :-)

  31. 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 shadowknot · · Score: 1

      It's a matter of preference and consistency for me. I've been using vi/vim for more than 15 years and have it as my default editor on my desktop so I have the same environment whether I'm ssh'd to a system I manage or editing scripts locally. I feel that my motivations for doing so are far from retarded!

      One thing that has been a challenge is learning XEDIT under z/VM in the last couple of years. Many a REXX EXEC has ended up with a :wq on the last line I was editing!

    2. Re:I used to teach Linux. by Anonymous Coward · · Score: 0

      I am die hard emacs. I can use vi. More importantly, I can use ed. And yes, I have had to once on a remote assignment. I highly recommend Oreilley's "Sed and Awk" for an introduction to text processing (that's where I learned ed). But I also highly recommend learning GNU emacs. It is so powerful. I learned a lot of things for a few years, then I have been a GOD for decades. I fully acknowledge I have barely scratched the surface of the tool.

    3. 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!

    4. Re:I used to teach Linux. by Tough+Love · · Score: 0

      Thats fine. Knowing vi 'because its there' is why I know vi.

      Using it by choice? Retarded.

      +1. These days, Nano is pretty much always there. At least it is modeless, you pretty much already know how to use it.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    5. Re:I used to teach Linux. by tlhIngan · · Score: 1

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

      Assuming you have ncurses set up properly.

      Vi works even if all you have is a line-oriented TTY. Kind of disorienting to use (it's really a one-line high version of vi) because each time you move up or down, the previous line goes up. Works fine if you go down, but going up means your scroll buffer is filled with text in the wrong order.

      Yes, I had to deal with a serial console on a machine where ncurses was not working.

    6. Re:I used to teach Linux. by flyingfsck · · Score: 1

      Wordstar!? You should use ed, because it is the standard: http://c2.com/cgi/wiki?EdIsThe...

      --
      Excuse me, but please get off my Pennisetum Clandestinum, eh!
    7. Re:I used to teach Linux. by mikael_j · · Score: 1

      I absolutely hate it when people at work have changed the default editor on a system to nano, always catches me off-guard and I can never remember the key bindings...

      --
      Greylisting is to SMTP as NAT is to IPv4
    8. Re:I used to teach Linux. by CronoCloud · · Score: 1

      Assuming you have ncurses set up properly.

      Yes, I had to deal with a serial console on a machine where ncurses was not working.

      Ouch! How long ago was that?

    9. Re:I used to teach Linux. by Anonymous Coward · · Score: 0

      Well, yeah, except nano exists.

    10. Re:I used to teach Linux. by Tough+Love · · Score: 1

      Wow, that was the weirdest mod ever. Modded down for liking stating a preference for modeless editor? Now I am convinced that vi causes changes to the brain.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    11. Re:I used to teach Linux. by Tough+Love · · Score: 1

      I absolutely hate it when people at work have changed the default editor on a system to nano, always catches me off-guard and I can never remember the key bindings...

      Try the arrow keys.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    12. Re:I used to teach Linux. by hobarrera · · Score: 1

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

      WordStar rules!

      If you had access to that machine and got a chance to manually install it before the graphics subsystem failed. What happes if you didn't?

  32. jEdit Should Have Ranked Better by Maltheus · · Score: 1

    Seems like they knocked it because of the Java and it wasn't Fedora/RPM friendly. But I've been through all of these and the plugin capabilities put jEdit on top IMO. With a little customization, it easier becomes the most powerful of the lot. The other editors are just Notepad clones by comparison.

    1. Re:jEdit Should Have Ranked Better by Anonymous Coward · · Score: 0

      Jedit isn't as friendly... but once you settle in to it, and setup your env the way you like it, you'll find jedit bends nicely to everyones will.
      IMHO the only thing jedit it sorely missing is a solid collaborative editing plugin/system. I have emac friends, visual stuido friends and vi friends.. they all kinda like jedit as a middle ground between a notepad editor and a full blow ide. But they echo the same problems listed here... Lack of a cohesive community. Lack of visible hoppla when they update... But its an OLD and stable application, and its pretty nice now... theres not too much needing fixed.... I'm not sure they need DAILYs at this point.. :)

  33. Joe's Own Editor by astro · · Score: 1

    As a kid I grew up on Wordstar (running on CP/M, on an Osborne 1) and as such joe (http://joe-editor.sourceforge.net/), which is more or less a command-compatible workalike to Wordstar, suits me perfectly. While it is still available and updated reasonably regularly, it is getting harder to find / install easily for modern *nix systems. I love joe, though, I don't even have to think to use it.

    1. Re: Joe's Own Editor by Anonymous Coward · · Score: 0

      The Borland products emulate keyboard commands from WordStar so Joe is the natural choice for any developer that had to suffer with programming with DOS or early Windows. Probably 90% of my coworkers used TurboC or TurboPascal so Joe is the best editor for us.

    2. Re:Joe's Own Editor by Anonymous Coward · · Score: 0

      I really hope joe stays alive... I've been using it as a developer since 1996 and while I've used jedit/nano/vi/gedit/sublime/eclipse I find myself coming back to joe time and time again.

    3. Re:Joe's Own Editor by Anonymous Coward · · Score: 0

      though, I don't even have to think to use it.

      I use vi for sysadmin type stuff (only when I have to) but all of my coding (for the past 20+ years) has been in joe. It's a great editor for coding. It's feature rich enough that I can do almost anything I need to with a few keystrokes. It loads fast enough even on my ancient hardware that I can start and stop sessions when I need to. It doesn't try to do anything else besides be a great editor.

      For those who, like me, despise the concept of an IDE where you do everything and never leave it, joe is a great tool. I don't know why this editor isn't more popular.

  34. vi CAN run in the browser, or plugin lynx by raymorris · · Score: 1

    There are assorted plugins to integrate vim and other vi-like editors with web browsers. So I might be using vim keystrokes to write this. Alternatively, a vim plugin can also call lynx. I'm not sure why you'd want to do the latter. The former might be handy if just avoid accidentally ending your posts like this. :wq

  35. maybe nobody prioritizes lightweight and Emacs by raymorris · · Score: 1

    Emacs bindings and light weight, eh? Maybe nobody who cares about light weight is accustomed to emacs and vice versa.

  36. My Personal Favorite by Sanians · · Score: 1

    My personal favorite is 'le' simply because its the only one I've found that doesn't obsess over whitespace. It isn't that way by default, you have to configure it from its 'exact' mode which is like most editors into 'text' mode, but at least it has the option unlike most editors. When in 'text' mode, when you push the right arrow while at the end of a line, the cursor just continues to go to the right, and doesn't do anything retarded like go down to the beginning of the next line.

    Honestly, why nearly every editor does that, I have no idea. Just drives me fucking insane when I press the right arrow and the cursor goes to the left of the screen, or when I use the up/down arrows and the cursor completely disappears from anywhere I might look for it because the next line is longer/shorter than the previous one and so the editor has decided the cursor should now be at some other column. I don't care where spaces are or are not in the file. Indeed, I'd prefer the editor strip the file of all spaces not used for indentation when it saves, because spaces just don't fucking matter. Same with tabs, don't use them, just indent with spaces.

    I wish I could find a GUI editor that works the same way, but aside from the author of 'le', everyone seems to think that where spaces are or are not in a text file is so critically important that anyone editing the file shouldn't be permitted the luxury of just putting the cursor where they want letters to be and typing them there, but instead they must be forced to add the spaces manually and only then be permitted to type what they want.

    1. 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
    2. Re:My Personal Favorite by John+Allsup · · Score: 1

      Of course, you could use a few Bash aliases for fun.

      Who needs :47,80s/hello/world when you can do

      mknod -p a b c
      head -n 47 myfile > a & tail -n $(($(wc -l myfile) - 80)) myfile > c & ( head -n 80 myfile | tail -n $((80 - 47)) | sed -E 's/hello/world/' ) > b & (sleep 1 ; cat a b c > myfile.version2)

      on the command line.

      Caveat, this has neither been run, nor tested, so may need debugging.

      --
      John_Chalisque
    3. Re:My Personal Favorite by Sanians · · Score: 1

      Are you serious?

      Well, just in case: I'm talking about spaces at the end of a line. The ones you can't even tell are there unless you're using one of those text editors which, if the spaces aren't there, will move your cursor down to the next line if you press the right arrow key.

      With 'le' set to 'text' mode, you can move the cursor as far to the right of the line as you like, whether there are spaces there or not. When you type, if it needs to, it'll add enough spaces so that what your type can be where you've moved the cursor to. Then, when it saves the file, it'll strip off any unnecessary spaces at the end of lines.

    4. Re:My Personal Favorite by msauve · · Score: 1

      sed 's/[ \t]*$//'

      --
      "National Security is the chief cause of national insecurity." - Celine's First Law
  37. Let me show you my etchings... by Anonymous Coward · · Score: 0

    While everyone (who doesn't live under the rock that is vi/emacs) is sucking Sublime's dick these days, I'll say one thing -- at least jEdit has a free (S)FTP plugin. You have to pay $90 dollars to have Sublime and a shitty SFTP plugin. That's not even a frugal ass whore.

  38. All you need is Vim by Murdoch5 · · Score: 1

    Vim, GCC and GDB, the best software development system on the market.

    1. Re:All you need is Vim by jd · · Score: 1

      Have you seen Linus' opinion of recent GCCs? My web browser melted from the heat.

      --
      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)
    2. Re:All you need is Vim by Murdoch5 · · Score: 1

      Yep, I'm running the 4.5 patched compiler, works great.

  39. TECO! by megalomaniacs4u · · Score: 1

    pff no one mentions teh grand daddy - TECO
    where line noise is an executable!

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

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

  41. echo $EDITOR by stridebird · · Score: 1

    /usr/bin/vim

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

  43. Gedit is so slow to start by dbIII · · Score: 1

    Gedit is so slow to start that it has been used as a strawman as to "why X is bad" instead of the more accurate "why is this new gnome stuff so much slower than the old gnome stuff?"

  44. Re:xkcd isn't original. It just drops references. by dbIII · · Score: 1

    It's because xkcd isn't original content. It just takes existing observations,

    Just like political cartoons and a pile of three panel strips. It's what they do.

  45. Welcome to the flamewars by Anonymous Coward · · Score: 0

    Newbs. Now it's like Rock Paper Scissors Lizard Spock for text editors.

  46. Atom.io by Windwraith · · Score: 1

    I've been trying to like Atom.io lately. The latest Ubuntu packages have been pretty good in terms of memory and speed compared to the initial release, and seems to be becoming more interesting.

    While my editors of choice are Kate (or the embedded kate-part in Krusader, same thing), and Geany, I've been wondering if anyone else is taking a shine to Atom. Any feedback or opinions?

    (Yes, I am aware that using webkit is bloated as all hell, but if it ultimately manages to put more features I like than the others, I am not having second thoughts on using it.)

  47. Anybody used AEDIT on RMX? by Anonymous Coward · · Score: 0

    Now I use its clone mbedit (http://www.braun-home.net/michael/mbedit/index.htm) on Linux, Windows, and even MACs.

  48. Meeh by jones_supa · · Score: 1

    Lots of text editors are garbage. Notepad++ looks amateurish, or do you think that any professional program would name one of its tabs "MISC."? Sublime Text is not any better as it does not have proper configuration dialogues at all (a proper graphical program should have). Vim and Emacs have some cool features but the keybindings are unnecessarily unintuitive. If those two didn't have the hacker legacy and they were invented today, no one would use them. I surely am an angry man. :D

    1. Re:Meeh by aix+tom · · Score: 1

      Hey, the Outlook Options Dialog has one named "Other" instead of "Misc.", which is basically the same in "dumbed down language" ;-)

      http://office.microsoft.com/en...

      (And every time I have to use THAT at work, I have to search through "Preferences" -> "Email Options", the "Mail Setup" and "Mail Format" Tabls, because the things that are sprinkled through them don't seem to follow any kind of logic on what is where.)

    2. Re:Meeh by serviscope_minor · · Score: 1

      I don't use notepad++ but:

      Notepad++ looks amateurish,

      Looks fine to me. Looks liek a bog standard GUI settings dialog.

      or do you think that any professional program would name one of its tabs "MISC."

      Um yes? Most actual professional programs have most of the effort put into making the program do useful stuff rather than worrying about whether it should be "misc" or "other" in a small settings dialog.

      Vim and Emacs have some cool features but the keybindings are unnecessarily unintuitive.

      Buy "unintuitive" you mean "different from Windows".

      If those two didn't have the hacker legacy and they were invented today, no one would use them. I surely am an angry man. :D

      Almost certainly not. History is a fickle thing.

      --
      SJW n. One who posts facts.
  49. 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)
    2. Re:There are only 4 editors by umafuckit · · Score: 1

      I'm a long time Emacs user, but I don't see things this way. I'm now transitioning to Sublime Text. Emacs keybindings, a regular expression search and replace that is actually useful (the Emacs one is horrible), an easy to use package manager, easy to modify (I never learned Lisp), non-free but with very reasonable licence model, looks nice (although that's subjective, of course). Other than the learning curve in figuring out how to get the most out of it, there's little reason for me to go back to Emacs. Sublime does more of the things I need and it does them better.

    3. Re:There are only 4 editors by Anonymous Coward · · Score: 0

      Which continues to be more valuable, as current operating systems chase "convergence" down a rabbithole of pure stupidity.

      Emacs - the only OS I trust anymore.

    4. Re:There are only 4 editors by Bugamn · · Score: 1

      easy to modify (I never learned Lisp)

      What's the point in using Emacs if you don't want to learn lLisp to modify it? I personally prefer to edit in VIm, but I can see the power that Lisp lends to Emacs.

    5. Re:There are only 4 editors by umafuckit · · Score: 1

      I Googled around and made the changes I wanted using boilerplate code. Just stuff like colors, fonts, adding some syntax highlight files that weren't standard. So yes, I modified it as much as I needed to. In addition, I learned the key combos so stuck with Emacs. You become very addicted to key combos.

    6. Re:There are only 4 editors by Bugamn · · Score: 1

      I'm sorry if that sounded a bit aggressive, but I never liked Emacs combos. I did however find that the Lisp integration looked really powerful, if I wanted to dive into that. I can see then why someone that used Emacs only for the combos wouldn't mind leaving it, while someone that had invested in the Lisp configuration would never want to go.

      Personally, I prefer to write in VIm since I got used to the composability of commands and I can't find this feature in other editors. As long as everyone is happy and no one is forcing me to use their editor, everyone can use whatever they like.

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

    1. Re:Without Joe, I would have failed Linux by Anonymous Coward · · Score: 0

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

      You can run it under cygwin

  51. In the end, there can be only one. by Anonymous Coward · · Score: 0

    Emacs

  52. Thank Goodness by ThomasKwiatkowski · · Score: 1

    They finally sorted this out!

  53. Any editors with good auto-completion? by Richard_J_N · · Score: 1

    I wonder whether anyone has an editor with really good auto-completion suggestions.
    For example, in HTML, I might type:

    Alternatively, in PHP, I might type: forea
    and the editor should offer me: foreach ($key => $val){

    It should also be able to show the documentation for the functions within a tooltip, do inline syntax lint checking, and support refactoring.

    So far, I would also mention "Brackets" and Github's "Atom" editors as worth looking at.

    1. Re:Any editors with good auto-completion? by Richard_J_N · · Score: 1

      (And of course, it's eaten my HTML examples!)
        Let's try again, with: '<div c' becoming '<div class="></div>

    2. Re:Any editors with good auto-completion? by Anonymous Coward · · Score: 0

      I wonder whether anyone has an editor with really good auto-completion suggestions.

      I've never encountered a text editor or IDE with a usable auto-completion. Every one of them is like that retarded person that tries to finish you sentence but says something completely different from what you intended to say.

      If I wanted my computer to try to second guess me I wouldn't have disabled Clippy.

  54. You're welcome to them. by Anonymous Coward · · Score: 0

    I combine vim's ability to apply a command to a range of text with unix utilities like sort or awk or even perl. This piping ability makes vim a true member of the Unix toolset.

  55. Who else makes this mistake? by gilboad · · Score: 1

    Happens to me far too often on my Windows VM's, LibreOffice windows and even on the Chromebook that I use to type this message on (on normal Linux machines I have Firefox w/ VI plugin).

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

    1. Re:Stop mentioning vi and emacs by znrt · · Score: 1

      oh my. will this be the end of vi/emacs flames? :'(

    2. Re:Stop mentioning vi and emacs by Anonymous Coward · · Score: 0

      Crap, someone read the article. I think you're on the wrong website sir and/or lady. I'd know which if I bothered to read.

    3. Re:Stop mentioning vi and emacs by SpaghettiPattern · · Score: 1

      ...

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

      Then, I sincerely wonder, WTF is this article doing on /.?

      --

      I hadn't the slightest objection to his spending his time planning massacres for the bourgeoisie... (P.G. Wodehouse)
  57. Beware The Advanced Editor by jd · · Score: 1

    Functionality comes at a price. Complexity introduces bugs by necessity, reduces performance and increases memory footprint.

    Below some given threshold, adding complexity is fine. The reduction in wasted time/money exceeds the increase in overheads. Above that threshold, the reverse is true.

    As with all systems, for any given variable, the plot of efficiency vs complexity follows the standard S curve. Memorize this curve, it will save you much grief. The aggregate will be more complex because the variables have inter-dependencies and unique characteristics. You need to resolve to orthogonal components if you want to do anything useful.

    Since nobody can be bothered to do that much maths, it becomes a simple question - do you get anything out of using them?

    For me, the answer is usually no. There are no editors out there that handle more than a small fraction of the languages I use. Several critical languages use specialized formatting rules and it is a syntax error to not follow them. It would be nice to actually have an editor remember the rules for me, but formatting editors prettify code. The notion of languages having rules is beyond them.

    Most code editors I've used also insist on adding truly ugly dummy code. And by "ugly", I mean I would demote a first year student by a year for writing such crap.

    Maintainer convenience is not a factor I allow in mitigation. NetBeans and Eclipse score poorly. Eclipse doubly so, as I've seen it suffer seizures when updating purportedly compatible extensions. If I can write code faster by chiselling it into rock than typing it into an editor, the editor's coding isn't being written for the benefit of users. If portability and compatibility are claimed, I expect that claim to be true or rescinded. Transactions, including updates, should be bulletproof - which may include rollbacks for the irretrievably mangled.

    Good code isn't the problem. Good code is never a problem. Finding good coders IS a problem, finding good coders who can work together is almost impossible. (Ergo, Linux is the byproduct of alien experiments on the brains of Linus Torvalds and Alan Cox, coinciding with a freak quantum entanglement with Dread Cthulhu in a parallel universe.)

    --
    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)
  58. You're welcome to them. by Anonymous Coward · · Score: 0

    I was thinking something similar. I've been using vi for a bit over 20 years now and in that time I've got pretty efficient with it. Now these new editors might be better for new users, but there's no way I'm going to give up the efficiency I get from using a tool that I've spent so long mastering.

    Incidentally I tried the vi bindings for visual studio the other day and found them incredibly frustrating. Basic things work, so you can say run
    ":s/a/b/" but slightly more advanced commands don't work, so you can't run ":23d 4". The problem with that is you never know which commands are supported so end up typing instructions only to have it thrown back at you. You're better off with no bindings at all.

  59. Ed man! !man ed by Anonymous Coward · · Score: 0

    You do know the reason ed is so small is that it's hardlinked to vi, and vi reads $0 to know it should enter ed emulation mode. A real ed binary is small, but not that small.

    That said, I agree with you - ed is a pretty nice editor and it's saved me on more than one occasion (generally after I've screwed up my terminal emulation).

    Oh, and there's a small bug in your interaction with ed above. An EOF will terminate the session rather than generate an error, at least all the variants I've used support this instead of q.

  60. editors is use: by drolli · · Score: 1

    scite/notepad++: scintilla based, leightweight

    vi: for editing system files (i like the fact that it usually takes 2 keystrokes to do harm.

    the editor integrated in eclipse in order to edit java and xml

    formerly i used emacs when doing development, but now i prefer full IDEs

  61. But don't forget ... by PPH · · Score: 1
    --
    Have gnu, will travel.
  62. paralympics is not worthless by bingoUV · · Score: 1

    It is mentioned clearly why they didn't include vim and emacs. One of the reasons is stupid (both of these have a steep learning curve), but the other and primary reason is sound. You don't need to switch however great the 5 tested editors turn out to be.

    So Vim and emacs were declared winners before the race started. I see that you are not a fan of paralympics, but paralympics are somewhat entertaining and instructive.

    --
    Bingo Dictionary - Pragmatist, n. A myopic idealist.
  63. Interactivity? by ThePhilips · · Score: 1

    They should have tested interactivity of the editors. Though in synthetic test environment that would have been probably an impossible task.

    I'm still using the VIM (terminal version, occasionally the GUI gvim-athena) because this is the only combination which doesn't have the delays.

    Few years back I have tried the Kate/Kdevelop, Gedit and Eclipse, and they still had the same thing in common: occasionally GUI would freeze for couple hundred milliseconds, typed text at first goes nowhere and then suddenly pops in the editor window.(*)

    It's probably not a big deal for a mouse person. But for a keyboard person (or a touch-typist), when there is no visible indication of something happening, the delays are simply too irritating.

    VIM (in xterm) still remain my champion of text editing. Yes, xterm, because the "modern" terminals, especially with tabs open, not only prone to the same GUI delays, but they also prone to losing the focus (like in: you switch back to the terminal, start typing but nothing happens, click with the mouse inside the terminal window and start typing again - and lo and behold it finally works).

    (*) Disabling the "composing" window managers helps greatly, but doesn't eliminate the delays completely.

    --
    All hope abandon ye who enter here.
  64. JEdit by Anonymous Coward · · Score: 0

    Now I use vim because I prefer an editor that works in a terminal but I used to work with JEdit and it's much better than shown in the review. I didn't have any problem folding code or any other coding task, and it install flawlessly in Debian using the installer or thru the package manager.

  65. memories from emacs by Anonymous Coward · · Score: 0

    I have good memories from the GNU Emacs editor.
    M-x create-world :-)

  66. CygnusEd by Anonymous Coward · · Score: 0

    And none of them scrolls as smoothly as CygnusEd on my 14 MHz (sic!) Amiga 1200.

    Sometimes I get a feeling that somewhere something went horribly wrong... :(

  67. And none of them are named "ed", either. by Guy+Harris · · Score: 1
  68. What is wrong with by PsyMan · · Score: 1

    Wordpad running under WINE?

    1. Re:What is wrong with by JustNiz · · Score: 1

      everything.

  69. I switched to kate after this by coder111 · · Score: 1

    New gedit is completely unusable. I abandoned GNOME years ago in favour of XFCE, but I kept using gedit when I needed an editor with a GUI.

    Now even that is useless, and I've switched to kate. Maybe I should give geany a shot...

    --Coder

    1. Re:I switched to kate after this by CronoCloud · · Score: 1

      Most XFCE installs include Leafpad.

  70. Editor warrs, the next generation by minkie · · Score: 1

    It used to be that the editor wars were vi vs. emacs. Now we've evolved to the point where it's the text-based editors (vi and emacs lumped into the same camp) vs. the graphical-based ones (sublime and all the rest).

    I've never used Sublime, but a few people in my office use it, and I'll admit, it looks pretty neat. If I was editing files exclusively on my desktop, it might well be what I would use (and I say that after 30-odd years as a die-hard emacs user). But, the biggest problem I see with Sublime (and I'm assuming the same for rest of the graphical editors) is that it doesn't work and play well in a cloud environment.

    We do all our work on servers in a hosting provider. My desktop is just for reading mail, browsing, and hosting terminals windows. And maybe, as I get dragged kicking and screaming into gmail, that list might get reduced to just "browsing and terminal windows". All the files I want to edit are remote. I've got my terminal program configured so one click gets me a shell connection on a remote machine, then I run emacs (in text mode, i.e. -nw). All my files are there.

    I watch my office mates who use Sublime struggle with moving files back and forth. Drag a file down from the server to their desktop. Edit it in sublime. Push it back up to the server. There's some kind of integration which takes much of the drudgery out of that, but it's still pretty clunky. Even if you used something like sshfs to mount your remote directory, it's still a lot slower (I'll often grep 100's of source files to find a function name; that would be deathly over sshfs).

    Yes, you could run the sublime app on the remote machine, talking to the X11 server on your desktop, but that's pretty horrible in its own way. It does solve the problem of getting the editor close to the files, but U/I performance sucks over most real-life networks.

    I will admit that the idea of customizing/extending my editor using elisp is just frightening. A cool idea 35 years ago, but at this point, it's absurd. I'm glad that there are still a few lovable fanatics out there continuing to maintain the language bindings I use, but it's clear that's at an evolutionary dead end.. The fact that Sublime uses Python is one of the things that makes it attractive.

  71. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  72. Why does keyboard only have to equal crappy GUI? by Jartan · · Score: 1

    I've never understood why this war continues. Emacs and Vim unequivocally have a GUI. Status bars, split window, auto complete drop downs. Yet if you even talk about improving them the pitchforks come out.

    It seems like they're so firmly wedded to the idea GUI=mouse that they can't even think straight.

  73. Are all these graphical? by Anonymous Coward · · Score: 0

    Who uses a text editor that runs in graphics mode? I still have some old VT-220's that I actually use. Plus I often have various tools installed on a system other than my laptop (when you target ~10 different microcontroller architectures this can be a problem). I think one of the most appealing things of vi, emacs, joe, and nano is they don't require a graphics mode and work well over a low bandwidth SSH connection.

    It's also nice to run a text editor in real full screen mode. There is little wasted screen real estate and I can actually use a decent font size. I think when most programmers are coding they are engrossed in the code -- so why litter the screen with something that isn't code?

  74. ME 2 ME 2! by Anonymous Coward · · Score: 0

    I thought only I did that! :)

  75. What? No VI? How blasphemous. by Maznafein · · Score: 1

    Yeah, there's no such thing better than VIM. Then again I have years of specialized configs for it and honestly I don't want to get new muscle memory.

    --
    <happiness>beer</happiness>
  76. MS-DOS EDIT by Kamineko · · Score: 1

    Is there a Linux text editor for the console that has an interface similar to MS-DOS Edit?

    It really helps in those situations where you're trapped in the shell trying to fix xorg.conf, among other times.

    MS-DOS Edit does pretty much all I could want from an editor, runs on thin air, and it has common GUI elements like the status bar, scroll bars and the menu bar which helps me greatly. (I suffer from option amnesia, and a general lack of giving a shit about learning the not-shown shortcuts of other editors.)

  77. The real test... by liamoohay · · Score: 1

    My wife is a software engineer and uses sublime exclusively. I am an academic, and have used only emacs for the past 20 years. Guess which of us makes more money...

    1. Re:The real test... by JustNiz · · Score: 1

      Wow you're not a very good academic if you are seriously trying to suggest a strong correlation between your income and the editor you prefer.

  78. Re:You're welcome to them. A few words re Emacs by shoor · · Score: 1

    Hear Hear,
    I generally use vi myself, though I've actually forgotten some of the fancier stuff. I even have some muscle memory for emacs which I acquired because I had an Atari 500 ST back in the 1980s. Having cut my teeth on old glass teletypes (Uniscopes, Hazeltines, and even genuine VT-100s with the gold keys pad) I needed a basic term window and text editor for my Atari. The best text editor for the Atari that I could find on Usenet in the old binaries groups was 'Micro-Emacs', a very stripped down version of emacs, but in using it, my fingers learned CTR-E to go to the end of a line, CTRL X 2 to split a screen, etc. It's because of that that I still use emacs sometimes for very basic stuff. (I always install the -nox version). Heh, back in the 80s, I knew if I was on a fast computer at work if I could use emacs and it was responsive, which made Micro-Emacs, running on my Atari so well, all that much more impressive.

    --
    In theory, theory and practice are the same; in practice they're different. (Yogi Berra & A. Einstein)
  79. 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.

  80. Where is SlickEdit?! by Anonymous Coward · · Score: 0

    I can't believe this.

    SlickEdit is the only editor that's both fully-functional (at least half as useful as emacs) and GUI-centric (learning not required). In fact it's the only one of the old powerful editors which get renewed into 21st century.

    There are tagging support for dozens of languages, command help for mainframe assembly (!), semantic highlighting / symbol coloring, red-mark on non-existing functions/classes, c/java/xml formatting, and replace-in-files with two-pane diff preview which is extremely useful when you perform replace on dozens of files with multi-line regex.

    It also loads faster than emacs, BTW.

  81. Tea, Medit, juffed by Anonymous Coward · · Score: 0

    After Archbang came out with the light iso with nothing installed, I found my self look ing for new options. I like the file tree in the editor that some of these options offer. Small sizes install too. Tea , Medit , Juffed

  82. Theres no comparison by danknight48 · · Score: 1

    Nano.

    It shows text, programmers "should be" able to edit text. Job done. Why overcomplicate it?

  83. You're welcome to them. by Anonymous Coward · · Score: 0

    Remember, use it or lose it.

  84. Agree with Linus by beastofburdon · · Score: 1

    Well, we already have the Church of Emacs, I guess we might was well start the Church of Linus.
    Our motto shall be "Despite his arrogance and occasional seemingly childish outbursts, in the end you will find that he was right".

  85. Emacs by JustNiz · · Score: 1

    Emacs is a great operating system, it just needs a good text editor.