this post was submitted on 02 May 2026
38 points (95.2% liked)

Linux

65005 readers
490 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
[–] savvywolf@pawb.social 1 points 4 minutes ago

Emacs.

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

[–] jbrains@sh.itjust.works 2 points 1 hour ago

I generally use micro on the terminal, kate or gedit in the GUI, depending. No hate towards the others, just what I've settled on over the years.

[–] Infrapink@thebrainbin.org 6 points 2 hours ago (1 children)

I'm an emacs -nw kind of guy.

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

[–] corsicanguppy@lemmy.ca 1 points 1 hour ago

...but only to mod the repo config to install emacs-nox. After that having seen the resource usage is the same as vi just use what's most versatile.

[–] solrize@lemmy.ml 1 points 59 minutes ago

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

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

[–] electric_nan@lemmy.ml 6 points 2 hours ago

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

[–] AstroLightz@lemmy.world 4 points 2 hours ago

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

[–] swab148@lemmy.dbzer0.com 7 points 2 hours ago
[–] juipeltje@lemmy.world 2 points 1 hour 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.

[–] dparticiple@sh.itjust.works 20 points 4 hours ago* (last edited 3 hours ago) (3 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)

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 2 points 1 hour ago

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

load more comments (1 replies)
[–] kofzmann@toots.nu 5 points 2 hours ago

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

[–] BartyDeCanter@piefed.social 8 points 3 hours ago (2 children)

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

[–] Sxan@piefed.zip 0 points 1 hour ago

I generally install boþ if I can, too, because helix still has no equivalent for vim -d. Diffs are þe only reason I run vi(m) anymore.

load more comments (1 replies)
[–] ClathrateG@hexbear.net 1 points 1 hour ago
[–] mik3dd0@lemmy.ml 7 points 3 hours ago
[–] chgxvjh@hexbear.net 2 points 2 hours ago* (last edited 2 hours ago)

Helix, it's a better vim

[–] mmmm@sopuli.xyz 1 points 2 hours ago

Seems I'm alone here on this but I'm team vis

[–] Levi@lemmy.ca 39 points 6 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 3 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)
[–] davel@lemmy.ml 1 points 2 hours ago

I was just now years old when I learned that mg (AKA MicroGnuEmacs) comes with OpenBSD & MacOS.

[–] fozid@feddit.uk 1 points 2 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.

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

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

[–] thingsiplay@lemmy.ml 5 points 3 hours ago
[–] SpaceNoodle@lemmy.world 8 points 4 hours ago (11 children)

nano. I can't memorize esoterica.

load more comments (11 replies)
[–] Rindogang@lemmy.ml 13 points 5 hours ago (1 children)

I use Helix... Uhhh idk I think it's nice I guess

[–] BartyDeCanter@piefed.social 5 points 3 hours ago (1 children)
[–] Rindogang@lemmy.ml 3 points 3 hours ago
[–] thoralf@discuss.familie-will.at 2 points 3 hours ago

VIM Learnt it in my first semester and use it ever since.

[–] L_Acacia@lemmy.ml 3 points 3 hours ago* (last edited 3 hours ago)

Vim/neovim if you are willing to take the time to learn how to use / config it.

Micro otherwise, very sensible keybinds and ux that map to modern gui apps, though it doesn't come installed in most distro unlike ed and nano.

[–] brax@sh.itjust.works 3 points 3 hours ago (1 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 😂😂❤️

[–] Obin@feddit.org 6 points 3 hours ago* (last edited 3 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.

[–] azimir@lemmy.ml 1 points 46 minutes 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 2 points 1 hour 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.

load more comments (1 replies)
[–] eager_eagle@lemmy.world 17 points 6 hours ago

micro for sensible defaults out of the box, and because I don't like modal editors.

[–] thingsiplay@lemmy.ml 12 points 6 hours ago

Team Neovim.

I looked into ed, then decided its not for me.

[–] zloubida@sh.itjust.works 12 points 6 hours ago (3 children)

nano for quick things; emacs for longer typing sessions.

load more comments (3 replies)
[–] iByteABit@lemmy.ml 4 points 4 hours 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.

load more comments
view more: next ›