this post was submitted on 03 Sep 2023
737 points (93.1% liked)

linuxmemes

20880 readers
5 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (2 children)

Nano is overrated. I tell everyone who needs to edit from the terminal to use vimtutor. You'll never go back to Nano.

[–] [email protected] 7 points 1 year ago (3 children)

What's so great on vim for the average Joe which isn't offered by nano?

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Reaching over to CTRL every time you want to copy some text, delete a word, delete the next character or perform any other basic edit starts to take a toll on your hands after 20 minutes

[–] [email protected] 1 points 1 year ago (1 children)
  • Teleportation: the cursor can be teleport to any line without pressing down key multiple times...

  • Macro: for repeating a sequence of inputs multiple times...

  • Tabs: nano can't open multiple files at once i believe...

  • Split screen(horizontal and vertical)

  • Themes and plugins

These are a few that comes to mind...

[–] [email protected] 1 points 1 year ago (1 children)

Yeah, for all of those things, there's Micro.

[–] [email protected] 0 points 1 year ago

Yes, but the person asked comparing to nano...

[–] [email protected] 1 points 1 year ago

Vim has things like copy and paste, including being able to highlight text, search and replace, and I find its commands a lot less clunky than Nano's. I am not a software developer or a sysadmin, just someone who uses Linux for fun. All of this stuff works without having X or Wayland running too.

[–] [email protected] 0 points 1 year ago (1 children)

Nano is the MS notepad of Linux. No more, no less. You don't have the initial cost of learning vim with nano but in the end you're working more. I really don't understand how people can be productive without things like complex regexps, global commands, piping from the editor, etc.

[–] [email protected] 0 points 1 year ago (1 children)

Learning the basics of vim makes setting up a Linux system a lot easier. That's all I'm saying. You don't need to learn regexes or anything like that.

[–] [email protected] 0 points 1 year ago

I totally agree. The point is that learning the more advanced features will pay off in the future.