.

      • Kusimulkku@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        1年前

        I’m too used to nano, switching for micro for a while I was constantly using nano key combos and making a mess of things.

        Stockholm syndrome from key combos lol

          • Kusimulkku@lemm.ee
            link
            fedilink
            arrow-up
            2
            ·
            1年前

            It would just be a bit funny since sensible keybindings was one of the reasons I originally switched. Turns out I had already used nano too long for me to actually want that feature hah.

            • kautau@lemmy.world
              link
              fedilink
              arrow-up
              7
              ·
              1年前

              Haha very true, if micro was the default, many people coming from common GUI apps would be like “okay, ctrl z to undo” and “ctrl s to save” “wow, it actually worked”

              • Kusimulkku@lemm.ee
                link
                fedilink
                arrow-up
                4
                ·
                1年前

                Absolutely. It would make sense as the default instead of nano (or vim of all things). Would help those who are just starting with Linux.

                • kautau@lemmy.world
                  link
                  fedilink
                  arrow-up
                  3
                  ·
                  1年前

                  Def! I sort of wish the RFC committee would push standards for smart cross-platform shortcuts. Of course people with muscle memory in a different standard should be able to change for their usage, but even GUI apps like vscode, sublime text, IntelliJ, etc could benefit from standardization there

  • TxzK@lemmy.zip
    link
    fedilink
    arrow-up
    37
    ·
    1年前

    Vim user here. The only way to exit vim is to pray to the Vim gods and sacrifice your first born, hoping that they’ll cause a cosmic ray to hit the right spot in the memory to flip the right bit that causes it to exit. There are no alternatives.

      • Simon@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        arrow-down
        13
        ·
        1年前

        Are you guys serious? Command q. or x. or wq. or use a proper fucking terminal so you can ctrl -z and resume.

        • Cethin@lemmy.zip
          link
          fedilink
          English
          arrow-up
          22
          ·
          1年前

          These is one of the oldest Linux memes. No, they aren’t serious. I have a hard time believing anyone here doesn’t actually know how to exit vim properly.

          • Revan343@lemmy.ca
            link
            fedilink
            arrow-up
            8
            ·
            edit-2
            1年前

            I have a hard time believing anyone here doesn’t actually know how to exit vim properly.

            You power cycle the machine, then run apt-get update && apt-get install nano, right?

            Fuckin \s, just in case that wasn’t clear

        • Revan343@lemmy.ca
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          edit-2
          1年前

          I am non-serious, I just don’t like vim (or emacs; if I’m editing a text file in a terminal I want nano, or I append manually with pipes as Linus intended).

          Most of my systems have X11 and some basic GUI text editor, my server is the exception that proves the rule. There is generally no actual reason to use Vim except liking Vim, or wanting to learn to like Vim.

          For those that do like Vim, or want to learn it for historical reasons? Good on you, have fun.

          If you like emacs fuck off though.

          • Hexarei@programming.dev
            link
            fedilink
            arrow-up
            5
            ·
            1年前

            The main reason for using (neo)vim is motions and text objects. Pretty cool to be able to type cxia, ]a, cxia to swap two function parameters in code. Or daf to delete a whole function.

            Even just f to jump to a specific character later in the line, or t to jump up to that character are absolutely life changing.

            I love love love editing HTML in neovim with the ability to do stuff like dst for “delete surrounding tag” or St<div class="something"> to surround the current selection with a new tag. I have yet to find another editor that can do stuff like that with just a couple key presses.

        • Kogasa@programming.dev
          link
          fedilink
          arrow-up
          2
          ·
          1年前

          Haven’t heard of 0x10c since 2012. Shame it was canceled, I love Elite and would love more games in its niche

          • Cethin@lemmy.zip
            link
            fedilink
            English
            arrow-up
            2
            ·
            1年前

            I’ve found Ostranauts recently, and it’s really fun and I feel has some of the same vibes. Not even close to the same though, being able to program your own systems that you put together. I still sometimes think about what 0x10c could have been. I’ve considered doing something similar myself, but I haven’t gotten around to it. Maybe someday something similar will exist.

    • embed_me@programming.dev
      link
      fedilink
      arrow-up
      10
      ·
      edit-2
      1年前

      You can yank text to system clipboard buffer ie +. Then paste (put) from the clipboard to any other vim process.

      Keep in mind you should have clipboard support in your vim. If you’re on ubuntu, install vim-gtk and you should be good

    • Mohaim@beehaw.org
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      1年前

      Install xclip then press "+y (double-quote plus-sign y) to yank to system clipboard then "+p to put from sys clipboard

  • snaggen@programming.dev
    link
    fedilink
    arrow-up
    13
    ·
    1年前

    I have been a vim user for more than 20 years. I tried to quit for a couple of years, but now I have just accepted my faith.

  • Dehydrated@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    1年前

    I have a few more suggestions:

    • JACKBOYS - WHAT TO DO?
    • Travis Scott - LOST FOREVER
    • Travis Scott - Impossible
  • Simon@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    1年前

    Funny story. After you start you can’t go back. What is a nano?

    Edit: If ctrl-z doesn’t get you out of vim you need to install another terminal or more likely just ditch your distro altogether.