3 ms·
It's not all about speed. Vim keybindings match more closely to how I reason about code(such as replacing text within brackets. Using a mouse is a distraction f
by gmadsen 5y ago
It's not all about speed. Vim keybindings match more closely to how I reason about code(such as replacing text within brackets. Using a mouse is a distraction from cognitive flow.
- 5e92cb50239222b 5y agoI spend most of my time in JetBrains' IDEs and never have to use the mouse, it's fully keyboard-driven. While there's no direct alternative to ci(, you can select everything inside the brackets with a single key press and then start typing. Unlike text editors (like vim), it actually understands your code and lets you operate on the underlying AST (for example, you can move code blocks, expressions, or whole functions around with a single key combo). So for me vim seems like a downgrade.
- pjio 5y ago> While there's no direct alternative to ci( The shortcut CTRL-W (CMD-W on Mac) could be used in IntelliJ for this. But not sure, I switched back to Vim some time ago...
- 5e92cb50239222b 5y agoSure, but that's more of an alternative to vi(. No that it matters too much in practice, which is what I was trying to say.
- gnubison 5y agoThe two are the same in anything other than vim.
- RMPR 5y agoThis is a good time to introduce you to Treesitter, but it's Neovim-only for now iirc.
- jen20 5y agoAlso a good time to introduce IDEAVim.