Skip to content

Commit

Permalink
C-[ and C-c should terminate search mode (VSCodeVim#3746)
Browse files Browse the repository at this point in the history
  • Loading branch information
hkleynhans authored and jpoon committed May 9, 2019
1 parent 600622e commit eec9c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/commands/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ class CommandInsertInSearchMode extends BaseCommand {
@RegisterAction
class CommandEscInSearchMode extends BaseCommand {
modes = [ModeName.SearchInProgressMode];
keys = ['<Esc>'];
keys = [['<Esc>'], ['<C-c>'], ['<C-[>']];
runsOnceForEveryCursor() {
return this.keysPressed[0] === '\n';
}
Expand Down

0 comments on commit eec9c26

Please sign in to comment.