Skip to content

Commit

Permalink
Merge pull request #1542 from Chillee/copyfork
Browse files Browse the repository at this point in the history
Fixed issue #1533
  • Loading branch information
xconverge authored Apr 21, 2017
2 parents d88522f + 841993a commit c035b81
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/configuration/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,13 @@ class ConfigurationClass {
useKey = false;
}
} else if (!this.useCtrlKeys && (bracketedKey.slice(1, 3) === "C-")) {
// Check for useCtrlKeys and if it is a <C- ctrl based keybinding
useKey = false;
// Check for useCtrlKeys and if it is a <C- ctrl> based keybinding.
// However, we need to still capture <C-c> due to overrideCopy.
if (bracketedKey === '<C-c>' && this.overrideCopy) {
useKey = true;
} else {
useKey = false;
}
}

// Set the context of whether or not this key will be used based on criteria from above
Expand Down

0 comments on commit c035b81

Please sign in to comment.