• @IjonTichy@lemmy.world
      link
      fedilink
      2110 months ago

      No it isn’t, it respect’s ctrl+c, SIGINT and gives useful feedback for new users. Many shortcuts are immediately shown on screen.

      • Sören
        link
        fedilink
        12
        edit-2
        10 months ago

        If you open vim the first thing you will see it’s a text describing how to close it. Not saying other things are easier for a new user but closing is pretty simple. EDIT: if press ctrl - c vim will show you what you should press instead

        • MouseWithBeer
          link
          fedilink
          English
          1410 months ago

          And the whole time you have nano open it shows you all the shortcuts how to save and close at the bottom, so no, closing nano is not harder.

            • MouseWithBeer
              link
              fedilink
              English
              1110 months ago

              Then you press ctrl+g for help and it tells you:

              Shortcuts are written as follows: Control-key sequences are notated with a ‘^’ and can be entered either by using the Ctrl key or pressing the Esc key twice.

              :D

              Actually TIL about pressing esc twice.

              • arthurpizza
                link
                fedilink
                English
                010 months ago

                Why would you press CTRL+G if you didn’t know that ^ was CTRL?

                • MouseWithBeer
                  link
                  fedilink
                  English
                  1010 months ago

                  Look at the screenshot I posted, it actually specifies “ctrl + g” for help.

          • @nxfsi@lemmy.world
            link
            fedilink
            910 months ago

            I’d argue closing vim is still easier. You just have to hold down the power button long enough.

          • @Jeanschyso@lemmy.world
            link
            fedilink
            310 months ago

            I had to look up the upside down V meant Ctrl, which makes sense to me now that I know, but I had to Google that.

    • @danielton
      link
      210 months ago

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

        • glibg10b
          link
          fedilink
          1
          edit-2
          10 months 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

        • @Sage1918@lemmy.world
          link
          fedilink
          110 months ago
          • 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…

        • @danielton
          link
          110 months 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.

      • @Zoidberg@lemm.ee
        link
        fedilink
        010 months ago

        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.

        • @danielton
          link
          010 months ago

          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.

          • @Zoidberg@lemm.ee
            link
            fedilink
            010 months ago

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