4 ms·
Inlay hints look great. Is there a keymap configuration or a motion to toggle them on temporarily and turn off when a key is released? In VSCode you can do this
by aseipp 4y ago
Inlay hints look great. Is there a keymap configuration or a motion to toggle them on temporarily and turn off when a key is released? In VSCode you can do this so that holding 'alt+shift' pops up inlays, but releasing that combo makes them go away. Best of both worlds IMO, since type signature inlays often add an unnecessary amount of clutter in some languages.
Either way, love Helix. It's now my quick editor of choice; I really like the Kakoune-style motions.
- frankjr 4y agoI'm not sure if you can show them only when you're holding a key combination, but you can toggle them. [keys.normal.space] "H" = ":toggle lsp.display-inlay-hints"
- aseipp 4y agoThanks! This is probably a reasonable substitute; I'm not too sure if "hold to activate/release to deactivate" is something to add to the input model or something the developers are interested in.
- dkarl 4y agoI feel the same way. I love the ability to check them when I need them, but 90% of the time, I'd rather they were invisible.
- ParetoOptimal 4y ago> I really like the Kakoune-style motions. Kakoune has often seemed like a platonic ideal to me. Of course, my mind doesn't agree so much about the visual by default stuff much of the time. Maybe I didn't use Kakoune long enough. I gave it a try for a while, but had to go back to emacs ecosystem. This led me to inevitably tryout https://github.com/meow-edit/meow https://github.com/meow-edit/meow which I think is the best combination of fast, stable, well-integrated, similar to the kakoune model.