this post was submitted on 14 Jun 2025
280 points (97.9% liked)
Linux
55274 readers
1372 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
ed (which is the more frugal, older brother of vi/vim) might indeed be a bit under-hyped. Which advantages does it have for you?
Funny thing a while ago I had a small side-project for a data collection task in my PDA - a kind of minimal database to record daily stuff. So, a PDA has limited screen space and typing speed, and I tried to make the UI with as little typing as possible. And then it dawned to me that I was essentially replicating ed's interface!
I primarily edit groff-, shell- and (small) c-files. I like it to simply search a line make the edit and move on.
All my groff and c projects have makefiles, with 'm' being an alias for 'make'. So a simple 'w' and '!m' will do.
I use 'z' a lot to view portions of the file.
If I need to transfer a part of a file to another file I simly write that part to a temporary file and import it.
There are some situations when I open vi instead. Primarily when I have to escape a lot of characters to make the edit.