this post was submitted on 02 May 2026
98 points (96.2% liked)

Linux

65052 readers
188 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
[–] SystemQ@lemmy.world 1 points 6 hours ago

Neovim + LazyVim

[–] CodeAssembler@lemmy.ml 2 points 8 hours ago

Mostly Neovim and Nano. Tried out ed in the UNIX4 tape that got recovered, was strange but fun to see where sed, grep and other commands got their name from.

GUI is still good old Sublime Text, but I almost completely switched to terminal based editors, I guess because of the nice work flow.

[–] dreamy@quokk.au 1 points 7 hours ago

vis. Only used it for editing configs and stuff though, not programming.

[–] Ithral@lemmy.blahaj.zone 1 points 7 hours ago

Micro is pretty nice, has limited mouse support in the TUI line numbers highlighting. That or Neovim customized

[–] Obnomus@lemmy.ml 2 points 9 hours ago
[–] pineapplelover@lemmy.dbzer0.com 2 points 9 hours ago

Neovim for terminal but often I use kate for gui because I still don't find vim commands more efficient

[–] fruitycoder@sh.itjust.works 1 points 8 hours ago

Vim unless I can neovim.

Being able to change configs on headless systems was my gateway, now I just prefer it

[–] p4rzivalrp2@piefed.social 1 points 9 hours ago (1 children)

Used to use micro but just switched to neovim, I'm finding it great, esp with the file manager built in

[–] eldavi@lemmy.ml 1 points 8 hours ago* (last edited 8 hours ago)

do you use neovim over vim for any particular reason?

i ask because i'm a vim user and wondering if should update but wondering if the x windows overhead is worth it.

[–] quantumvoid0@programming.dev 1 points 9 hours ago

vim forever (i think)

[–] dessalines@lemmy.ml 1 points 10 hours ago

Was staunchly team vim for 15 years, but now I'm on helix. As another user stated below, its like if vim were re-designed today, and without needing any addons to be a code-aware editor.

[–] abra_k@lemmy.blahaj.zone 2 points 15 hours ago

Helix: Barely needs a config. But they are also pretty close to done with a plug-in system for the stuff that isn't implemented by default :D

[–] GardenData61371@lemmy.world 2 points 16 hours ago

Nano. It's the easiest to use

[–] osanna@lemmy.vg 1 points 17 hours ago* (last edited 17 hours ago)

When I ran a trivia bot on irc back in the day, I used to use sed to edit question files. But mostly use nano now. I don’t do anything all day and COULD learn vim/emacs/something else. But I cbf

[–] Nibodhika@lemmy.world 1 points 17 hours ago

When I first started using Linux I used Kate, I know, I know, not command line, but I didn't needed a command line editor for my own computer. Eventually I started using nano for quick edits and that became my default CLI editor for a while. I don't remember what I used as an IDE back then, but maybe it was Eclipse, although I think it was mostly just Kate.

Eventually I decided to learn either VI or Emacs, and a friend who used Emacs pushed me to that side. I ended up switching everything to emacs, CLI, IDE, I even learnt org-mode and had tables and presentations in it.

Eventually my pinky started to hurt too much, so I switched to Pycharm for python, and kept emacs for C++, text edits and org-mode. I ended up slowly switching emacs everywhere and reverted to nano.

Some years back I decided to properly learn vim. I have been using nvim for a few years, and while it's not the everything tool that emacs was for me, it's still pretty darn useful. I also haven't become a movement ninja and oftentimes I go wwwwww to get where I want to be. But still, there are some very nice shortcuts that I use a lot like Change Inside/Around or Delete X lines. Macros are cool, and sometimes feel magical, but other times they don't work like I expected and I can't figure out why. I don't see myself changing to something else, the ubiquity of vim shortcuts in other programs makes it very convenient when I have to use something else.

[–] sudoer777@lemmy.ml 1 points 20 hours ago
[–] tehn00bi@lemmy.world 10 points 1 day ago

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

[–] mathemachristian@lemmy.ml 14 points 1 day ago (2 children)
load more comments (2 replies)
[–] bradboimler@lemmy.world 1 points 23 hours ago

Emacs → Vim → Neovim → Helix

[–] fratermus@piefed.social 3 points 1 day ago

vi, since it's ubiquitous.

[–] Levi@lemmy.ca 64 points 2 days ago (3 children)

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

load more comments (3 replies)
[–] BradleyUffner@lemmy.world 16 points 1 day ago* (last edited 1 day ago) (2 children)

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

[–] Cyber@feddit.uk 8 points 1 day ago

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

( /s )

load more comments (1 replies)
[–] HamsterRage@lemmy.ca 5 points 1 day ago (2 children)
load more comments (2 replies)
[–] dparticiple@sh.itjust.works 40 points 2 days ago* (last edited 1 day ago) (7 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.

load more comments (7 replies)
[–] jjlinux@lemmy.zip 2 points 1 day ago

Micro, for muscle memory for keyboard shortcuts from when I was a mostly GUI user.

[–] nullify3112@lemmy.world 3 points 1 day ago

I am a noob. My server is a MacMini running Ubuntu server because it was easy to install. I have a website, Jellyfin and nexcloud.

I don’t have the brain cells to understand VIM.

In the CLI, I use nano, always. In the GUI, I use Sublime text because the colors are very pretty.

[–] frog_brawler@lemmy.world 13 points 1 day ago (6 children)

Vim, but I also find this battle completely stupid.

load more comments (6 replies)
[–] fum@lemmy.world 4 points 1 day ago

I use the vi family of text editors in a CLI environment because it is part of the POSIX standard.

Even if nano is the default, vi will be there too, and I can just use that. Plus, if you know some basic vi commands, then you can get by without nano, and you don't need to know nano to use it for basic stuff as it shows you the key combos.

[–] Rindogang@lemmy.ml 26 points 2 days ago (4 children)

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

load more comments (4 replies)
[–] mholiv@lemmy.world 3 points 1 day ago

Big fan of Helix. Best part is that it dose not need any plugins to be a modern editor. Just configure any LSPs you want and it all just works including things like fuzzy finding, multiple cursors, file browsing etc.

[–] boredsquirrel@slrpnk.net 0 points 21 hours ago (1 children)
[–] Hadriscus@jlai.lu 0 points 19 hours ago (1 children)

and what ?? don't leave me hanging

[–] boredsquirrel@slrpnk.net 1 points 36 minutes ago* (last edited 35 minutes ago)

Profit

(A single & is used to detach the process. Though Qt apps keep logging)

[–] savvywolf@pawb.social 13 points 2 days 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)
[–] swab148@lemmy.dbzer0.com 17 points 2 days ago (1 children)
[–] notptr@lemmy.cyberia9.org 3 points 1 day ago

Surprise unix_surrealism

[–] enshu@lemmy.world 3 points 1 day ago

I used Neovim for a couple of years and then switched to Emacs. I love it.

[–] ironbeak@lemmy.ca 5 points 1 day ago

Used to be vim back in the day, neovim with a few lsp plugins — hated the convoluted collection of config scripts — then into vis (modernized vim/sam hybrid) but now settled on helix. After a small adjust for some finger memory, I wouldn’t go back. A lot of quality of life features out of the box.

I just a modal editor that just works with some quality of life features as codebases I worked on grew in complexity.

[–] eager_eagle@lemmy.world 22 points 2 days ago

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

[–] pineapple@lemmy.ml 10 points 1 day ago (2 children)

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

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