this post was submitted on 02 May 2026
90 points (95.9% liked)

Linux

65434 readers
401 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
[–] Levi@lemmy.ca 48 points 3 weeks ago (2 children)

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

[–] KingGordon@lemmy.world 10 points 3 weeks ago (1 children)

I see you and raise straight vi.

[–] azimir@lemmy.ml 5 points 3 weeks ago

That's what I was taught at my first tech internship. It's all they had on the UNIX system running the webserver in 1998.

I did write some web pages the pulled live data from the backend. I had the pleasure of writing them in C. I got the data binding to some kind of CORBA system using extern variables that were bound at compile time. All of the html (no js or css yet) was hand built and generated from the C code.

vi was the only editor on the system and there was no way to use arrow keys (the UNIX system didn't have them on the keyboard at all).

I also had the displeasure of building a backup system on a floppy where I had to write a bat script that could manually load a token ring driver, bind a SMB share, load Ghost backup software and backup the local hard drive at under 2mb (yay coax thicknet). The tool used to query and write through the hostname for the backup? Copycon. Fucking copycon in DOS. That showed me how a terrible (but working) tool could be to work with.

Unless an editor can do reasonable vim emulation, I can't take it seriously. You're welcome to use it, but I won't be able to get anything done in it quickly. The vi keys are too ground into my reflexes.

[–] HeHoXa@lemmy.zip 5 points 3 weeks 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.

[–] dparticiple@sh.itjust.works 33 points 3 weeks ago* (last edited 3 weeks ago) (6 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 7 points 3 weeks ago (2 children)

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

load more comments (2 replies)
load more comments (5 replies)
[–] Rindogang@lemmy.ml 21 points 3 weeks ago (3 children)

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

[–] BartyDeCanter@piefed.social 7 points 3 weeks ago (1 children)
load more comments (1 replies)
load more comments (2 replies)
[–] SpaceNoodle@lemmy.world 18 points 3 weeks ago (12 children)

nano. I can't memorize esoterica.

load more comments (12 replies)
[–] SrMono@feddit.org 17 points 3 weeks ago (1 children)
load more comments (1 replies)
[–] zloubida@sh.itjust.works 16 points 3 weeks ago (3 children)

nano for quick things; emacs for longer typing sessions.

load more comments (3 replies)
[–] eager_eagle@lemmy.world 15 points 3 weeks ago

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

[–] BradleyUffner@lemmy.world 14 points 3 weeks ago* (last edited 3 weeks ago) (3 children)

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

[–] Cyber@feddit.uk 7 points 3 weeks ago

Top Tip: open another terminal and kill the task from there

( /s )

load more comments (2 replies)
[–] thingsiplay@lemmy.ml 13 points 3 weeks ago

Team Neovim.

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

[–] swab148@lemmy.dbzer0.com 13 points 3 weeks ago (4 children)
load more comments (4 replies)
[–] Infrapink@thebrainbin.org 12 points 3 weeks 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)
[–] tehn00bi@lemmy.world 12 points 3 weeks ago

NANO I just need simple, and tell an me how to save and exit without abstract key codes.

[–] Diplomjodler3@lemmy.world 11 points 3 weeks ago

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

[–] mik3dd0@lemmy.ml 10 points 3 weeks ago
[–] savvywolf@pawb.social 10 points 3 weeks ago (2 children)

Emacs.

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

load more comments (2 replies)
[–] BartyDeCanter@piefed.social 10 points 3 weeks ago (2 children)

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

load more comments (2 replies)
[–] pineapple@lemmy.ml 10 points 3 weeks ago (1 children)

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

[–] MangoCats@feddit.it 5 points 3 weeks ago (1 children)

I use nano because it's always there.

load more comments (1 replies)
[–] mathemachristian@lemmy.ml 10 points 3 weeks ago (2 children)
load more comments (2 replies)
[–] solomonschuler@lemmy.zip 9 points 3 weeks ago (1 children)
load more comments (1 replies)
[–] solrize@lemmy.ml 8 points 3 weeks ago

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

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

[–] Penguincoder@beehaw.org 8 points 2 weeks ago

vim, mainly cause I haven't figured out how to quit yet.

[–] pelya@lemmy.world 8 points 3 weeks ago
[–] nous@programming.dev 8 points 3 weeks ago

I have switched to using helix, so no matter which distro I am on I need to change it to be my default by setting the EDITOR env var.

[–] electric_nan@lemmy.ml 8 points 3 weeks ago

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

[–] frog_brawler@lemmy.world 8 points 3 weeks ago (6 children)

Vim, but I also find this battle completely stupid.

load more comments (6 replies)
[–] SocialistVibes01@lemmy.ml 7 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

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

load more comments (2 replies)
[–] brax@sh.itjust.works 7 points 3 weeks 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 😂😂❤️

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

load more comments (3 replies)
load more comments (1 replies)
[–] AstroLightz@lemmy.world 7 points 3 weeks ago

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

[–] jbrains@sh.itjust.works 6 points 3 weeks ago (4 children)
load more comments (4 replies)
[–] kofzmann@toots.nu 6 points 3 weeks ago
[–] jtrek@startrek.website 6 points 3 weeks 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.

[–] sunbeam60@feddit.uk 5 points 2 weeks ago

My first computer was an Amstrad 664, with a green screen. I’m old. And I’ve been around Vim and EMacs from time to time and I love the console but for the love of god, since GUIs became the normal way to interact with computers, I just install micro now and have the same hotkeys across all the modes of interaction.

Speed of typing really isn’t the defining productivity measure for code.

Now I use VS Code in a GUI and micro on the console and that provides a reasonably consistent way of interacting with text.

[–] Shimitar@downonthestreet.eu 5 points 3 weeks ago

Vim forever, any flavour, don't care.

Why? Does actually exist anything else for the terminal?

[–] Peasley@lemmy.world 4 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

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

load more comments (2 replies)
[–] clmbmb@lemmy.dbzer0.com 4 points 3 weeks ago
[–] Malix@sopuli.xyz 4 points 3 weeks ago

For novelty I do install msedit, because nostalgia is rose tinted. But for realsies it's vim, not because I'm good at using it, but I'm familiar enough.

[–] smiletolerantly@awful.systems 4 points 3 weeks 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.

load more comments
view more: next ›