3 ms·
This is not a nano alternative, it follows the vim paradigm of having a command mode that nano does not have (for good reasons). It's more of a merge between vi
by moffkalast 3y ago
This is not a nano alternative, it follows the vim paradigm of having a command mode that nano does not have (for good reasons). It's more of a merge between vim and nano if anything, breaking the core intention behind nano.
If you ask me, nano has a niche of a super simple terminal editor that anyone can look at for the very first time and instantly figure out, with very few pitfalls or ways to mess up. The more features you add, the more modes and options, the easier it is for newcomers to press a key combo that puts them in a state only intended for power users that they won't be able to get out of without googling.
- quickthrower2 3y agohttps://itsthedatastupid.files.wordpress.com/2010/05/nomodes.jpg https://itsthedatastupid.files.wordpress.com/2010/05/nomodes...
- cmrdporcupine 3y agoI guess my main complaint about nano has always been that it seems more suited for document editing rather than code -- defaults to word-wrap on, doesn't really have syntax highlighting by default, not a lot of support for code-oriented workflow. Fine for writing up an email or commit message, I guess, but then I have to have another editor to write code in anyways? After 30 years of using emacs (well, these days a lot of CLion, too, let's call me a backsliding emacs user) I'm ready for an alternative. But nobody has come along with something that really fits the same swiss army knife niche.
- moffkalast 3y agoWell in my experience I very rarely if ever need to actually code in a terminal. Sftp or rsync are usually on hand so there's little reason to not just go for sublime or vscode if I need to make a substantial change. What nano comes in handy for is changing config files and adjusting system settings, when I'm jumping around and making very small edits.
- linuxdude314 3y agoAgree 100%. This is the way (or use SCP).
- linuxdude314 3y agoWriting code in nano is so asinine and such a huge red flag.
- tpoacher 3y agoI write a ton of code and it's all nano. I simply disagree that it's not suited for code. > defaults to word-wrap on a simple toggle in the config, or in the live session. > no syntax highlighting by default says who? Are you using an ancient version by any chance? If anything syntax highlighting is one of nano's strengths, as creating your own or modifying an existing syntax is super easy. I had to write custom syntax for nano and vim once: nano took me a few minutes, the vim one took me a whole day to write. > no support for code-oriented workflow Like? I've never wanted something (reasonable) that couldn't be done.