this post was submitted on 04 Dec 2024
4 points (100.0% liked)

Zed

75 readers
3 users here now

An unofficial community for news and discussion about the Zed Code Editor.

Zed is open source.

Links

founded 11 months ago
MODERATORS
mke
4
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/zed
 

Hi, could someone please help me with this: what is the keybinding to open those pop-up windows which show the function description? See my screenshot. In other editors it's sometimes called "code lense".

I've looked everywhere and I simply cannot find it (if I only knew how the action is called in the settings file...). I'm using a tiling window manager, so I don't want to use the mouse every time. Thanks.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 month ago* (last edited 1 month ago)

Someone already gave me the answer elsewhere. It is the "editor::Hover" action, this is the default keymap excerpt:

"context": "Editor",
    "bindings": {
      "ctrl-k ctrl-i": "editor::Hover",
...

I just had to remap it because I already use ctrl-k for something else.