Skip to content

Commit

Permalink
prevent double-adding selected context
Browse files Browse the repository at this point in the history
shortcut changes:
- (unchanged) toggle between chat and editor: alt+L
- add selection as context: alt+L -> shift+alt+L
- new chat: shift+alt+L -> shift+ctrl+L
  • Loading branch information
beyang committed Nov 4, 2024
1 parent 15412e3 commit 4d452d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@
},
{
"command": "cody.chat.new",
"key": "shift+alt+l",
"key": "shift+ctrl+l",
"when": "cody.activated"
},
{
Expand Down Expand Up @@ -645,12 +645,12 @@
},
{
"command": "cody.mention.selection",
"key": "alt+l",
"key": "shift+alt+l",
"when": "cody.activated && editorTextFocus && editorHasSelection"
},
{
"command": "cody.mention.selection",
"key": "alt+/",
"key": "shift+alt+/",
"when": "cody.activated && editorTextFocus && editorHasSelection"
},
{
Expand Down

0 comments on commit 4d452d6

Please sign in to comment.