News for hackers. Stuff that matters.
Re:How Did Vim Become So Popular? by noir_lord on Wednesday July 01, 2020 @02:44AM (#23698480)
Where I work we use a lot of jetbrains IDE's and I've been a massive fan of Intellij, I absolutely love it when I can show someone something that makes their life easier.

Whether it's how to implement an external program properly using all the expansions or how to use bookmarks (how people can use an IDE for years and not find that is a good question).

I've always RTFM of whatever tool I'm using as the first step then I go look at the default keybindings to see what else there is.

The one that blows people away though is the custom exporters you can write for data views, oh you want that result set in a PHP array for a test set, yeah Copy as PHP has you.

Intellij is absurdly powerful without writing custom plugins (which is my next step I guess).

Re:How Did Vim Become So Popular? by jng on Wednesday July 01, 2020 @05:15AM (#23699499)
... and Jetbrains IDEs support a plugin called IdeaVIM that provides pretty solid vi/vim emulation.
Re:How Did Vim Become So Popular? by doix on Wednesday July 01, 2020 @07:00AM (#23700112)
IdeaVim is the uncanny value of vim for me. It's so close to being actual vim, but every now and then it does something unexpected and it completely throws me off.

I recorded a macro to change shouldBe([true|false]) to shouldBe[True|False](). Pretty simple: qqf(ds(~$a()<esc>q

But the vim-surround plugin emulation doesn't work properly with macros, so it'd get stuck and instead of just doing n@@ , I'd have to do n@@( , i.e pass the seperator I used for the delete surround command.

It doesn't have fold toggling, so z[a|A] doesn't work. The undo behaves weird, you usually have to do it twice UNLESS you've not moved the cursor since doing the last edit.

The git integration isn't as good as vim-fugitive and I constantly find my self reaching for the mouse to do anything git related, whereas in vim I could do it all with the keyboard.

The plugin gets brought up all the time when people talk about the JetBrains tools and no one seems to mention the short comings.

Re:How Did Vim Become So Popular? by arvinsim on Wednesday July 01, 2020 @12:46PM (#23703542)
Some people are satisfied with the modal editing paradigm of Vim that they don't need its advanced features.
Re:How Did Vim Become So Popular? by okr on Wednesday July 01, 2020 @05:42AM (#23699671)
(intellij sometimes has recurring problems with lost keyboard input under linux+gnome. IdeaVIM is one of the first plugins i disable, when that happens. and it often helps.)