15 ms·
Nano 5.0
- james_s_tayler 6y agonano is the best.
- mmmnnn6789698 6y agoSurely is better than emacs !
- hoyd 6y agoYou are asking for a flamewar
- kuroguro 6y agoObligatory xkcd: https://xkcd.com/378/ https://xkcd.com/378/
- james_s_tayler 6y agoDammit Emacs!
- pferdone 6y agoFunny way to spell vi
- mmmnnn6789698 6y agoYou can't compare vi and emacs, emacs is more comparable to nano.
- orwin 6y agoemacs used to be my great enemy, until i met someone SO into emacs and elisp, in each of his dual monitor he had emacs opened. With the two instances sharing the cursor (unless it was one emacs opened in two windows, but i think this is way harder to code). He had no mouse and was surfing with emacs, reading/writing his mails from emacs, had a kanban on emacs... That force respect. Now i tried evil mode and while i'm still using vim8, i might try to learn elisp during my sabbatic year.
- logicchains 6y agoBut it's not standard. Ed is the standard editor.
- james_s_tayler 6y agoIt's the standard of how my brain operates.
- m463 6y agoand sed is the stream editor
- wwright 6y agohttps://www.gnu.org/fun/jokes/ed-msg.en.html https://www.gnu.org/fun/jokes/ed-msg.en.html
- quaintdev 6y agoTry micro as well https://github.com/zyedidia/micro https://github.com/zyedidia/micro
- Semaphor 6y agoMicro looks nice, but Nano just works when SSHing from Windows, Micro requires some X things to support copy and paste.
- orra 6y agoYeah, micro seems quite nice. Bit of an uncanny valley, however, because as a terminal editor, it doesn't support emacs/zile keybindings, and by default it doesn't use nano keybindings. However, I just realised that if I think of micro as a notepad alternative, the keybindings make total sense.
- dageshi 6y agoIt's the notepad of the linux world and like notepad I probably use it more than just about any other application than the browser.
- pawnednow 6y agoNano has always been my go to editor. It comes natively with most install and is very easy to use. It has all the shortcut listed on page so it is quite user friendly out of the box. After learning vim for a bit, I find nano quite superior for my use case mainly editing files inside terminal on remote servers.
- RMPR 6y ago> Nano has always been my go to editor. It comes natively with most install While vi comes with all installs > is very easy to use. It has all the shortcut listed on page so it is quite user friendly out of the box Tell that to the users that don't know what ^ stands for > After learning vim for a bit, I find nano quite superior for my use case mainly editing files inside terminal on remote servers. I just don't understand how this is possible, except if you're doing very basic edits (even in that case...)
- stingraycharles 6y agoAt least in my case, I use nano typically for very simple edits, such as config files, fstab, etc. While I can use vim, I never “really” adopted it and get especially confused by the old “vi”. As such, I almost always just grabs nano for these things, and use an IDE when working on code.
- xingyzt 6y ago^ is quite obvious if you’ve tried to use any keyboard shortcuts in the terminal while a program is running.
- Jataman606 6y agoNot really. Only after your comment i realized that it stands for any key at all. I never actually thought what it means before.
- EE84M3i 6y agoYeah, for me when I was learning it was not-obvious, but wikipedia has an article on "Carat notation" I found by searching something like "what does carat mean in a terminal" on google. Unfortunately, for me when I googled that exact phrase just now it gives a "Featured Snippet" saying it means "the beginning of a line", which is about regexen and and also only sort of right in that context. The wikipedia page is the first real result though. Edit: I was spelling caret wrong. oops.
- nxpnsv 6y agoChecked what came with osx >>> nano --version GNU nano version 2.0.6 (compiled 14:41:52, Apr 17 2020) comfortingly my freshly brewed 5.0 looks identical when editing... Also: >>> ls -l /usr/bin/pico lrwxr-xr-x root wheel 4 B Thu Jan 23 17:02:12 2020 pico ⇒ nano
- Lammy 6y agoAnd of course here's why: https://git.savannah.gnu.org/cgit/nano.git/commit/COPYING?id=d0035b4ab28c061c6ecabfd2945e05d55d6f3f70 https://git.savannah.gnu.org/cgit/nano.git/commit/COPYING?id...
- sdan 6y agoI started using Nano because of the Digital Ocean blogs. I still use it 4 years later, everywhere from side projects to firefighting in production. It's so simple and easy to use and I'm looking forward to 5.0 changes!
- BiteCode_dev 6y agoA bit of a plug, but micro has been a nice alternative. Mouse support is enabled by default, ctrl+c/v works as expected, you only need to remember ctrl+e for other commands, as it opens a prompt where you can just type save/quit/etc. Not in the repo though, which can be a no deal for many.
- orra 6y agoOh right, it uses the operating system clipboard? That's kinda handy. In other terminal editors I sometimes have to do a slight pause, to work out whether I'm using the editor-in-built yank chain, or pasting from operating system clipboard using the not-as-standard-as-Ctrl-V terminal emulator binding, Ctrl-Shift-V.
- spanhandler 6y agoI came to Mac relatively late and only after years of using Windows and Linux, but I really wish everyone else would copy Mac’s default English keyboard layout & shortcuts. Super+x/c/v for cut, copy, and paste, their relatively ergonomic combos for typing m-dash and various “special” characters using option/alt, and their screenshot shortcuts, especially.
- gruez 6y ago>but I really wish everyone else would copy Mac’s default English keyboard layout & shortcuts. Super+x/c/v for cut, copy, and paste Isn't this something that benefits mainly developers, at the expense of everyone else? Most people don't use the terminal, so they don't have any use for control-x/c/v. At the same time super-x/c/v is less ergonomic than control, at least for me. With control I can use my pinky + index finger, which is much more comfortable than using super, which requires me to awkardly use my thumb + index.
- spanhandler 6y agoAdmittedly it’s better on Mac keyboards, with Super directly next to the space bar. Less strain and movement to hit that with my left thumb than to stretch down to ctrl (if I hadn’t mapped caps lock to control). The rest of the layout is wildly better than any other I know of for composing text in English, which is a thing you’d think every default layout would be good at, but they’re not. Better than “standard” layouts on Linux and Windows, better than the “international” layout, and better than “alt-gr” layouts, at least. [edit] every default layout for English, I mean. I wouldn’t expect a default layout for another language to be great for composing English text, obviously.
- mlang23 6y agoThe first thing I uninstall on a new system is nano.
- felixr 6y ago+1 to uninstalling nano I get stuck in nano like other people get stuck in vim. I definitely prefer vi as the default editor. But I understand that this does not apply to everyone.
- spanhandler 6y agoIt has a cheat sheet at the bottom, including how to exit, though? Like maybe there’s some way to disable it with a switch but I’ve never seen nano without it.
- felixr 6y agoI know. The cheat sheet gets me out of it. But I think my problem is that the keys that I press intuitively are the wrong ones and it keeps asking me to press more keys to get out of it :-)
- Tepix 6y agoAgreed. Investing the time to learn to use vi properly will pay off hugely in the long run.
- Barrin92 6y agoI don't uninstall it but I don't really get the love, mostly because of the keybindings. Maybe I'm too young and don't know its legacy but they seem super esoteric to me and I've never seen them anywhere else. Emacs navigation bindings are similar to terminal bindings, and well vi is its own world but at least fairly widespread today.
- einr 6y agonano is a GPL-licensed clone of pico, which in turn was originally conceived as the integrated message editor in PINE, the popular UNIX e-mail client first released in 1989. If you look at the overall interface of PINE you will recognize that it is consistent with pico/nano, but other than that there really wasn't much consistency in terms of keyboard commands between apps in 1989. More importantly, while for instance ^S for "save" might seem more natural than ^O for "writeOut", remember that dumb terminals over slow lines were still very much a thing in 1989 and ^S was already used as a terminal control code for XOFF (software flow control) -- which is why nano throws that "XOFF ignored, mumble mumble" message when it catches ^S.
- Havoc 6y agoReally wish all linux systems had it installed out of the box. vi/vim is difficult for newbies. And the crowd that uses vi/vim will know how to install their editor of choice while the newbie doesn't necessarily
- EE84M3i 6y agoWhat systems don't come with nano these days?
- easton 6y agoCentOS/RHEL didn’t ship with it forever (at least to 7), I don’t know if that changed with 8 but it was one of the reasons I learned enough vi to be dangerous, as I had to debug a bunch of weird networking stuff on VM guests that were CentOS 5.5.
- HeckFeck 6y agoIt's not included with a default Void installation, either. It must be a charitable move to encourage greater use of Vim ;)
- Havoc 6y agoSome of the lighter distros designed for SBCs for example. Don't recall the exact one where I ran into this issue...openwrt I think Not a disaster, but I don't personally have those arcane vi keyboard shortcuts memorized so even a small tweak to the config is unnecessarily painful
- tarkin2 6y agoFor config file editing, nano is great. Vim's 'return me to the last location in this file'[0], however, is great when repeatedly editing large config files in this same place. Nano should try to implement it, if it hasn't already. [0] https://stackoverflow.com/questions/8854371/vim-how-to-restore-the-cursors-logical-and-physical-positions https://stackoverflow.com/questions/8854371/vim-how-to-resto...
- throwdbaaway 6y agoThat would be: ## Remember the cursor position in each file for the next editing session. set positionlog The flag was there since 2011, but I only started to enable it a few months ago. Pretty nifty feature, although it took me some time to get used to the new flow.
- qubex 6y agoNano is my dog in the Vim-vs-Emacs holy war.
- JasqEe-Yves 6y agoI never had to suck cock to use nano per default. And once the graphical environments are installed it's Mousepad all the way babies. Mousepad is the best text-editor; with no intents to pick parties. Mousepad is fucking great for what it is. Makes the job be done.
- sarellaza 6y ago[ Work At Home For Everyone] My buddy's aunt makes $64/hr on the computer. She has been unemployed for eight months but last month her pay check was $12716 just working on the computer for a few hours.Copy and Paste url for more Details......www.salaryapps.com
- orra 6y agoInteresting — I did not realise Nano was a GNU project again. In fact, Nano apparently did not leave GNU for very long.
- __s 6y agoFor details: https://nano-editor.org/news.php https://nano-editor.org/news.php Leaves GNU in 2016 June 17, rejoins GNU in 2016 September 1 Some past HN insight (Misleading information in my HN thread? It's more likely than you think): https://news.ycombinator.com/item?id=11953044 https://news.ycombinator.com/item?id=11953044 Blog post by Chris: https://www.asty.org/whats-up-with-nano https://www.asty.org/whats-up-with-nano "Request to move nano from gnu to nongnu" https://savannah.nongnu.org/support/?109076 https://savannah.nongnu.org/support/?109076 "[Nano-devel] nano to remain in GNU" https://lists.gnu.org/archive/html/nano-devel/2016-08/msg00045.html https://lists.gnu.org/archive/html/nano-devel/2016-08/msg000...
- garbagetime 6y ago>For details: https://nano-editor.org/news.php https://nano-editor.org/news.php That's a beautiful website.
- nephrite 6y agoNano is great as an idea - a editor with almost no features which is small, fast and is everywhere. Howerer, it suffers from the same as all open source projects. Working on it is fun, so they add new feautres with each version. Now 'nano' is not nano anymore. It even has had syntax highlighting for some time already.
- zvrba 6y ago> Now 'nano' is not nano anymore. Nothing beats plain old 'vi' (NOT vim!).
- jedimastert 6y agoCan you highlight what differences make you choose vi over vim?
- Someone 6y agoI think the comment is about vi scoring better on “lack of features” than vim, not about preferring vi over vim. Of course, ed beats that, and the combination of cat and echo with redirection beats that (for a very limited definition of ‘editor’)
- marcocampos 6y agoDo distros still come with original vi? My understanding is that when you type 'vi' you get a minimal version of vim on most (all?) distros theses days.
- pavelevst 6y agoThanks to nano team for great work. It’s my favorite terminal editor for last 10 years. Too bad many systems has vi as default editor Most liked features: kut lines, page up/down, easy search, syntax highlighting, editing long lines
- sarellaza 6y agoI get paid over $190 per hour working from home with 2 kids at home. I never thought I'd be able to do it but my best friend earns over 15k a month doing this and she convinced me to try. The potential with this is endles... Copy Here.......www.salaryapps.com
- seemslegit 6y agoI wonder how many people here know about mc (as in midnight commander) and its builtin viewer/editor.
- arexxbifs 6y agoI do, but I much prefer nano.
- BaldricksGhost 6y agoI love Midnight Commander. It's the first thing I install on any Linux system.
- prionassembly 6y agoWhoa. A XTreePro clone!!
- AlchemistCamp 6y agoI despise Nano. I support the effort of anyone working on open source, but really don't like using the editor personally. As a result, it's really frustrating when setting up a new box and VIM isn't the default.
- simion314 6y agoI am the reverse, I hate when I ssh in a server and try to edit crontab and I get hit with vim. At least now vim shows you how to quit it if you attempt to ctrl+c it. I don't need vim when I want to edit a 10 line files.
- sfoley 6y ago> At least now vim shows you how to quit it if you attempt to ctrl+c it. This has been the case for at least ten years. I started using Linux in 2009 and the first time I opened vim, I tried using ctrl-c to quit and saw that message.
- simion314 6y agoServers are usually running LTS Linux versions and I had to Google how to quit vim a few times because I forget. Same with closing a frozen SSH, I kinda know the shortcut but I am always wrong a bit so I eventually remember it or Google it again. Things I do not use often are just wiped from my memory.
- magicalhippo 6y ago> As a result, it's really frustrating when setting up a new box and VIM isn't the default. However having Nano as default is the better choice. You as an expert know how to change the default. Newbies who don't likely will prefer a discoverable editor like Nano.
- digital_voodoo 6y agoThank you for speaking for the rest of us.
- HeckFeck 6y agoI wonder which editor the Nano devs use. It would make for an ironic anecdote if any used Vim or Emacs. Not to say they couldn't edit their own source in their own editor, I'm sure it's quite up to the task. But I am curious to know.
- true_religion 6y agoI would imagine they use a full feature IDE, not a minimalist editor. It’s like expecting the maintainers of notepad.exe to use notepad itself during development and not Visual Studio.
- dreamcompiler 6y agoGnu's flagship product has been Emacs since day one, so those folks using any flavor of vi would be sorta like Microsoft doing Windows development on Macs. That said, it probably happens.
- 112233 6y ago"nano -w" is a great editor. "nano" without -w should be banned like "rm -rf /" and require some long DWIM switch to even start.
- mac01021 6y agoNot wrapping should be the default for every editor. AFAICT, it is not the default for any editor. I don't think nano is unique in this respect.
- zeveb 6y ago> Not wrapping should be the default for every editor. AFAICT, it is not the default for any editor. It appears to be the default with emacs — at least, hard-wrap off appears to be the default. Soft-wrap is on, but … I can't imagine that you dislike soft-wrap, do you?
- mac01021 6y agoI do! It makes it difficult to see what's going to happen when I invoke operations on lines. And it encourages my colleagues to create long lines that would play better with diff tools like git diff if broken out.
- deleted 6y ago[deleted]
- elchin 6y agoI'm bothered by the UI design of this webpage.
- jjice 6y agoWhen I was in high school and used my first Linux machine (a Raspberry Pi), Nano was always the recommended editor when I had to edit config files while not knowing what I was actually doing. Nano is great for those use cases for sure. But as I've spent more and more time with Unix systems, Vim was become by go to choice. The customizability and power of Vim is great, but there is a steep learning curve if you've never used a Unix machine before and you're just trying to get WiFi working. With that said, use what you like, all text editors do the same job in the end: edit text.
- mikece 6y ago> When I was in high school and used my first Linux machine (a Raspberry Pi)... Thanks for making me feel old! My first experience with editing text on a *nix system was vi on my older borther's AT&T SVR4 workstation in the 1980s when I was junior high (my apologies if that reference makes anyone else feel old!).
- boring_twenties 6y agoActually you just made me feel really young! My first taste of Unix was a dialup shell account in the early 90's. IIRC, vi was the only editor available.
- jjice 6y agoI'm jealous! My dad tells me stories of using Sun Workstations at his university back in the late 80s, and I get jealous of that being his first experience with vi! It's incredible that anyone can pick up a $35 computer now, but there is something so neat about those pre-internet Unix machines to me.
- picodguyo 6y agoThank you for you work on Nano! I'll never understand the elitism around text editors in the Linx world but am glad a user-friendly option like Nano exists.
- dman 6y agoI like to think that the proliferation of different kind of editors reflects the incredible diversity that exists in what people want from an editor.
- refracture 6y agoNano is pretty solid. I think my muscle memory for using vi/vim instead has come from sometimes working on some really old nix systems that are air gapped from the world and therefore you work with what you have. I'm used to and use vim for everything at this point, but when dealing with new nix users that won't be working on crazy old stuff I always just steer them to nano.
- max_effort 6y ago+1 I loved using Nano for a long time before I picked up Vim. I don’t get the elitism either, Nano is a great editor.
- jasonkester 6y agoIndeed. I kinda wish they would go the rest of the way and implement the standard keyboard commands that every other editor in the world (apart from vi/emacs) uses though. Ctrl+c, ctrl+v, ctrl+x, ctrl+a, shift+arrow/home/end/pgup/pgdn/etc. etc to select text. It would completely eliminate the learning curve to edit text on linux, which seems like it could only be a good thing.
- imode 6y agoThis editor is my daily driver. Has been for years and years. Glad it's still kicking!
- mikece 6y agoI don't do a ton of editing in a non-graphic environment but enjoy confusing the other C# coders at work by editing a code file in vim with ConEmu from time to time. I never thought to see if Nano was also in ConEmu until reading the linked announcement and these comments -- and it is! I'll have to play with Nano a bit more but it seems like the difference between editing in Notepad versus VS Code: good for really simple stuff but the power of vim is needed if you're doing something non-trivial.
- varbhat 6y agoI am currently using vis editor[0] and I am liking it. [0] https://github.com/martanne/vis https://github.com/martanne/vis
- haolez 6y agoOnce, as a little personal challenge, I've used solely nano + fzf as my IDE and programming editor. I went pretty far with it :)
- interactivecode 6y agohow far can you go? I've been on the lookout for a friendly vim like editor. at the same time I really like a IDE features
- panpanna 6y agoIf you are an emacs person but need something like nano for quick edits on remote machines, try "mg". I think it's the default editor on some BSDs.
- ChicagoDave 6y agoNano is the singularly greatest tool for Windows users to be productive administrating a Linux implementation. I love this editor and have been using it since it’s first release.
- jason_slack 6y agoI've often thought about contributing to the nano project. Having written a few editors myself I still have a passion for it. I use nano for quite a bit.
- einpoklum 6y agoWow, those are useful improvements... especially the toolbar. A bit slow in arriving, but still good. > For the color names red, green, blue, yellow, cyan, magenta, white, and black, the prefix 'light' gives a brighter color. Catching up to the Nineteen...eighties, I think? :-P
- SomeoneFromCA 6y agomcedit is what use instead of nano. Similar to the editor in Far Manager and Norton Commander.
- karmakaze 6y agoI was always been annoyed whenever an editor other than vi opened in a console/terminal. Recently I've been learning an alternative keyboard layout which has gone well--except that my vi muscle memory is completely broken. I think I'll appreciate this now and accept it gladly even when my new vi memories are formed.