News for hackers. Stuff that matters.
Re:micro – A Modern Alternative to nano by catiopatio on Friday August 18, 2023 @11:32AM (#37177018)
You could have learned enough vim to be usable in the time it took to write that comment.
Re:micro – A Modern Alternative to nano by codedokode on Friday August 18, 2023 @12:19PM (#37177864)
How to quit Vim and install Sublime Text?
Re:micro – A Modern Alternative to nano by rascul on Friday August 18, 2023 @01:00PM (#37178584)
> How to quit Vim

Restart the computer

Re:micro – A Modern Alternative to nano by cristifalcas on Friday August 18, 2023 @02:03PM (#37179664)
Silly you... It's Ctrl+Z
Re:micro – A Modern Alternative to nano by speedgoose on Friday August 18, 2023 @02:45PM (#37180275)
You can try Ctrl+C. Vim will of course not exit but display instructions about how to exit.
Re:micro – A Modern Alternative to nano by linuxdude314 on Friday August 18, 2023 @12:45PM (#37178325)
Agreed. Nano use is somewhat of a red flag to me.

It’s SO inefficient in comparison to Vim, VSCode, or tons of other alternatives.

If it’s the only thing on the box, fine, but in reality usually Vim is the only editor installed.

Re:micro – A Modern Alternative to nano by swozey on Friday August 18, 2023 @04:43PM (#37181844)
I initially thought you were speaking of CPU/ram efficiency until you threw in vscode, so I think you mean developer efficiency. Vi/vim is what you're accustomed to. I've worked with nano since it came out, I think 2004-5ish. I have no idea what I used prior to that, probably vi.

But I am MUCH faster and more efficient with nano than I am vi/vim/emacs. My text editor of choice is like my IDE of choice, it shouldn't be a problem at all for anyone to just accept that I'm getting my work done in a different application.

Re:micro – A Modern Alternative to nano by drbaba on Saturday August 19, 2023 @04:17AM (#37186674)
I'm more in the Vim camp myself, but suspect that those who use nano for longer programming sessions do so using a well-crafted nanorc. Nano does support some "modern" features like syntax highlighting, it's turned just off by default. (As far as I know, you won't be getting stuff like LSP and multiple cursors though.)
Re:micro – A Modern Alternative to nano by GoblinSlayer on Friday August 18, 2023 @02:13PM (#37179812)
Can I? I opened https://www.vim.org/docs.php but something bad happened to it and it displays in microscopic font for me.
Re:micro – A Modern Alternative to nano by swozey on Friday August 18, 2023 @04:27PM (#37181634)
I don't know how much you actually care, and I'm the nano OP of this comment chain/thread but there are some vims (and emacs) with plugins and what not built in. Only one I can think of off the top of my head is https://spacevim.org/ but theres a bunch.

If you are interested they might give you a good start.

Re:micro – A Modern Alternative to nano by b5n on Saturday August 19, 2023 @11:52AM (#37189985)
`vimtutor`