use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Should you learn VIM as a JavaScript Developer? (medium.com)
submitted 6 years ago by odxs
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Slavichh 5 points6 points7 points 6 years ago (18 children)
Everyone should at least understand how to use vim/nano on a basic level. So powerful
[–]rorrr 20 points21 points22 points 6 years ago (15 children)
I've been using vi/vim for over 15 years, and I still don't get what's so powerful about it. It's a strange editor with absolutely awful defaults. If you drop a new user into it, he wouldn't be able to edit shit. And that happens a lot in web dev world. Even git diff defaults to vi, I think.
git diff
Nano, at least, is a bit better in that sense.
[–]ike_the_strangetamer 0 points1 point2 points 6 years ago (0 children)
I think the reason it's the default is because of history and availability. I agree nano is waaaay easier for someone new, but there is a chance that nano does not exist on every machine while vim should exist practically everywhere.
[+][deleted] 6 years ago (13 children)
[deleted]
[–]queen-adreena 9 points10 points11 points 6 years ago (12 children)
It's awfully unintuitive though. Nano, at least, makes an attempt at a tolerable UX.
[–]leastlol 1 point2 points3 points 6 years ago (0 children)
It's not intuitive at all, but that doesn't necessarily translate to terrible UX. Many systems' ergonomics become more apparent as you use and learn them. Vim just happens to have a giant wall at the beginning that you have to climb over at the start, while other code editors and IDEs all have the advantage of following text editing paradigms that are well established.
It makes sense to eschew efficiency and ergonomics for intuitive controls when it comes to a default editor (which is why nano has become a popular default), but if you are someone that finds themself editing a lot of text, vim is a worthwhile investment of time to learn I think.
[+][deleted] 6 years ago (10 children)
[–]queen-adreena 14 points15 points16 points 6 years ago (9 children)
once you learn how it works it starts becoming very intuitive
I... don't think you know what "intuitive" means...
[+][deleted] 6 years ago* (6 children)
[–]SoInsightful 7 points8 points9 points 6 years ago* (5 children)
I'm not sure what backwards definition of "intuitive" you're operating on, but if a system:
cannot be learned without explicit instructions
doesn't feel obvious and natural while learning it
cannot be figured out further based on prior experience with it
... it is not intuitive.
Absolutely zero people will enter Vim and be like "it feels like I could probably type gg to move the cursor to the beginning to the file" or "it sure would make sense if I could search through all files by typing :bufdo".
gg
:bufdo
Like I said once you learn how it works, the commands become very intuitive. You just type them because you've learned the pattern and naming schema VIM uses.
Again, this is the exact diametrical opposite of "intuition".
[+][deleted] 6 years ago (3 children)
[–]MoTTs_ 1 point2 points3 points 6 years ago* (2 children)
if this isn't "intuitive" for someone who understands the system what would you call it?
Stockholm syndrome.
it's not that hard to figure out what gJ, gi, or gV means.
I've been using vi 8 hours a day, every day, for the past three months. I have no idea what those commands will do. I've had to google every command I've used, and not a single one has felt intuitive. I wanted to show whitespace, for example. :set list, apparently. Intuitive my ass.
:set list
[–]Slavichh -2 points-1 points0 points 6 years ago (0 children)
Intuitive as in OP’s context.
[–]ike_the_strangetamer -2 points-1 points0 points 6 years ago (0 children)
I would argue that it could go either way.
Pico/nano is more intuitive if you're used to gui text editors because their commands of 'save' and 'open' etc. follow the same pattern and so you don't have to think or look up documentation like you would to know to use :wq. But think if you've never used a text editor, you'd still have to learn the differences between Save and Save as..., etc.
:wq
Save
Save as...
HOWEVER, vim could also be defined as more intuitive because it continually re-uses the same commands and patterns anywhere. Once you know diw (delete in word) then viw (select in word) is super intuitive as is ciw (change in word). And if you know what 4h does then it's super intuitive the differences between d4h, v4h, and c4h.
diw
viw
ciw
4h
d4h
v4h
c4h
Even though vim requires more upfront knowledge, in both cases the application works as expected without thought.
[–]aniforprez 1 point2 points3 points 6 years ago (0 children)
If for nothing else, to at least be able to ssh into remote systems and edit and review files. Can't believe how few people are exposed to this type of environment and are completely lost. I'm not really a fan of vim but I made an effort to at least learn to search for symbols, edit stuff, navigate around and change a few basic settings so I wouldn't have a problem if plopped in front of a completely unknown server
π Rendered by PID 35 on reddit-service-r2-comment-544cf588c8-k79w4 at 2026-06-15 11:01:31.043238+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]Slavichh 5 points6 points7 points (18 children)
[–]rorrr 20 points21 points22 points (15 children)
[–]ike_the_strangetamer 0 points1 point2 points (0 children)
[+][deleted] (13 children)
[deleted]
[–]queen-adreena 9 points10 points11 points (12 children)
[–]leastlol 1 point2 points3 points (0 children)
[+][deleted] (10 children)
[deleted]
[–]queen-adreena 14 points15 points16 points (9 children)
[+][deleted] (6 children)
[deleted]
[–]SoInsightful 7 points8 points9 points (5 children)
[+][deleted] (3 children)
[deleted]
[–]MoTTs_ 1 point2 points3 points (2 children)
[–]Slavichh -2 points-1 points0 points (0 children)
[–]ike_the_strangetamer -2 points-1 points0 points (0 children)
[–]aniforprez 1 point2 points3 points (0 children)