Changing from a distro that defaults to nano to another that defaults to vim… What to do other than installing nano and changing visudo?

  • mholiv@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    19 days ago

    Big fan of Helix. Best part is that it dose not need any plugins to be a modern editor. Just configure any LSPs you want and it all just works including things like fuzzy finding, multiple cursors, file browsing etc.

  • Ithral@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    0
    ·
    18 days ago

    Micro is pretty nice, has limited mouse support in the TUI line numbers highlighting. That or Neovim customized

  • Diplomjodler@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    20 days ago

    I only ever use a terminal based editor for making quick edits of config files, so nano works just fine for me.

  • Peasley@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    20 days ago

    nano but i’m a casual. i can use vi/vim in a pinch, but i’m inefficient. ed and emacs are totally foreign

    i tend to use a graphical text editor like Kate unless there is a specific reason to do it in the terminal

  • jtrek@startrek.website
    link
    fedilink
    arrow-up
    0
    ·
    20 days ago

    I use nano for quick edits. I don’t know more than the basics of vim, and don’t do a lot of editing on the terminal so I haven’t needed to.

  • brax@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    20 days ago

    Neovim. One time I accidentally opened nano and couldn’t figure out how to get out of it… Wtf is with those keybinds?

    Lol at emacs not even being on your list. Suck it, emacs users 😂😂❤️

    • Obin@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      20 days ago

      Firstly, Emacs is not an alternative to any terminal based text editor, it’s an alternative to the terminal based workflow in general.

      Secondly, Emacs users can live without the hype, churn and elitism of the vim ecosystem and with a better editor instead.

      • azimir@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        20 days ago

        As the old joke goes: Emacs is great if you want to learn another OS.

        I’m a barbarian vim user. Whenever I watch a real Emacs user operate a full dev environment inside of Emacs I’m always left stunned. It’s a whole universe of functionality, not just a refined line editor like vim.

      • juipeltje@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        20 days ago

        And not just an editor, but an entire environment! I’ve only been using emacs for a few weeks now, but i’m really enjoying it. I’m not a developer, but i still find magit really awesome to use for my git needs, and atp i’ve replaced yazi with dired as my keyboard-driven file manager.

        • geneva_convenience@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          20 days ago

          Micro doesn’t need to list the shortcuts because it uses similar shortcuts to notepad and you don’t have to do weird ctrl+x to exit but ctrl+q (for quit). Also copy and pasting isn’t a nightmare in it.

          • SpaceNoodle@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            20 days ago

            Copy and paste in nano work just fine - no clue what you’re talking about. It uses standards established in the '80s - Ctrl-X for eXit being an even older standard - and clearly lists them visibly for a quick reminder.

            • geneva_convenience@lemmy.ml
              link
              fedilink
              arrow-up
              0
              ·
              20 days ago

              Yeah cutting text with ctrl+k instead of ctrl+x (because that’s exit) and copying with alt +6 instead of ctrl+c.

              Le

              Mao.

                • geneva_convenience@lemmy.ml
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  20 days ago

                  Why doesn’t my Lemmy comment box show shortcut hints? How will I know the shortcut for copy, cut and paste? I tried pressing alt+6 but it did nothing. Curse you Ecmascript from 1997!

              • juipeltje@lemmy.world
                link
                fedilink
                arrow-up
                0
                ·
                20 days ago

                In emacs ctrl+y is paste, which is weird to me because i’m pretty sure even in emacs the logic is that y stands for yank, but in every other program i’ve used so far yank means copy, not paste. In the end though i feel like muscle memory from other editors don’t bother me as much, and i can learn multiple at the same time. I started with evil mode for vim bindings for a short while, but now i’m diving into pure emacs bindings.

  • smiletolerantly@awful.systems
    link
    fedilink
    arrow-up
    0
    ·
    20 days ago

    Neovim, configured entirely through nixvim. I always liked neovim, but it’s never been as incredibly stable as now with nixvim.

    Main/only IDE both in private and at work. Can’t ever go back, muscle memory has ensured that.

  • iByteABit@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    20 days ago

    I used to use Neovim but now I mainly use Helix, it’s really good by default, the most hassle is usually just looking up an LSP for a language and installing it.

    My config file literally only has the theme I use, unlike the heavy configs I’d have to make so that vim/nvim are the way I want. I also like the multiple cursor approach it has to editing.

    • Clay_pidgin@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      20 days ago

      I also like the multiple cursor approach it has to editing.

      You do!? I cannot STAND it! Am I using it wrong? C to add another cursor on the line below but only if it already has a character in that column. It seems strictly worse than VIM’s visual line selection with V.

      • iByteABit@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        19 days ago

        For use cases like that it’s usually better to search a pattern and split it to cursors. Also using line selects helps.

        I remember being annoyed at what you said but I guess I was overusing C for new cursors when there were other ways to do what I needed because I don’t have that often now