Custom keyboard shortcut for code suggestions

Most times when I have written a snippet of code, I want to ask Cursor 3-4 different suggestions of writing the same code logic, and do a comparison of the different suggestions.

I want to create a shortcut, where I highlight a specific piece of code and press command + “some shortcut key” and it prompts Cursor to look at the highlighted code and give suggestions.

How can I do this in Cursor ? This would really boost my productivity and building features with high quality code

Hey, you can select the code and press Cmd + L to start a new chat with the selected code snippet. Unfortunately, there’s no automatic suggestion yet, but you can manually type a request, for example: “Generate 3-4 variations of the selected code logic for comparison” to get multiple options.