this post was submitted on 25 Aug 2023
198 points (99.0% liked)

Linux

47337 readers
1370 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
 

I start: the most important thing is not the desktop, it's the package manager.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 46 points 1 year ago (6 children)
[–] [email protected] 8 points 1 year ago

Just read this book:

[–] [email protected] 7 points 1 year ago (2 children)

Used to use gedit, the found nano and it was awesome. Then found Vim... I RAN back to nano haha

[–] [email protected] 6 points 1 year ago (1 children)

Try micro.

It's much better and quite easy if not easier to use than nano. It should really be the default simple editor.

[–] [email protected] 1 points 1 year ago

This looks cool! Thanks!

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

I hear you 😁. For whatever reason I stuck with the Vim tutorial and did it a few times over the years. Now I'm using the IdeaVIM extension in IntelliJ - that mode system is just sooo powerful. It has a horrible learning curve, yes, but if you manage to stick with it, it pays huge dividends. I probably know, like, 18% of all commands, and it completely changed how I edit files (mostly for coding, but also text).

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

Alright alright. You win haha seriously, you've convinced me to give vim another chance.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Use vimtutor. It comes with vim and teaches you to the basic vim commands from within vim.

And don't worry about exiting vim, that's lesson 1.2 :)

[–] [email protected] 2 points 1 year ago

Hahaha!!! I actually know how to exit Vim. Had to learn it when setting up a server config on a server that only had Vim installed. Once set up, nano got installed.

This vimtutor looks pretty awesome, and I can't wait to get learning on it. In all honesty, vim does looks super helpful. It's just that I usually use text editors to quickly setup configs, when gui won't do or I'm just done with gui for the moment. During those times, my patience is usually low, and searching how to save or quit or open or do any other basic functionality, reduces that patience further. But vimtutor makes it a point to learn vim when I'm not trying to get in, get it done, and get out. This may work for me. I may actually learn vim!

[–] [email protected] 4 points 1 year ago

I remember, back in the day, I asked on IRC how to edit a file in Linux. Someone said vi. Little did I know that in chat someone said, the next question is how do I quit. I asked that exact question. Yes chat erupted.

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

I vaguely remember pressing Alt+F4 while trying to close vim in a terminal once. It did switch to me login prompt so I thought it worked.

[–] [email protected] 2 points 1 year ago

Either by making it segfault or you don’t.

I got a whole software developer career going out of my attempts to exit vim.

[–] [email protected] 1 points 1 year ago

For people who actually don't know this, yet: Type :x.
This means “eXit, save any changes”

If you want to leave and discard your changes, type :q!
The :q means “Quit”, without any other instructions. This will warn you if you changed anything, adding ! means “force this command”.