7 ms·
GNU nano 3.0 released
- ktpsns 8y agoI'm a Linux/Unix "devop" since 15 years and I still use nano every day or second. It's the default $EDITOR in Debian and derivates and at some machines I did not consequently set EDITOR=vim. Congratulations to the developers of nano. It's a timeless modern terminal editor which can be operated by novices as well as experts.
- zitterbewegung 8y agoI absolutely love it when someone makes a tool that "Just works".
- vgy7ujm 8y agoIt sucks ass when you know vim.
- vgy7ujm 8y agoIt really does downvoters.
- sctb 8y agoYou post a lot of snark and then complain about being downvoted for it. If you don't stop we'll ban the account.
- vgy7ujm 8y agoWhat you forgot to mention was that you also banned me from replying for an extended period effectively silencing my voice. I’ll let the readers decide where that kind of behavior lies politically.
- dang 8y agoWe rate-limit accounts when they post too many low-quality comments and/or get involved in flamewars.
- kbd 8y agoHave you considered using sshrc? https://github.com/Russell91/sshrc https://github.com/Russell91/sshrc It lets you take basic shell config with you when you ssh. You could ensure you always had your $EDITOR set to vim and have a basic vim config ready. It's also really nice to take my prompt with me and not have random vanilla/terrible shell prompt that's set on whatever server.
- ktpsns 8y agoWow, this looks like a gem. However, I can imagine many scenarios when this fails if the target machine has a very different software version setup (and older different Linux distribution, for instance). Would require some fine tuning of parameters, but sounds promising!
- diminish 8y agoCongratulations https://nano-editor.org/who.php https://nano-editor.org/who.php
- marius_k 8y agoI moved to micro[0] editor a while ago. It saves me a couple of seconds every time I need to edit something in /etc/* (especially when copy-pasting some text sections in the middle of the file). But it is not adopted by all distributions yet. [0] https://micro-editor.github.io/ https://micro-editor.github.io/
- aeosynth 8y ago> But it is not adopted by all distributions yet. Is it adopted by any distro as a default text editor?
- marius_k 8y agoLooks like fedora has micro in her default package repository[0]. I doubt it is set in $EDITOR by default though. [0] https://src.fedoraproject.org/rpms/micro https://src.fedoraproject.org/rpms/micro
- wiz21c 8y agoYep, micro is nice, much more common bindings (provided you didn't grow in emacs, vim, pico, etc.) However it doesn't work very well under tmux (ne has the same problem).
- Crontab 8y agoI wasn't aware of this editor. Thank you.
- ivanfon 8y agoLooks like a cool alternative to nano, but if it isn't included by default on everything (like nano) I don't see why I would use this over Vim or Emacs.
- zeroxfe 8y agoNano is what I teach my kids (5 and 8) to code on the terminal in. It's fantastic!
- O_H_E 8y agoOh man, that's some hardcore parenting. Big respect. Would be nice if you could share you journey with your kids after a couple of years
- deleted 8y ago[deleted]
- zeroxfe 8y agoThanks :) Let's see how far I (they) get!
- jason_slack 8y agoThanks for mentioning this. I also started teaching my 3 kids using a terminal and nano instead of a gui editor. Consequently they are 15, 17, 20 and all are very comfortable in a terminal environment. It feels amazing that my 17 year old daughter uses sed, awk, grep, cat, nano, etc instead of GUI apps.
- another-cuppa 8y agoNice. I think the best way to learn how to use programming tools is to actually see the need for them yourself. Starting with a basic text editor, no make, no debugger etc. is great.
- IshKebab 8y agoWhy though? Micro is a much better editor if you have to use a terminal and VSCode is much much better if you don't. Seems odd to teach old needlessly difficult software just because you had to learn it.
- Koshkin 8y agoWith the widespread availability of raster graphics, I wonder how often people actually have to use a character-cell terminal for editing text. (I appreciate the coolness factor.)
- h1d 8y agoWhat are the alternatives to nano? (Just out of curiosity)
- deleted 8y ago[deleted]
- cmurf 8y agoI have to give myself a kick in the pants at my own irrationality. For some weird reason, I use vim. I'm not very good at it, and I only use it for basic things like editing configuration files. Every time I use nano, I prefer it, but somehow just am in a habit/rut of typing vi blah. And I call it irrational because vim is totally non-obvious and not self-describing how do the most basic tasks, and yet I keep hitting my head on a wall. Maybe I should remove vim, install nano, and make vi an alias of nano!
- cmrdporcupine 8y agoPart of the problem is that vi is pretty much guaranteed to be on any system you log into, including many 'embedded' systems. So although I was historically an emacs user, I have learned the minimum of vi commands to get by, but no better than that.
- epicide 8y agoRecently made this argument to someone. They open vi/m just to immediately jump into insert mode and never leave. I love using vim and would encourage anyone to go through vimtutor and start learning it, but if you're just not interested, using nano can save you a lot of headache.
- gralx 8y agoI second vimtutor for the interested. This Vim help page is indispensible to those who aren't: :help index Every Vim shortcut is there and organized.