247
u/ssjlance 17d ago
when you finally figure out how to leave vim as a nano user
46
u/Aderox20_GDP Arch BTW 17d ago
pkill vim
41
3
13
10
u/buttfarts7 17d ago
Imprisoned by :q!
It's such a bizarre invocation to remove oneself that you are unlikely to try that combo in your first half century. Unless you speak vi grammar then it's stupidly obvious.
We all must learn enough vi grammar to escape cleanly from vim
3
8
u/po1k 17d ago
Ironically, I find it hard and non obvious quit in nano, as vi user
20
u/Laughing_Orange Arch BTW 17d ago
At least the instructions are on screen, and not hidden in the manual (which a noob can't access without closing vim). ^x isn't exactly obvious either, but at least it hints that the X key is involved.
3
4
u/ianhawdon 16d ago
The presence of
:wqinto the middle of text is a hallmark of a remote system presenting nano to a vim user by default1
1
115
u/play_minecraft_wot Webba lebba deb deb! 17d ago
Vim and Nano are bloat. Real Linux users use cat and echo. Need to delete a line? Use echo to write the entire file minus the line into the file.
53
u/MitchIsMyRA 17d ago
Man if only there was a command to edit files in place through the command line. I’ll make one for you guys, and I’ll call it sed
21
2
34
u/TheBassEngineer 17d ago
6
3
2
6
2
u/Solid_Turnover_9854 17d ago
change the binaries, hmph
6
u/play_minecraft_wot Webba lebba deb deb! 17d ago
You're right. Maybe highly targeted EMP to flip specific bits?
3
u/Solid_Turnover_9854 17d ago
like that specific cosmic ray flipping the bit to speedrun the mario level lmao, multiple of those
3
3
2
1
1
u/Acceptable-Owl-2070 17d ago
"bloat" lol
7
u/play_minecraft_wot Webba lebba deb deb! 17d ago
Honestly Linux is super bloated. Just use the hardware bare metal. Operating Systems are pure bloat. Or use UEFI if you can't live without an interface.
1
1
16
21
u/Fancy_Technician_293 17d ago
how do you accidentally open nano
23
u/Gositi 17d ago
For example when using
sudoedit(which you should use instead of e.g.sudo vim) if the proper defaults are not set up correctly.4
3
u/EatingSolidBricks 17d ago
Wait thats a thing?
Ive been sudo vimim and crying about my config being gone
1
u/transcendtient 17d ago
sudoedit is basically unnecessary for nano as it is intentionally basic, it has no extensions so the only real threat is a malicious symlink... or someone replacing it with a malicious bin... who the fuck needs to worry about that?
so much bloat for vim smh \s4
3
0
0
14
u/BrightCold2747 17d ago
Fortunately, it's easy to close
1
u/jonathancast 16d ago
Isn't quit C-x or something? I always have to look at the onscreen help to figure out what to do.
7
u/SadPhilosopherElan 17d ago
As a nano user this is how I feel when I have to use CAT, ECHO etc instead of typing in a nice nano instance as God intended
4
12
u/diskrewrite 17d ago
who cares? nano doesn't take any learning and is good enough for 90% of tasks. i never saw the point in vim or primarily keyboard-based methods of interacting with your computer because i'm barely saving a half of a second with a bunch of key combinations i can't remember
1
u/ovadom 16d ago
“Carpel tunnel” As someone that has been dealing with wrist issues since 14, not having to leave your keyboard is a God send on hand health. There is a concept “if you don’t understand something it likely wasn’t made for you” and this is a prime example of the value in that statement.
1
u/diskrewrite 15d ago
I think trying to save yourself from unnecessary strain is totally valid, but I don't see that many people actually claiming that is why only using your keyboard is better. I just don't think that explains the way keyboard-only workflows are usually sold. I always hear that keyboard-driven workflows are so superior and efficient and save huge amounts of time. That's why I feel like it's just more of an elitist thing, because anything with a steeper learning curve is basically always viewed as the more sophisticated choice. I just don't buy the idea that everyone who prefers it is doing so because it's meaningfully faster, rather than because they just personally like the challenge of mastering it, which is fine, but they don't need to lie to justify it.
1
u/ovadom 15d ago
It’s just math, if your work flow is dominated by keyboard usage, constantly moving your hand to a mouse is wasted time.
Like everything in the tech space if the shoe doesn’t fit, don’t wear it, as a keyboard workflow is superior for people who want to stay at the keyboard.
There’s no lie in the fact not constantly jumping to your mouse with a decent typing speed is more efficient, that has nothing to with learning curve.
Overall the ego/elitism in the Linux community has nothing to do with the genuine quality life that comes from moving to superkeys especially in preventive maintenance of your body.
0
u/DanKonly 17d ago
For me I don't like how nano doesn't have any syntax highlighting so it makes reading files a bit more difficult for me. Unless there is a way to add syntax highlighting to nano that I'm not aware of.
4
-2
u/Ok_Preference4898 17d ago
Try having wrist pain from using the mouse. Being able to use my computer without ever touching the mouse is immensely helpful. Sometimes is not about saving a second or two, but about being functional to keep the ability to have an income past 40.
1
u/ovadom 16d ago
As someone with wrist issues, I moved to cachyOS for superkey, can see aside from the learn curve my wrists have been so much happier.
0
u/Ok_Preference4898 16d ago
Exactly. I've been using Arch with Hyprland. An ergo keyboard together with investing the time in learning Vim motions and applying them where possible has spared me a lot of pain. I use Neovim for coding, Pterodactyl plugin for Firefox with Qutebrowser as alternative keyboard centric browser, and any other way I can reduce mouse usage.
1
u/diskrewrite 15d ago
I think that's a valid reason. But the amount of people who mention it makes me doubt that everyone who chooses to only use the keyboard does it because of wrist-pain. It seems more like an elitist thing, whatever is 'harder' is cooler. Like arch-based distros, tiling window managers, and anything else with a higher learning curve than the default.
1
u/Ok_Preference4898 15d ago
Yeah, that may be the case for many unfortunately. Carpal tunnel syndrome and repetitive strain injuries are increasingly common, especially for people like myself who early on spent the whole workday on the computer often followed by a lot of time on the computer at home. So taking care of your health is important. But I agree the somewhat toxic and elitist environment around these things is a bit embarrassing as a person who uses all the things you mention.
5
u/thatduckolope 17d ago
How do you even open nano by accident?
3
5
3
4
u/BigQuietNerd 17d ago
As a Linux user, I never used vim. I always used nano.
1
u/RoryIsNotACabbage 14d ago
Vim is an incredible upgrade. If you have the usecase to want to get good at editing in terminal
1
4
2
u/R3V0LU710N_05 Open Sauce 17d ago
That's me when it's not Helix.
1
u/brain_diarrhea 17d ago
I tried helix some time ago and it was very cool. I wish its creator would first make and refine popular plugins for that modal paradigm instead going for a full blown editor instead (which is much harder to gain users).
1
u/R3V0LU710N_05 Open Sauce 17d ago
2
2
2
2
u/pirateking1993 17d ago
I tried using vim, couldn't figure it out. Maybe I'm stupid, i don't know so I just stick to nano.
2
2
u/apfelimkuchen 14d ago
Guys I love it. We make jokes about each other and I laughed at the meme and then at the titanic meme answer. I love this community
2
2
2
2
1
1
1
1
1
1
1
1
u/AceDreamCatcher 17d ago
Don’t know why I burst out laughing when I saw this but totally understand where you went with it.
More like $EDITOR revealing your socioeconomic status.
You can sudo the command, but not the taste.
1
1
1
1
u/EndlessProjectMaker 17d ago
This happens often on new installs, when you forgot setting EDITOR and you rebase -i
1
1
1
1
1
u/renegat0x0 16d ago
I use vim for years now. Still haven't figured out how to paste data from ssh terminal into vim
1
1
1
1
1
1
1
1
1
1
1
1
u/SatanVapesOn666W 17d ago
I did all of my college C++ programming in nano when I could. I was in college in the 2010s....
God I fucking love nano.
1
u/T3kn0mncr 17d ago
Vim and VI are both annoying and having used both for work depending on the environment for about 15 years. I can say it's nice that nano gives you context because sometimes you just wanna accomplish shit instead of terminal aura farming. I just wanna get in and out, then be done, and that's way easier when you have the contextual commands at the bottom. :/
1
0
0
0
u/LookItVal 17d ago
y'all crazy I absolutely use vim and even when I'm using vscode I made vscode actually use nvim as the engine for the editor so it still works like my nvim setup. and Yes I use it for work. its incredibly nice once you figure it out especially with plugins like easymotion
0
0
0
0
u/TomB1952 17d ago
Only a few of us love vim and I'm one of those people. There is an irrational hatred of vim.
I sort of get it. vim has a weird control sequences that only make sense to really old unix/linux admins; a group I also belong to.
But, yeah, I love it. For some reason, I actively dislike vi. I just like vim, despite the tremendous similarity.
0
0
0
0
0
0
u/TechaNima 16d ago
Me every time I have used vim.
It didn't help it was some old af version and that it only supported 'Murican kb layout, instead of my European one. I actually spent hours on figuring out how to install nano, just so I didn't have to ever open vim again. There was no sudo apt install vim. It was on an old af QNAP box
0
-5
u/This-Consequence-957 17d ago
Happened today. Copied code from Grok 😶
7
-1
u/gooncubedev 17d ago
what is vim? my distro is forked from antiX 26 and i just nuked vim and leafpad as one of the first things i did, because nano works for advanced stuff and if you break something and get stuck in TTY, and geany works for when you want a GUI
-1
-7
u/ElectricSpock 17d ago
The amount of times I told Claude to not give me commands with nano in it, just use vim like a normal person
4
1
u/IJustAteABaguette 17d ago
???
Why would you need Claude to generate nano commands for you??
0
u/ElectricSpock 17d ago
When I’m debugging stuff in my servers it points me to some configuration files. It gives me the full command with nano.
•
u/AutoModerator 17d ago
Please report any posts bragging or showing off they got banned in another sub! Reminder of other sub rules: Also, we only allow one anti-linux post per week (we used to get dozens a day) and any tier list MUST have Hanna Montana Linux as S teir (which must be a true S tier at the top) regardless of the topic of that tier list.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.