Live data from Hacker News

Switching from Vim to Intellij

browntreelabs.com

81–90 of 263 posts

Re: Switching from Vim to Intellij

#81

Agree with the article. I love Vim, but mostly use webstorm for the same reasons. I just find all jetbrains products run like molasses, even with a 12-core machine with 32GB ram. I work fairly quick, and get frustrated when my editor holds me up. Surprised to hear about the crashing issues with typescript, but I don't have any experience there.

which part runs like mosasses: the indexing? typing visual latency? bootup time? etc?

All of the above.

Re: Switching from Vim to Intellij

#82

As a long-term Emacs user, I started really enjoying typing with Vim bindings (evil mode). It feels to me that Vim is great at the low-level process of editing text. Everything else is fine - as good as any power editor, but not inherently great. This is the complement of Emacs, which to me is exactly the other way around.

I want to switch to using Spacemacs and use Evil but on Windows 10 I'm having no luck getting that working due to some weird errors when emacs starts and tries to install the packages. So for the time being I'm stuck using vim.

Re: Switching from Vim to Intellij

#83
post #3

I switched from vim to Webstorm, which is based on IntelliJ. I agree with most of this article. IdeaVim is a pretty good vim emulator (although not perfect, but none of them are). There's something to be said by having sane defaults that do exactly what you want. Probably my biggest issue with vim is you can easily find yourself in no man's land because your setup inevitably becomes uniquely your own. For example I u…

Emacs Evil mode is the exception here. It’s possibly better than Vim itself.

Re: Switching from Vim to Intellij

#84

As a long-term Emacs user, I started really enjoying typing with Vim bindings (evil mode). It feels to me that Vim is great at the low-level process of editing text. Everything else is fine - as good as any power editor, but not inherently great. This is the complement of Emacs, which to me is exactly the other way around.

I want to switch to using Spacemacs and use Evil but on Windows 10 I'm having no luck getting that working due to some weird errors when emacs starts and tries to install the packages. So for the time being I'm stuck using vim.

Spacemacs is overly complicated. Try Doom, or just start with vanilla Emacs, and add Evil.

Re: Switching from Vim to Intellij

#86
post #64

Earlier quoted context omitted.

If you plan to be a professional software engineer, then I recommend just paying for the best tools. The price of one hour of an engineer's salary (give or take) can pay for the entire IntelliJ suite for a year.

Sheesh, I wish I was worth $500/hr. I guess I'm not professional enough.

IntelliJ is $149 for a personal license.

Re: Switching from Vim to Intellij

#87
post #73

As a long-term Emacs user, I started really enjoying typing with Vim bindings (evil mode). It feels to me that Vim is great at the low-level process of editing text. Everything else is fine - as good as any power editor, but not inherently great. This is the complement of Emacs, which to me is exactly the other way around.

For me, a killer feature of evil-mode is the "hybrid" state (`evil-disable-insert-state-bindings`) that allows to use emacs (aka readline) keybindings in insert mode. When I have only a minor edit to make in the middle of typing something (like transposing two characters) it saves me the back-and-forth with the normal mode and it's really sweet. It probably makes me an heretical freak, but I'm definitely hooked. I gu…

Same, I use a mix of Emacs and Vi bindings. Now I can only function in Emacs.

But I write R/python/markdown, so it works out fine for me.

Re: Switching from Vim to Intellij

#88
post #60
post #20

Earlier quoted context omitted.

Yes, I was specifically talking about copying things to and from vim, with/without tmux. Maybe its not a huge issue to all, but I always forget when I set things up on a linux machine vs. Mac OSX

gvim on mac/linux/windows will use the + register for the system clipboard. I'm pretty sure that a terminal vim with gui support compiled in will do the same (I know it does on Linux/X but haven't tested on mac or windows in a while).

This is true, but often terminal vims don't have clipboard support. For example the vim that is bundled with Ubuntu does not. This can be especially confusing for people new to vim, or sometimes you jump onto a random machine and find that "+y does not work.

Re: Switching from Vim to Intellij

#90

Earlier quoted context omitted.

Well, the thing about Vim and Emacs is that the users are expected to figure out configuration problems like these. That's not a point in favor of Vim and Emacs.

Well, some mixed feelings on whether or not it's a point in favor or not. Just like any system, don't install plugins/copy+paste config that you don't understand or can't maintain. I've been able to open tsx files with linting/highlighting/testing plugins and everything works as expected. On the flip side, if you want easy configuration, then yes, vim/emacs/similar are not necessarily the right choices for you, but I…

> Just like any system, don't install plugins/copy+paste config that you don't understand or can't maintain.

I don't think this advice makes sense at all. I can't maintain cc-mode and I don't understand how it works, yet I rely on it.

Users should not be expected to understand how the TypeScript autocompletion works in order to get it working. I can open VS Code on a TypeScript project and get autocompletion working just based on the tsconfig.json, much of the time.

Post reply on HN