Sadly, most vim plugins are inadequate. Most of those I tried miss the command mode. I don’t want Ctrl+F or Ctrl+H for search and replace, I want “:%s/foo/bar/g”, and all the nice stuff that comes with it.
IntelliJ's vim plugin has this. It's not perfect, but that's the best middleground I found to get stuff done so far. A real IDE, and a good vim support.
Yeah, I have the same problem with the emacs plugins. I don't just want the standard shortcuts remapped. I want my environment, complete with all the bells and whistles that I am used to.
I literally never saw a vim plugin for an IDE that was worth the trouble. My favorite example is always visual block mode: IDEs don't have a concept of that, so IDE plugins can't have a concept of that either. I never have seen a vim plugin that can do visual block mode… :( And it's one of the most important features of vim.
for intellij idea, ideavim has visual mode. (though it might not work exactly like vims visual mode, the issue i am talking about is after selecting a text with vm, using [I] inserting text & using backspace )
QtCreator doesn't have visual block mode, as far as I remember. And the vim -mode didn't play well at all with the tab-completion (at least that's what I assume is the reason why the first keystroke of every identifier I tried to type was swallowed in vim-mode).
Every modern IDE supports that natively, but it's usually called “rectangular selection”.
Tip: Rectangular selections can have a zero width. If you make a zero-width rectangular selection, text you type will be inserted at that position. If your rectangular selection has a non-zero width, text you type will instead replace what's selected.
Every modern IDE supports that natively, but it's usually called “rectangular selection”.
Then I have either never used a modern IDE, or a non-sucky vim-plugin of a modern IDE. Because as I said, I have never seen a vim-plugin that does visual block mode (I simply assumed that's because IDEs don't support the concept, I might have been wrong in this assumption)
Check out Vrapper for Eclipse, which does actually do command mode and block selection (you just have to unmap ^V in Eclipse of you want to use that key combo).
42
u/superPwnzorMegaMan Sep 25 '15
So you install a vim plugin for your IDE. Best of both worlds.