7 ms·
Ne: the nice editor
- ansgri 11y agoFYI the package 'ne' on Ubuntu does exist. The question is: why didn't it replace the goddamn Nano as a default editor long ago? This editor should be known more widely.
- rlongstaff 11y agoI've just installed it from the Ubuntu 15.10 Software Centre (v3.0.1-2).
- ansgri 11y agoIt's of course available, but not installed by default, and when e.g. you git commit from console, it by default launches Nano with its counterintuitive shortcuts.
- maxerickson 11y agoI was trying to git better the other day and one of the early suggestions in something I looked at was to set a comfortable default editor.
- drdaeman 11y agoPut `export EDITOR=ne` line in your `~/.profile` (or `~/.bashrc` or `~/.zshrc` or whatever). That should do the trick.
- jhallenworld 11y agoIn order to avoid fading completely into irrelevance, I've been improving JOE to hopefully better compete with Nano/Pico. People like nano because there is no learning effort at all. I can't argue with that- if you're a student trying to write a first-year program, you don't want to waste time being hindered by the editor. JOE is already pretty simple (it says hit ^K H for help on the screen always, and if you hit it you get the basic commands), but even then I find that a top google search for JOE is "How do you save and exit?" People can't seem to see the "Hit ^K H for help" in the top-right corner. Also this message annoys power users since it's a waste of valuable status line real estate. So I'm trying this for JOE 4.2: the pop-up copyright notice is replace with one-line of help: JOE 4.2 ** Use Ctrl-K X to save/exit, Ctrl-C to abort, or Ctrl-K H for help ** This shows up on the bottom line which I think is more noticeable. ne and emacs both show this kind of help when you first start the editor. But in both cases, you have to do a lot of reading (emacs shows too much, and in ne the help is buried in the middle of a long copyright notice). Ne is pretty nice otherwise, it almost has the Windows cua key bindings and includes column block operations. Of course JOE is better :-)
- Tomte 11y agoI like joe a lot! Was the Win32 build a one-time thing or do you see chances that the current (and future) versions will see a Win32 build, as well? Are there technical difficulties? Is the Win32 work not applicable to the last version?
- jhallenworld 11y agoWe need to merge. The issue is that the Win32 work was based on the co-routine branch, but I've chickened out on releasing this as the main version. Also JJ just got back from his honeymoon.
- dragonquest 11y agoLet me take this opportunity to thank you for your fantastic editor. It is bloody fantastic and I'm not even an old Wordstar user who just has to use its keybindings. I truly think you have created an almost perfect, light console editor. Could you please consider adding soft-wraps (only emulated, visible line breaks for long lines but no actual breaks saved)? With that said, to console newbies - you have to try out 'joe' once. It uses the Unix dev environment fantastically and its not short on features either.
- OJFord 11y ago> if you're a student trying to write a first-year > program, you don't want to waste time being hindered by > the editor In my experience, people who don't know what editor they (want to) use won't be hindered by it, because they'll use Eclipse (or equivalent) perhaps the standard GUI editor on the system (TextEdit, Notepad, whatever) or else Google 'text editor' and install Sublime or something.
- cooper12 11y agoI've heard professors suggest it before so it's always possible that they find out about it that way. It's probably also helps that the default $EDITOR for many systems is vi, so students using the terminal or ssh might turn to nano as an alternative.
- diegolo 11y agoSebastiano Vigna never ceases to amaze me
- david-given 11y agoAlas, for a lot of people, ne will forever be the Norton Editor. http://www.danielsays.com/ss-gallery-dos-the-norton-editor-13c.html http://www.danielsays.com/ss-gallery-dos-the-norton-editor-1... I have written so, so much code in this.
- frik 11y agoso something like Nano but with better shortcut keys.
- keithpeter 11y agoThe slackbuild.org script for Slackware 14.1 compiles in about 30 seconds on my ancient Thinkpad. Looks OK. You have to set the backspace key to generate a Ctrl-H in the Xfce-terminal preferences (this is mentioned in the info page in relation to Mac OS). Nano gets the job done for tweaking Web pages on ssh &c. It does have some fans... https://rachelbythebay.com/w/2011/09/24/editor/ https://rachelbythebay.com/w/2011/09/24/editor/
- bobajeff 11y agoI just want a text editor with good intelligent c++: code completion, call tree generation, jump to declaration/definition and syntax highlighting - that works on the command line so I can use it over ssh.
- S4M 11y agoI don't know about call tree generation, but with some tweaking Emacs should do all the rest, have you tried it? (I don't code in C++ myself).
- bobajeff 11y agoBriefly. I tried to get Rtags to work. I failed then gave up.
- drdaeman 11y agoA good intelligent code editing would either require a good pile of hacks or a completely different approach. Common "text code editors" don't understand a thing about the code they edit. They're just supplemented with ton of hacks that produce meaningful result in acceptably high number of cases (like regex-based highlighters) but still don't have "real" intelligence towards the content of their buffers. And with ever-growing number of hacks the thing's unlikely to be small or low on dependencies. You'll end up with another emacs/vim/etc - a fairly small cores, and then a scripting or external tool execution support to do highlighting, parsing, context-aware searching, refactoring etc etc to make them useful for code editing. (And then why bother when we have emacs and vim already?)
- bobajeff 11y ago>And with ever-growing number of hacks the thing's unlikely to be small or low on dependencies. You'll end up with another emacs/vim/etc That's acceptable as long as it works.
- drdaeman 11y agoDon't Emacs or VIM already do? And, well, if they don't work, it's certainly easier to patch their hacks or pile even more hacks, rather than trying to redo everything from a clean slate.
- great_kraken 11y agoInstalled this from the AUR and tried it. Sadly I can't backspace, since it doesn't support using ^? for backspace, only ^H.
- e12e 11y agoWhat layout uses ^? for backspace? The wikipedia[w] page doesn't appear to be aware of it, and a few simple searches turned up nothing... I suppose you mean, "I can't backspace with my backspace key" -- as you probably can backspace fine with ^h (ctrl+h)? [w] https://en.wikipedia.org/wiki/Backspace https://en.wikipedia.org/wiki/Backspace
- vigna 11y agoIt's just a matter of misconfigured terminal databases. I wrote some years ago a Linux Mini-HOWTO about it, I wonder where it is now...
- unixhero 11y agoI recommend Jed's editor for a very friendly editor as well. I'm a console-menu guy and like the EDIT.COM feel :) Plus it's got some Emacs (s-lang) to it although I never use it. Also, you can't argue with 8bit clean. It's in the repos. Homepage: http://www.jedsoft.org/jed/features.html http://www.jedsoft.org/jed/features.html On a sidenote. I am addicted to Jedsoft's console pager "most". Also in the repos. With colour, search and really the whole nine yards. It's the most. So much more than more and even more than less!. Pipe to |most and see for yourself!
- znpy 11y agoYes, most is awesome. I recommend that too.
- AYBABTME 11y agoI wonder if there are terminal based IDEs that are specifically made to edit and work on code, perhaps aware of ASTs and working on them, instead of being text editors with language plugins.
- mwambua 11y agoThis is all very nice... but real programmers use ed http://www.gnu.org/fun/jokes/ed-msg.html http://www.gnu.org/fun/jokes/ed-msg.html