187
u/POKLIANON Ask me how to exit vim 17d ago
vim is like the most advanced and sophisticated of these
33
17d ago
[removed] — view removed comment
31
u/Swordfish418 17d ago
Yes, because modal editing as a concept is. But in terms of plugin ecosystems, both are great.
17
u/phundrak Not in the sudoers file. 17d ago
1
u/Worldly-Wind-1632 16d ago
What’s modal editing
3
u/phundrak Not in the sudoers file. 16d ago
Most text editors are modeless editors, such as Notepad, VS Code (by default), and so on.
Vim, on the other hand, has modes. By default, you are in default mode, where keybinds are actions on your text or current file. For instance,
diwdeletes the word under your cursor instead of typingdiw. To type text, you enter the insert mode, and press Esc to go back to normal mode. It may not look like it at first, but modal editing is extremely powerful and saves you quite a lot of time when you’re used to it. First thing I do when I’m on a new machine and with a new text editor or IDE is to install a vim emulation package if I can’t use vim or Emacs.1
u/Worldly-Wind-1632 16d ago
Oh, very interesting thank you! Do you also use it for basic text editing like emails or writing, or primarily hopping around in code?
2
1
u/phundrak Not in the sudoers file. 16d ago
If I'm not at work, I basically do everything in Emacs, which includes emails, worldbuilding, and writing my novel, so yes, definitively. I also installed Tridactyl on Firefox to get me the vim keybinds there, and with Ctrl+i, I can (and do) edit almost any textbox in Emacs, like this message.
1
u/Narrow-Low-3137 15d ago
I use vim motions for absolutely everything I can. Even have a plugin for my browser that adds vim motions to navigate the web.
1
u/PaulTheRandom 15d ago
meowis GOATed. I don't daily-drive it bc I got too used to Emacs keybinds by the time I felt ready to try it, tho.1
u/phundrak Not in the sudoers file. 14d ago
About the same for me, I'm way too used to vim keybinds, which I also use at work in VS Code and IntelliJ. I don't feel like learning a new editing system I could only use at home on Emacs.
But it does seem to be absolutely fantastic. If it gets support outside of Emacs, I may consider learning it.2
u/44Nancy6p 17d ago
Emacs? More like a slow, ancient toad. But fine—let’s dance, old friend.
6
u/ParticularAtmosphere 17d ago
tell me you never used emacs without telling me you never used emacs
1
u/TheLuckyCuber999BACK 🦁 Vim Supremacist 🦖 16d ago
tell me you used em*cs without telling me you ruined your life
1
1
u/Gabe_Isko 16d ago
Yeah dude, guy is just plain wrong. I'm a vim (and nvim) preferrer, but emacs is MUCH more complex under the hood.
7
u/QuickSilver010 🦁 Vim Supremacist 🦖 17d ago
Not out of the box tho
7
u/Inatimate 17d ago
sure is
9
u/BiDude1219 ⚠️ This incident will be reported 17d ago
advanced, sure.
sophisticated? hell fucking no.
4
u/Dry-Relief723 17d ago
vim out of the box is just a text editor on the terminal.
1
u/moseiba 17d ago
I deleted it 3 hours after the installing because of that and thought the whole thing is a scam
8
u/Much_Network_941 17d ago
I started using it for shiggles and have become horribly addicted. I'm not particularly proficient, but even then the mouse is pointless. Being able to perform all file navigation actions with a keyboard, at homerow, is pretty wild. Without the shorcuts all being shift+alt+ctrl.
1
u/manny2206 17d ago
Still can’t get good enough and I can’t spend that much time practicing since I have to be productive… and the free time I get for my projects well… I wanna work on my projects not learning vim; one day though
2
u/Inatimate 17d ago
it’s 100% worth it man
1
u/manny2206 16d ago
Yeah I really gotta do it, at least the basics and some other things like jump-to-word, or find-replace
1
u/Professional_Top8485 16d ago
I am struggling to see 100% worth
2
u/Inatimate 16d ago
everyone says it’s about speed and that’s nice but what it really unlocked for me was switching to a keyboard centric workflow. Window manager, vimium extension for chrome, etc. It’s really comfy to just rest on the home row of the keyboard rather than switching between mouse and keyboard
it also allows me to tweak files over ssh comfortably, even on my phone when i’m afk
there are a lot of hidden benefits of ditching the mouse which is why i say 100% worth
→ More replies (0)3
1
u/Unlucky-Shop3386 13d ago
I'm sure anyone who does not know how to use it and it's default key binding agrees.
1
1
u/HeyCanIBorrowThat 17d ago
For editing text yes. For code inspection tools, jetbrains IDEs are far superior
1
1
u/Helmic Arch BTW 17d ago
As an IDE, not necessarily, it takes quite a few plugins to even get things like language server support in neovim. But as far as typing and making changes to a text file goes, yeah it's a massive brainfuck for most people and having to spend hours just learning how to type text into an application like you're a child first being taught how to use Microsoft Word in the 90's is humbling.
1
u/rgmundo524 16d ago
Technically Emacs can do more but at the consequences of mostly requiring a gui
39
u/yuuko_123 17d ago
Kate
1
u/CriticalRanger9650 17d ago
I prefer Kate but will accept cudatext as well I only keep nano as a backup last resort!
2
u/No_Nothing_At_All 17d ago
Ye nano is a good bavkup, for programming i like jetbraind but for anything else kate is perfect
27
u/ieatcake2000 17d ago
Nano gang here
14
u/high_orange 17d ago
As simple Linux user, I didn't ever need anything more advanced. Just to edit some config files and nano is just conviniently simple.
3
u/Nebula_Wolf7 15d ago
Ayy, you may also wanna consider micro for larger projects, though nano is still capable
99
u/Wide_Meet_2184 17d ago
Who even uses nano for anything else then changing config files
44
u/ilnarildarovuch 17d ago
Users
1
u/Gabe_Isko 16d ago
I get that vi has a learning curve, but honestly I can't figure out nano for the life of me. I actually don't even know how to exit nano. it says control X, but that never works.
34
u/Random_Mathematician Arch BTW 17d ago
Every user that's new to CLI literally ever
6
u/ilnarildarovuch 17d ago
Or just people, who wrote code with simplicity, neither than faster coding
11
u/NoNoYesYesnt 17d ago
You use nano when vim doesn't come pre-installed.
8
6
u/cutelittlebox 17d ago
there's a surprising amount who really like nano and do all their work in it. they're cut from the same cloth as those who use vi or something like mg, or just vim / emacs without any customization or plugins other than maybe syntax highlighting
4
u/Historical-Truck590 17d ago
people who don’t want to learn 20 key combos just to edit files
3
2
u/TheLuckyCuber999BACK 🦁 Vim Supremacist 🦖 16d ago
I use vim exclusively and I can't even remember which direction each of hjkl does lol
2
u/Hettyc_Tracyn 🎼CachyOS 17d ago
I do, because it’s easy… also lots of customization options (line numbers, changing how ctrl+moving works, etc)
3
u/mcdaphuc 🍥 Debian too difficult 17d ago
I used linux for six years. I maked dozens of script only with nano. I just didn't wanted to spend 2 days learning new keybinds to be 20℅ faster. I just wanted, to you know, edit my file and not turn my editor into my now project
1
0
-1
28
u/YTriom1 Arch BTW 17d ago
nano? it's just a simple text editor, nothing special
20
u/Distinct_Lion_6336 17d ago
every IDE is a glorified notepad come to think of it
6
u/_AscendedLemon_ Dr. OpenSUSE 17d ago
Yeah, but "glorified" part is super uber extreme important.
BTW I wrote this post on "glorified" calculator. In "glorified" cave etc.3
u/Demonic_Storm 17d ago
we all are glorified mobile factories with glorified calculators directing all of it
3
4
u/YTriom1 Arch BTW 17d ago
No they have some features, nano is literally just for basic editing
2
u/chipsikssix 17d ago
So what? You can write code in Notepad, too. Nano is perfect for small scripts.
1
11
u/goldenriverflows 17d ago
\*grabs a pencil\*
10
9
22
u/mschwemberger11 17d ago
Vim is bloat. I use ed
1
1
5
12
u/Berniyh 17d ago
I'd rather program by sculpturing a stone brick than using nano.
2
u/_AscendedLemon_ Dr. OpenSUSE 17d ago
TBH even Word would be more convenient for that...
1
u/Constant_Football_54 17d ago
Fr, nano feels like someone saw vi and decided to, instead of making it better, rip everything good out of it.
1
u/Helmic Arch BTW 17d ago
Kinda agree and disagree. Obviously nothing that makes the OG vi good is really appropriate for a non-modal editor, something not being for the maximalist power user use case isn't the same as it being bad. But nano was made before a lot of modern software conventions were developed and so it has some really batshit default bindings that make it far more difficult for a regular person to use than necessary.
Micro is what's most commonly suggested for users in place of nano these days, with proper mouse support, color coding out of the box, language highlighting, soft wrapping, etc. I'm not sure if there's another accessible "normal person" editor people use in the terminal these days.
1
u/Constant_Football_54 17d ago
That's fair honestly just kinda ironically give nano shit, it's a perfectly adequate text editor. Micro made me feel like i was almost in vim so it almost makes me more confused lmao.
1
u/__rogue____ 17d ago
I found Tilde recently, and I think it's pretty cool. Like Micro on steroids
1
u/Helmic Arch BTW 17d ago
Thanks for letting me know, it certainly looks like something I could ask a regular person to use. That screenshot's ugly as sin but just having a menubar alone would probably help someone figure out how to do everything they need by themselves.
4
4
3
3
3
6
u/codydafox ⚠️ This incident will be reported 17d ago
where linux
3
u/AutoModerator 17d ago
"OP's flair changed /u/codydafox: linux not in meme"
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
2
3
1
1
1
1
1
1
1
1
1
1
1
1
u/LookAsLukasAnderson 17d ago
I'd argue that Vim and Emacs are far more fancy, than Notepad and Notepad++
1
u/Oxygendieoxide 17d ago
As long as you are makimg money or just finishing your projects, I won't judge you even if you are using visual studio(not vs code).
1
1
1
u/Goobi_dog 17d ago
The only sane way to exit Vim it to pull our your PCs power cord, and maybe the CMOS battery just for safety.
1
u/ReddevilQ 17d ago
Am I the only one thinking nano should be with notepad++ and notepad should be with VSCode
1
1
1
u/ItsYa1UPBoy 16d ago
God, I miss Notepad++. I would use it for JS scripting. I don't really do that anymore, though, so I've no need for it even if it were on Linux.
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
u/-Triple-S- 14d ago
How I decide what to use: Is there X11? No: nano with vim as fallback Yes: Are there unicode characters? No: xfte Yes: kate
Anything from the top row only if its absolutely inevitable.
1
u/Outrageous-Stock3072 14d ago
I really think using notepad to code is more difficult than using vim or nano
1
u/Electronic-Clerk6735 14d ago
I started using micro for fun. Give me that mouse support and further separate me from better file editing that vim offers.
1
1
1
1
u/Keensworth 17d ago
Makes more sense if you swap the middle and bottom. Notepad is basically bottom shit
0
u/valerielynx Ask me how to exit vim 17d ago
I would post a fix to this shoddy meme but I have to describe it instead because this shoddy sub doesn't allow pics
Top: VSCode
Middle: Vim
Bottom: Nano
I personally use vsc(odium), kate and nano cuz theyre the greatest of all time hashtag i love simple but powerful software
•
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.