this post was submitted on 02 Sep 2024
794 points (93.4% liked)

Linux

48674 readers
344 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 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 91 points 3 months ago (4 children)
[–] [email protected] 25 points 3 months ago (2 children)

I too use nano.

alias nano="vi -y"

[–] [email protected] 4 points 3 months ago (1 children)

Just tried it in my terminal and I couldn’t exit, lol

[–] [email protected] 2 points 3 months ago (1 children)

sorry, i didn't tell how to quit. it's ctrl+q

[–] [email protected] 2 points 3 months ago (1 children)

Thanks, I finally got my access to the terminal back.

[–] [email protected] 1 points 3 months ago

just when you thought you knew how to exit vim lol
also, this is vim's "easy" mode.

[–] [email protected] 2 points 3 months ago
ln -sf /bin/nano /bin/vi
[–] [email protected] 12 points 3 months ago (1 children)

I like Nano. I think it is quite good. There, I said it.

[–] [email protected] 9 points 3 months ago (1 children)

Edit a file, writing a quick shell script or whatever in the terminal. Nano is great. I don't see any use in learning vim or emacs. If I need something more I'm going use a gui editor anyway.

Don't get triggered anyone it's just my preference

[–] [email protected] 1 points 3 months ago (1 children)

This is my thought process exactly.

I get it, for a power user, vim is probably incredibly powerful. However, I just want to edit text files. I don't want a text editor where I need a cheat sheet just to save my changes and quit.

[–] [email protected] 1 points 3 months ago (1 children)

Funny, that's what I hate about Nano. The key binds seem completely random to me and the programs solution to this is to display a cheatsheet on the screen

[–] [email protected] 1 points 3 months ago

Control+W = "Where is," Control+O = "Overwrite", Control+X = "Exit."

Makes just enough sense to me, and those are really the only three binds I ever need for editing config files.

I don't want to come off like a vim hater, because I do believe it when people say it's powerful, but... I don't need powerful. I just need to edit text files.

[–] [email protected] 4 points 3 months ago

Well hello there!