[HN Gopher] Show HN JetMove - Extra Nav and Multiple Caret Enhan...
___________________________________________________________________
Show HN JetMove - Extra Nav and Multiple Caret Enhancements for
Jetbrians IDEs
Author : pioritdidnt
Score : 39 points
Date : 2024-03-20 10:50 UTC (12 hours ago)
(HTM) web link (gist.github.com)
(TXT) w3m dump (gist.github.com)
| user3939382 wrote:
| 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.
| 0JzW wrote:
| 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!
| scns wrote:
| You can set them in an .ideavimrc, then you don't have to go
| through it on a new machine.
| mablopoule wrote:
| 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.
| Dayshine wrote:
| 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?
| LelouBil wrote:
| 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....
| rob74 wrote:
| 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).
| genter wrote:
| I just tried it in Rider, it closes the current tab.
| _boffin_ wrote:
| Love that little "additional" feature of closing the tab too.
| garblegarble wrote:
| 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)
| _JamesA_ wrote:
| 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.
| vladvasiliu wrote:
| 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.
___________________________________________________________________
(page generated 2024-03-20 23:01 UTC)