Skip to content

Commit

Permalink
Switch back to ctrl
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcw committed Jun 12, 2024
1 parent 7fb0755 commit 29a7e6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/defaultCycleWidget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class DefaultCycleWidget extends WidgetType {
words.innerText = `${this.index + 1}/${this.total}`;
const key = wrap.appendChild(document.createElement("button"));
key.className = "cm-codeium-cycle-key";
key.innerText = "⌥-]";
key.innerText = "→ (Ctrl ])";
key.dataset.action = "codeium-cycle";
return wrap;
}
Expand Down
3 changes: 1 addition & 2 deletions src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ function completionPlugin() {
nextSuggestionCommand(view);
event.stopPropagation();
event.preventDefault();
console.log("got click, doing it");
return true;
}
if (isDecorationClicked(view)) {
Expand All @@ -89,7 +88,7 @@ function completionPlugin() {
function nextCompletionPlugin() {
return keymap.of([
{
key: "Alt-]",
key: "Ctrl-]",
run: nextSuggestionCommand,
},
]);
Expand Down

0 comments on commit 29a7e6c

Please sign in to comment.