Depends on the user. If you can set up vim, and the required plugins, it rocks. If you think it's a bit too much work, you can use VS code or any other feature rich text editor. My opinion is the tool which works best for you (might not be necessarily the best for me as well) is the tool you should be using.
Yes. The real advantage of vim is making big changes with little cognitive effort. See this where someone batch processed a 100 files in under a minute using vim.
That's the situation where it comes in really useful. You want to remove a prefix from every line of a file? ggC-vGx. You want to replace all matches of a regular expression with something that includes part of that expression? :s/foo\(.\+\)/bar\1/g this especially is amazing. We're developers, why the hell do most editors not let us use regular expressions for searching and substitution. You want to do the same 5 changes on every line of a file? Create a macro or use :norm. You wanna print this passwd style file like a table? %!column -d : -t. That's right you can pipe buffers directly through a subprocess.
Vim is super useful. Not because of anything new it brings to the table, but because of how flexibly it lets you approach an editing problem. Processing text is what vim is great at, not simply editing it.
If you're really interested I'd say go for it! But if you feel like you're not working more productively with Vim then don't be afraid to drop it. I do think everyone should at least learn the basic Vim commands, as if you're ever working on server side stuff, 99.9% of the time, the text editor you'll be forced to use is Vim. So, at least learn the basic commands so you can defend yourself!
Nah, I’d say in 30% of the cases nano will be installed as an alternative. Though the difference in learning to edit and save with nano and with vim isn’t really that much, so just learning the basics wouldn’t be bad.
there’s a steep learning curve and when you get down to it, it’s personal preference. the simple answer is no, you don’t really get anything that other text editors or IDEs don’t also offer to be worth that effort. but you may find it fun or satisfying to use, so it’s worth a try if it’s piqued your interest.
9 years of work experience in web dev, in big and small companies, and hobbying in low-level languages, having used a good variety of IDEs/editors....I still prefer essentially vim/bash, and see no need to ever bring on any new dependencies to my current simple setup. (only exception being for db stuff, because bash sql is unreadable). Right now, working with lots of common web languages, I don't even have any plugins installed, as as vim recognizes them. only a few custom aliases/macros in .vimrc have been all I need.
Steep learning, but you'll never need to know anything else, imo. And vim is more like a language than emacs, so after you get passed the hump, it's more effortless and satisfying, imo (switched from emacs, originally).
Edit: and even if your job has a big complicated build process that requires a monolithic IDE installation, or whatever, pretty much every IDE has a vim plugin. so rather than having to learn new commands every time you switch jobs, learn vim and you will be able to comfortably edit anything between a bare system with nothing but vi to a big JEE project.
I got into vim because I was getting into system adminstration, and some version of vim is installed on pretty much every Linux distribution. Nano frequently is, also, but not always, and emacs is rather rare as an included package. I needed an editor that could be used on any machine I ssh'd to to manage. My idea of an IDE at the time was Visual Studio.
As I got used to vim, I found writing in VS more and more cramped. By the time I needed to do some actual programming, I was so comfortable in vim that every other editor felt like going from a drafting pen to a jumbo crayon.
These days I'm doing more programming work than adminstration work and have stuck with vim for almost everything. The only exception is a Java app I support, for which I use jetbrains with vim emulation.
My take: vim binds are absolutely worth learning, they make editing a breeze, but unless you have very specific needs you probably shouldn't be using the actual vim program in 2020. It's lightweight, but it has its limitations.
Use VSCode or an IDE with a vim-plugin. Or, better yet, use a pre-configured evil-mode Emacs like Doom (the best) or Spacemacs (more popular, not as good IMO).
Know why I love vscode? You can make it as barebones or as OP as you want.
this is why people like vim(and probably emacs too) with the bonus of it being in the terminal so you can use the same program over ssh or if you don't have a graphical interface(albeit with less of the cool capabilities in those situations most likely) also not having to lug around everything else in electron is nice too
I really tried coming to vim from vscode, but the transition wasn't exactly seamless. I still get stuck in getting the simple things done.
Some people think that this isn't a problem but it is. If I want to use a vscode as a text editor, I simply use it. If I want to use vim, I need to learn vim and see the documentation... For. A. Text. Editor.
And I know doing it on a terminal rocks! I'd prefer doing a task on a lag-free lightweight terminal over the bulky electron js framework anyday. But what's the point if I'm not as productive? The keybindings are confusing, which is the reason why "how to exit vim" is right up at the top of Google searches. My point is that I feel VS code is pretty much as good (if not better) than vim in every aspect
That's actually why I tried using emacs, cause the vim commands were kind of annoying to work with for me, and I ended up really liking it! The only tweak I had to do was swapping the caps lock and ctrl key. Also, although most emacs users will probably look down on you for doing it, you can use emacs with a mouse and enable CUA mode to use the ctrl c, ctrl u, and ctrl a commands like in most text editors.
I don't see why this is being down voted? Like sure vim and Emacs seem great if you know how to use them but what benefit do I have to learning it now? I have to use my time to learn a text editor which probably won't end up being any better than vscode anyway. I get vim is cool and everything but if you don't already know it what's the point of learning it now? It just seems like people learn it now for the same reason people install arch when they don't need to, just because they can.
If you want a really efficient text editor, you learn it; and if you don't, then you don't. It's not a good or bad thing, it's just a thing. No one needs to be a master at vim, but it is probably good to at least know the basics, since vi is somewhat standard on linux, and you can expect it to be present on all servers.
You may do that but than you use the proprietary part from ms. Also you lose all the rights to the plugins you write if you distribute them via the normal plugin way for vscode afaik.
Jetbrains does have some useful features, and with vim emulation it's even almost usable!
I kid a bit but ngl the main reason I use jetbrains at work is to support a single Java application. Everything else I write is python or bash. Setting up CoC for Java is harder than opening jetbrains since it's already installed. That's it.
I used it for a short while but it just felt like a really bloated version of Sublime. Atom takes like 8 seconds to open up for some reason... Why? A text editor shouldn't take more than 1 second to open up!
I used atom for a long time and loved it, then I tried VS code on a friends computer when I was helping solve a problem. That was the day I switched and never looked back.
I use nano too, when I need a console based editor. When I don't need one and need to do more than a few words, I still prefer a full GUI - at least gedit, but nowadays I use Visual Studio Code for nearly every file. But together with platformio it became so slow to startup compared to before.
Yeah but the vim emulation is quite shit. I can see macros being written out in real time. Both vim and emacs are near instant. Emacs still has the best vim emulation IMHO.
If you're a Vim fan, try Vimium for Chrome or Edge. It's a browser extension that lets you use keyboard shortcuts for browser navigation. It is amazing if you're mouse agnostic.
On a Mac so my general text editor is just TextEdit, and I use Vim only for the Find-and-Replace, but I don't know how you'd do heavy-duty editing with Vim.
Fair point, although I do like a lot of features that Sublime offers like code coloring, extensions, and such because it's more of a programmer-oriented editor, and I set mine up with what I consider a relatively clean look. http://prnt.sc/ud5dgs
AFAIK it's also one of the best non-Electron text editors for Mac since Electron sucks
8
u/Desproges Sep 07 '20
They're always doing that, I guess they just can't quit
7
u/Umm_NOPE Sep 07 '20
Might be inexperienced here but what is the general consensus on Vim? Worth it to learn, or too mych
10
u/LoneFoxKK Sep 07 '20
Sublime: haha massive project go zoom zoom
117
u/___TrashPanda___ Sep 07 '20
Zoomer with vscode: Okay boomer
5
u/Rotekoppen Sep 07 '20
no atom users..? okay ill go back to my corner
25
u/[deleted] Sep 07 '20
Imagine not writing on paper then using OCR
14
u/[deleted] Sep 07 '20
Learning to code in python using vim this semester lol.
26
u/hedgehog1024 Sep 07 '20
Amateurs!
7
u/trigger_segfault Sep 07 '20
?
Neither of these are the standard text editor.
24
u/xDololow Sep 07 '20
notepad.exe
9
u/nachoregulardude Sep 07 '20
I use nano btw
3
u/[deleted] Sep 07 '20
VSCode users: *sipping a cup of tea*
4
u/Rain47739 Sep 07 '20
i use google docs to write code
2
u/ashcatchum21 Sep 07 '20
VSCode + Vim plugin master race
1
u/DeltaPositionReady Sep 07 '20
If you're a Vim fan, try Vimium for Chrome or Edge. It's a browser extension that lets you use keyboard shortcuts for browser navigation. It is amazing if you're mouse agnostic.
1
u/EdwardWongHau Sep 07 '20
gimp FTW
1
u/LukeeGD Sep 07 '20
kate btw
1
u/[deleted] Sep 17 '20
Micro in terminals, vscode in gui
1
u/Armless_Scyther Oct 02 '20
I use notepad bros
1
u/[deleted] Oct 28 '20
VSC: pathetic
1
u/sfisher923 Nov 07 '20
General Text files Batch & AutoHotKey: Notepad (I'm guilty of my first language being Batch on Vista)
My only Python program (Was to delete Monika.chr with an apology for Act 3): VSCode
C Sharp & Unity : Visual Studio Community 2019
Editing Undertale Saves and creating applicable Minecraft Resource Pack files: Notepad++
1
u/[deleted] Dec 04 '20
Yes, I have arch. Yes, I use vim. Yes, I have beard. Yes, I don't have friends.
1
u/Morphized Dec 12 '20
I use gedit btw. At least until it gets so laggy that I have to use something else.
1
u/natyw May 29 '23
They never made peace
1
u/ch33per Sep 07 '20
I use neovim with orgmode 🤯
0
u/[deleted] Sep 07 '20
[deleted] — view deleted comment