Hacker News new | past | comments | ask | show | jobs | submit login
Show HN JetMove – Extra Nav and Multiple Caret Enhancements for Jetbrians IDEs (gist.github.com)
41 points by pioritdidnt 8 months ago | hide | past | favorite | 13 comments



Speaking about shortcuts in Jetbrains IDEs, I really like the CTRL-w, which selects incrementally bigger chunks of texts (word, quoted chunk, expressions, function calls, blocks).

I like it so much that I always try to do it in other applications, like web browsers.

But in web browsers CTRL-w closes the current tab....


Not only in web browsers unfortunately, also in Sublime Text...

My favorite (that I wish more editors supported) is ctrl+D for duplicating the current selection (or the current line if nothing is selected).


I just tried it in Rider, it closes the current tab.


It's called "Extend selection" if you want to use it in Find Actions to figure out what it's bound to on your OS (e.g. on my intellij idea macOS bindings, looks like it's option+up)


Love that little “additional” feature of closing the tab too.


This would be fun to play with. There’s a vim plugin for JetBrains but I’ve failed to adopt it after multiple separate attempts because each time I run into collisions with my existing workflow shortcuts which I don’t have the patience to remap mentally and in the config.


i use the vim plugin for intellij as well and the first time you press an IDE shortcut that happens to be a vim shortcut also, there's a tiny popup that asks you what you want to do: either keep the IDE shortcut or switch to the vim shortcut. maybe this helps!


Another trick I use frequently is to map a shortcut to activate/deactivate the vim plugin on the fly, which allows me to keep using some non-vim shortcut and behavior (especially search or selection) without having to go deep into configuring some vim files.


You can set them in an .ideavimrc, then you don't have to go through it on a new machine.


Set all conflicting shortcuts to prefer ide, then set them up again using nonconflicting leader keys.

Are there particularly many vim shortcuts that use ctrl that are important?


Is there an advantage to multi carat support over vim substitution that I am missing? It seems like a solution in search of a problem.


I was thinking the same, is it if you want to replace multiple selections that have different content with the same replacement content. If so, it's not something I can think of ever doing, and in the few cases that I may want to, just do multiple search and replaces, or is there another use case?


It's what I'm wondering, too. Especially since refactoring support in IntelliJ IDE seems quite powerful, even for languages like Python that use a ton of strings.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: