this post was submitted on 02 May 2026
43 points (95.7% liked)

Linux

65009 readers
436 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
 

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

top 50 comments
sorted by: hot top controversial new old
[–] BradleyUffner@lemmy.world 3 points 1 hour ago* (last edited 1 hour ago)

Nano, because it's the only one I can remember how to quit from without power cycling the computer.

[–] dizzle8@lemmy.ml 1 points 1 hour ago

I typically use nano for the quicker edits but enjoy using vim otherwise.

[–] solomonschuler@lemmy.zip 5 points 4 hours ago (1 children)
[–] zstg@programming.dev 1 points 6 minutes ago
[–] pineapple@lemmy.ml 5 points 4 hours ago (1 children)

I use nano because I haven't learned how to use anything else yet.

[–] MangoCats@feddit.it 1 points 2 hours ago

I use nano because it's always there.

[–] frog_brawler@lemmy.world 3 points 4 hours ago

Vim, but I also find this battle completely stupid.

[–] savvywolf@pawb.social 7 points 5 hours ago (1 children)

Emacs.

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

[–] wuphysics87@lemmy.ml 2 points 2 hours ago (1 children)
[–] Corngood@lemmy.ml 1 points 55 minutes ago

Still team Emacs. We're a team because we use elisp, not because of something trivial like how our text editors work.

[–] mactan@lemmy.ml 2 points 5 hours ago

sed forever

[–] Cyber@feddit.uk 3 points 5 hours ago (1 children)

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)

[–] AnnaFrankfurter@lemmy.ml 1 points 2 hours ago

Atleast be a neckbeard and use cat the way neckbeard Gods intended \s

[–] dparticiple@sh.itjust.works 25 points 9 hours ago* (last edited 3 hours ago) (4 children)

At the risk of restarting the Editor wars (https://en.wikipedia.org/wiki/Editor_war) from days of yore, I find it interesting that emacs wasn't even in your list of contenders. I hear it mentioned less frequently these days, so perhaps it's going by the wayside?

For the record, I'm a vi/vim user! I had the privilege of being taught to use it by an RFC-writing greybeard decades ago, and have used it without thinking ever since.

For those who find themselves on a machine with only vi/vim, or want to learn, here's a quick primer when editing a file (usually done by typing "vi foo.txt" in a shell) --

:q! ...Force quit vi (:q also works -- gentler!)

:wq! ...Save file and quit vi

i (then type characters) ...insert text at current position

A (then type characters) ...Insert at end of current line

G ...go to first character of last line in the file

/foo ...search for first occurrence of "foo" in the file (hit / again to find additional instances)

x ...Delete character under cursor

:56 ...Go to line 56

yy ...Copy the line the cursor is currently on into the buffer

p ... Paste the buffer

r (then type character) ...Replace character under cursor

u ...undo (hit multiple times to undo prior actions)

When done with a command like this, hit Esc to go back into normal mode.

Second nature after a bit of practice! I used to work with a guy who insisted on using ed. That was... odd.

[–] kaiyo@piefed.ca 3 points 7 hours ago (1 children)

Yeah but op was comparing editors, not OS's. https://emacsos.dev/

[–] solomonschuler@lemmy.zip 1 points 3 hours ago

well it is an editor, it was intended to be an editor, you just have the options to watch videos within it 😂

load more comments (2 replies)
[–] ColdWater@lemmy.ca 1 points 4 hours ago

I still use nano, I tried micro and it's confusing af to use also it didn't allow konsole context menu to copy anything from it or paste anything from outside even with ctrl+v or ctrl+shift+v

[–] Infrapink@thebrainbin.org 8 points 7 hours ago (1 children)

I'm an emacs -nw kind of guy.

But if I have to pick one of your options, nano

load more comments (1 replies)
[–] solrize@lemmy.ml 4 points 6 hours ago

"Why are we running from the police, Dad?"

"Because they use vim, son. We use Emacs".

[–] AstroLightz@lemmy.world 7 points 7 hours ago

I'm on team "whatever comes pre-installed"

[–] swab148@lemmy.dbzer0.com 8 points 8 hours ago
[–] jbrains@sh.itjust.works 3 points 6 hours ago (2 children)
[–] pineapple@lemmy.ml 1 points 5 hours ago

I've never heard of helix before, is it any good?

[–] clay_pidgin@sh.itjust.works 1 points 5 hours ago* (last edited 5 hours ago)

Which, for those not already knowing, is basically a reboot of VIM. It's what I use too.

[–] Levi@lemmy.ca 37 points 11 hours ago (3 children)

Team Vim. Because I learned the vim basics once 20 years ago and never bothered to learn after that. :D

[–] HeHoXa@lemmy.zip 4 points 8 hours ago

Vim sorely underrated. Great tools/hotkeys. Felt like a master pianist clacking away while the terminal went berserk until suddenly the 2 hour job was done in 20 minutes.

load more comments (2 replies)
[–] electric_nan@lemmy.ml 5 points 8 hours ago

Nano. It's easy and I've never had a reason to change.

[–] SpaceNoodle@lemmy.world 13 points 10 hours ago (10 children)

nano. I can't memorize esoterica.

load more comments (10 replies)
[–] mik3dd0@lemmy.ml 9 points 9 hours ago
[–] kofzmann@toots.nu 6 points 8 hours ago
[–] BartyDeCanter@piefed.social 8 points 9 hours ago (2 children)

Helix when I can install things, vi when I can't.

load more comments (2 replies)
[–] juipeltje@lemmy.world 3 points 7 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.

[–] brax@sh.itjust.works 6 points 9 hours ago (2 children)

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 😂😂❤️

[–] prole@lemmy.blahaj.zone 2 points 1 hour ago

It literally tells you like 3 ways you exit nano at the bottom

[–] Obin@feddit.org 8 points 9 hours ago* (last edited 9 hours ago) (3 children)

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.

[–] juipeltje@lemmy.world 3 points 7 hours 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.

[–] azimir@lemmy.ml 2 points 6 hours 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.

load more comments (1 replies)

Nano and I've actually started using Helix which I like a lot. It's keybinds make more sense to me than vim.

[–] SocialistVibes01@lemmy.ml 6 points 9 hours ago* (last edited 9 hours ago) (1 children)

I realized that I'd forgotten about pico and joe, the latter was my very first text editor (hated it!).

load more comments (1 replies)
[–] zloubida@sh.itjust.works 13 points 11 hours ago (3 children)

nano for quick things; emacs for longer typing sessions.

load more comments (3 replies)
load more comments
view more: next ›