Skip to content

Instantly share code, notes, and snippets.

@lavrovpy
Created August 3, 2025 15:12
Show Gist options
  • Select an option

  • Save lavrovpy/b26ccbc48fb320843326a81d7f68e4e5 to your computer and use it in GitHub Desktop.

Select an option

Save lavrovpy/b26ccbc48fb320843326a81d7f68e4e5 to your computer and use it in GitHub Desktop.
Cursor IDE: Vim-style Ctrl+N/P navigation in Chat dropdowns
{
"title": "Cursor IDE: Vim-style Ctrl+N/P navigation",
"rules": [
{
"description": "Ctrl+N → Down Arrow and Ctrl+P → Up Arrow (only in Cursor IDE)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "n",
"modifiers": {
"mandatory": ["control"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "down_arrow"
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"^com\\.todesktop\\.230313mzl4w4u92$"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "p",
"modifiers": {
"mandatory": ["control"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "up_arrow"
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"^com\\.todesktop\\.230313mzl4w4u92$"
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment