Live data from Hacker News

GNU nano is my editor of choice (2021)

ariadne.space

241–250 of 303 posts

Re: GNU nano is my editor of choice (2021)

#241
post #102
post #58

For people picking up linux for the first time that initial impression is crucial. Dropping people like that into an editor that requires you to somehow know ":q!" is the answer is utterly insane. Same with beginner tutorials using vi. It's straight up bad for linux adoption even if technically superior. Anyone that is a vi fan likely has the skillset to install it themselves - the reverse is not always true.

> It's straight up bad for linux adoption even if technically superior. I think the idea that Vim is "technically superior" should be challenged as well. I've watched, and participated in, dozens of discussions on text editors, and have never been shown a concrete piece of scientific evidence demonstrating Vim's claimed superiority according to any real-world metric. All we have are artificial comparisons where it ta…

Is difference in number of keystrokes (keychords) not fairly convincing evidence that, at the very least, vim results in less finger effort (and therefore lower risk of RSI) than other editors?

Even if you don't believe that there's a speed advantage (it's entirely plausible that the delay from cognitive processing necessary to navigate vim's more complex interface dwarfs the speed increase of pressing fewer keys), I find it hard to defend the idea that pressing significantly more keys is not ergonomically worse than pressing fewer (controlling for effort variables e.g. using the Carpalx model[0]).

[0] http://mkweb.bcgsc.ca/carpalx/?typing_effort

Re: GNU nano is my editor of choice (2021)

#242
post #99

Earlier quoted context omitted.

I have used VI in and out since introduced to it on Xenix in 1993. Definitely not missing out.

Neovim is a different beast than vi or vim, definitely suggest looking into it. It's insanely capable, and if major IDE's invested time into supporting it, you wouldn't need to ever choose between Neovim or an IDE, you could just use both together. I think currently VS Code is the only editor that supports Neovim properly, there might be others though. The neat benefit is you get all the editors own plugins + all of…

What does it mean for an IDE to support neovim?

Re: GNU nano is my editor of choice (2021)

#243
post #116

Earlier quoted context omitted.

It deletes to end of line.

Just tested in GNU nano, version 3.2, the default on Debian Buster, with default settings. Ctrl-K deletes entire line no matter where in the line you use it.

It's cutfromcursor in nanorc if you want the other behavior.

https://nano-editor.org/dist/latest/nanorc.5.html

Re: GNU nano is my editor of choice (2021)

#244
post #102

Earlier quoted context omitted.

> It's straight up bad for linux adoption even if technically superior. I think the idea that Vim is "technically superior" should be challenged as well. I've watched, and participated in, dozens of discussions on text editors, and have never been shown a concrete piece of scientific evidence demonstrating Vim's claimed superiority according to any real-world metric. All we have are artificial comparisons where it ta…

Well there's no convincing you then. The pros of modal editing is well documented, and I'm not even arguing about the superiority of vim over the likes of emacs. People who believe using cursor to select, move, copy stuff are better than modal editing, even after all the argument, is probably not going to be swayed ever. As an almost pure vim user, I know how my own speed are significantly improved ever since I adopt…

My favourite is rST headlines:

  yypVr-

Re: GNU nano is my editor of choice (2021)

#245
post #116

Earlier quoted context omitted.

It deletes to end of line.

Just tested in GNU nano, version 3.2, the default on Debian Buster, with default settings. Ctrl-K deletes entire line no matter where in the line you use it.

I believe ctrl+k cuts the line. ctrl+u pastes the line, yea?

Re: GNU nano is my editor of choice (2021)

#246

Earlier quoted context omitted.

Conversely, as multi-decade Unix user, when I type in "vi" I want to get Vi, I do not want Vim starting. If I wanted Vim I would have typed in "vim".

Why?

For me personally, the godawful default syntax highlighting is … quite unfortunate

Re: GNU nano is my editor of choice (2021)

#247
You can install nano on Windows using scoop, I usually do this so I can have some kind of text editor in powershell when I ssh into a Win11 box.

Once you do a bit of configuration, nano has all the pleasantries you’d want for a quick edit.

Re: GNU nano is my editor of choice (2021)

#248

Earlier quoted context omitted.

Neovim is a different beast than vi or vim, definitely suggest looking into it. It's insanely capable, and if major IDE's invested time into supporting it, you wouldn't need to ever choose between Neovim or an IDE, you could just use both together. I think currently VS Code is the only editor that supports Neovim properly, there might be others though. The neat benefit is you get all the editors own plugins + all of…

What does it mean for an IDE to support neovim?

it probably means to run actual instance of neovim and use it as a backend for current editor's content.

Re: GNU nano is my editor of choice (2021)

#249
post #73
post #5

There was a time (2006?) when I was getting into linux. I was a big microsofty, due to comfort mostly, and I was shamed into trying Linux. Like most people I went Ubuntu first, but wifi drivers at the time were lacking, and nvidia of yore was certainly not better than nvidia of now. Suffice it to say: I spent a lot of time in the terminal trying to fix things. Nano was my tool of choice because: honestly the initial…

> We have a less powerful tool because we want to attract newbies That's exactly it. The modern metrics for anything to be successful is the number of people using it, even if they are completely useless because they did not put any effort into learning the basics. In this case, it would be essentially "ESC", "i" and ":wq". But that's waaaay too hard. No wonder everybody ships a full rootfs in a container for every s…

This is so wrong. 'they don't want to learn, lets force them'. Understanding that some people don't need it might be waaaay too hard. Majority of people don't need 'more powerful tool', which needs to be learned for more time than they actually need to use it.
Post reply on HN