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

  • SayCyberOnceMore@feddit.uk
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 hours ago

    Just echo text to create a new file or use sed and awk to edit an existing file.

    In reality, I use nano for edits and vimdiff for comparing files (usually a .pacnew after an update on a headless device)

  • SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 hours ago

    Emacs.

    With all the vimmery going around nowadays though, I feel like I’m on the losing team. ;_;

  • solrize@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    4 hours ago

    “Why are we running from the police, Dad?”

    “Because they use vim, son. We use Emacs”.

  • juipeltje@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 hours ago

    If we’re talking purely something basic to be able to edit some shit on the system i think i would choose nano, purely because i’ve used it for years to edit everything (yes, even config files in full programming languages lol) and thus i’m very familiar with it. If we’re talking anything terminal-based in general, i like helix as a modal editor. I chose it over neovim at the time because i didn’t feel like configuring the whole thing, and helix is pretty much ready to go with lsp and everything ootb. A few weeks ago though i decided to make the switch to emacs, since i use guix now, so it felt like a natural fit. I might check out emacs in the terminal at some point, but i’m sticking with the gui for now.

  • fozid@feddit.uk
    link
    fedilink
    arrow-up
    0
    ·
    5 hours ago

    Nano is the easiest most straightforward to use, and it’s what I always use. I have nvim setup and I really believe it is better but I have had 20 years using nano and I really struggle forcing myself to switch and get used to it as it’s so completely different.