r/webdev • u/[deleted] • Oct 11 '19
Use Vim as a JavaScript IDE
https://spacevim.org/use-vim-as-a-javascript-ide/#code-completion3
u/evaluating-you Oct 11 '19
I never understood this, so let me try one more time:
vim is a useful tool when working on the server to configure etc. But why would I want to work with vim when developing? I assume that
You would want to develop locally
You would want to be efficient
And what I am also unclear about: we are talking about using Linux in these cases? Or are there people developing in vim on their Mac/Windows?
4
u/WroteBCPL full-stack Oct 11 '19
Or are there people developing in vim on their Mac/Windows?
Absolutely yes.
The reason being is that some people love vim. They want to use it for everything.
EDIT:
To expand a bit,
I assume that
You would want to develop locally
You would want to be efficient
Vim is super duper efficient. Editing in a non-modal way afterwards feels clunky and slow.
1
u/neosatan_pl Oct 11 '19
Coding with vim is way more efficient that in modal editors. You have to know your way around so there is an initial investment, but it pays off really quickly.
Imagine atom or sublime power users. It's default on vim.
1
u/Peechez Oct 11 '19
I use a laptop at work sometimes and I hate carrying a mouse around as well as general trackpad slowness
2
u/evaluating-you Oct 11 '19
OK. But I can't think of a keyboard shortcut my IDE doesn't have. Can you give me an example?
1
u/Peechez Oct 11 '19
Quickly highlighting and mutating lines/partial lines in lieu of dragging your cursor over the selection
1
u/evaluating-you Oct 11 '19
Works in PHPStorm (and true, often appreciated feature I haven't seen in many IDEs)
1
1
u/RedditCultureBlows Oct 11 '19
I mean, I feel like I can do anything in VSC without a mouse and keyboard only, just like Vim, but with the additional niceties of VSC. So I don’t really get it?
1
u/BuschWookie Oct 12 '19
Your scientists were so preoccupied with whether or not they could, they didn’t stop to think if they should.
19
u/mycatpasses Oct 11 '19 edited Oct 11 '19
At my office we only hire people who love vim.
We love vim so much that it is the only text editor we use for all document creation at my company.
For example, all email correspondence is created in vim, all HR/payroll paperwork is created with vim. We use vim to create our weekly sprints reports and track our progress.
Right now I am composing this reply in vim.
We recently had an unhappy employee who said we shoehorned vim into too many processes, "just to use vim". Seeing the opportunity to use vim in a new way, we drafted his termination paperwork in Vim and sent him on his merry way.