this post was submitted on 02 May 2026
44 points (95.8% liked)

Linux

65005 readers
500 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
[–] solomonschuler@lemmy.zip 1 points 35 minutes ago

I use emacs

[–] pineapple@lemmy.ml 4 points 1 hour ago

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

[–] ColdWater@lemmy.ca 1 points 58 minutes 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

[–] frog_brawler@lemmy.world 1 points 1 hour ago

Vim, but I also find this battle completely stupid.

[–] Cyber@feddit.uk 4 points 2 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)

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

sed forever

[–] savvywolf@pawb.social 3 points 2 hours ago

Emacs.

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

[–] jbrains@sh.itjust.works 4 points 3 hours ago (2 children)
[–] pineapple@lemmy.ml 1 points 1 hour ago

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

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

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

[–] Infrapink@thebrainbin.org 7 points 4 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 4 hours 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.

[–] electric_nan@lemmy.ml 8 points 4 hours ago

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

[–] swab148@lemmy.dbzer0.com 9 points 4 hours ago
[–] AstroLightz@lemmy.world 6 points 4 hours ago

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

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

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 3 hours ago (1 children)

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

[–] solomonschuler@lemmy.zip 1 points 22 minutes 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)
[–] solrize@lemmy.ml 2 points 3 hours ago

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

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

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

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.

[–] BartyDeCanter@piefed.social 9 points 5 hours ago (2 children)

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

load more comments (2 replies)
[–] Levi@lemmy.ca 45 points 8 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 5 points 5 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)

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

[–] mik3dd0@lemmy.ml 9 points 6 hours ago
[–] kofzmann@toots.nu 5 points 5 hours ago
[–] ClathrateG@hexbear.net 2 points 4 hours ago
[–] mmmm@sopuli.xyz 2 points 4 hours ago

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

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

nano. I can't memorize esoterica.

load more comments (11 replies)
[–] fozid@feddit.uk 2 points 4 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.

[–] Rindogang@lemmy.ml 14 points 7 hours ago (1 children)

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

[–] BartyDeCanter@piefed.social 6 points 5 hours ago (1 children)
[–] Rindogang@lemmy.ml 4 points 5 hours ago
[–] SocialistVibes01@lemmy.ml 6 points 6 hours ago* (last edited 6 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 6 points 5 hours ago
[–] brax@sh.itjust.works 5 points 5 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 7 points 5 hours ago* (last edited 5 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 2 points 3 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.

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

load more comments (1 replies)
[–] chgxvjh@hexbear.net 2 points 4 hours ago* (last edited 4 hours ago)

Helix, it's a better vim

load more comments
view more: next ›