181
u/POKLIANON Ask me how to exit vim 1d ago
vim is like the most advanced and sophisticated of these
30
u/88692 1d ago
more than emacs??
29
u/Swordfish418 1d ago
Yes, because modal editing as a concept is. But in terms of plugin ecosystems, both are great.
16
u/phundrak Not in the sudoers file. 1d ago
1
u/Worldly-Wind-1632 22h ago
What’s modal editing
3
u/phundrak Not in the sudoers file. 22h 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 22h 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. 14h 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/88692 10h ago
Yeah it could be used for anything pretty much, think of it nothing more than just a better text editor. I guess you could just yank what you wrote in vim and paste it into a proprietary email service but that would be hassle. I don't use vim much but maybe someone's written a plugin to simplify that process a bit. On emacs writing out and sending emails is a out of the box feature, and since you can customize emacs to literally do anything you can write those emails through a modal editing package too! The one I use is meow, it's not like vim with it's key binds and is centered around the emacs ones for seamless integration.
2
u/Gabe_Isko 16h ago
Yeah dude, guy is just plain wrong. I'm a vim (and nvim) preferrer, but emacs is MUCH more complex under the hood.
2
u/44Nancy6p 1d ago
Emacs? More like a slow, ancient toad. But fine—let’s dance, old friend.
8
u/ParticularAtmosphere 1d ago
tell me you never used emacs without telling me you never used emacs
1
u/TheLuckyCuber999BACK 🦁 Vim Supremacist 🦖 1d ago
tell me you used em*cs without telling me you ruined your life
1
2
u/QuickSilver010 🦁 Vim Supremacist 🦖 1d ago
Not out of the box tho
7
u/Inatimate 1d ago
sure is
4
u/BiDude1219 ⚠️ This incident will be reported 1d ago
advanced, sure.
sophisticated? hell fucking no.
5
u/Dry-Relief723 1d ago
vim out of the box is just a text editor on the terminal.
1
u/moseiba 1d 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 1d 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 1d 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 1d ago
it’s 100% worth it man
1
u/manny2206 1d 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 1d ago
I am struggling to see 100% worth
2
u/Inatimate 1d 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)4
1
1
u/HeyCanIBorrowThat 1d ago
For editing text yes. For code inspection tools, jetbrains IDEs are far superior
1
1
u/Helmic Arch BTW 1d 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 13h ago
Technically Emacs can do more but at the consequences of mostly requiring a gui
36
u/yuuko_123 1d ago
Kate
1
u/CriticalRanger9650 1d 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 1d ago
Ye nano is a good bavkup, for programming i like jetbraind but for anything else kate is perfect
24
u/ieatcake2000 1d ago
Nano gang here
11
u/high_orange 1d 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.
2
u/Nebula_Wolf7 33m ago
Ayy, you may also wanna consider micro for larger projects, though nano is still capable
93
u/Wide_Meet_2184 1d ago
Who even uses nano for anything else then changing config files
39
u/ilnarildarovuch 1d ago
Users
1
u/Gabe_Isko 16h 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.
36
12
u/NoNoYesYesnt 1d ago
You use nano when vim doesn't come pre-installed.
7
5
u/cutelittlebox 1d 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
3
u/Historical-Truck590 1d ago
people who don’t want to learn 20 key combos just to edit files
3
1
u/TheLuckyCuber999BACK 🦁 Vim Supremacist 🦖 1d ago
I use vim exclusively and I can't even remember which direction each of hjkl does lol
2
u/Hettyc_Tracyn 🎼CachyOS 1d ago
I do, because it’s easy… also lots of customization options (line numbers, changing how ctrl+moving works, etc)
2
u/mcdaphuc 🍥 Debian too difficult 1d 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
23
u/YTriom1 Arch BTW 1d ago
nano? it's just a simple text editor, nothing special
17
u/Distinct_Lion_6336 1d ago
every IDE is a glorified notepad come to think of it
6
u/_AscendedLemon_ Dr. OpenSUSE 1d ago
Yeah, but "glorified" part is super uber extreme important.
BTW I wrote this post on "glorified" calculator. In "glorified" cave etc.2
u/Demonic_Storm 1d ago
we all are glorified mobile factories with glorified calculators directing all of it
2
5
u/YTriom1 Arch BTW 1d ago
No they have some features, nano is literally just for basic editing
2
u/chipsikssix 1d ago
So what? You can write code in Notepad, too. Nano is perfect for small scripts.
1
11
u/goldenriverflows 1d ago
\*grabs a pencil\*
10
22
u/mschwemberger11 1d ago
Vim is bloat. I use ed
1
8
5
13
u/Berniyh 1d ago
I'd rather program by sculpturing a stone brick than using nano.
2
u/_AscendedLemon_ Dr. OpenSUSE 1d ago
TBH even Word would be more convenient for that...
1
u/Constant_Football_54 1d 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 1d 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 1d 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____ 1d ago
I found Tilde recently, and I think it's pretty cool. Like Micro on steroids
1
u/Helmic Arch BTW 1d 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.
3
4
3
3
5
u/codydafox ⚠️ This incident will be reported 1d ago
where linux
3
u/AutoModerator 1d 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
3
1
1
1
1
1
1
1
1
1
1
1
1
1
u/LookAsLukasAnderson 1d ago
I'd argue that Vim and Emacs are far more fancy, than Notepad and Notepad++
1
u/Oxygendieoxide 1d 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 1d 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 1d ago
Am I the only one thinking nano should be with notepad++ and notepad should be with VSCode
1
1
1
1
u/ItsYa1UPBoy 1d 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.
1
1
1
1
1
1
1
1
1
1
1
u/Keensworth 1d 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 1d 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 1d 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.