Skip to content

Commit

Permalink
'c' clears selection
Browse files Browse the repository at this point in the history
  • Loading branch information
abarbu committed May 7, 2020
1 parent 7f6dffe commit 9df8d91
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions public/shortcuts.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@

function keyboardShortcutsOn() {
$(document).bind('keydown', 'c', () => {
clear()
recordKeypress('c')
clearSelection()
})
$(document).bind('keydown', 'p', () => {
clear()
recordKeypress('p')
Expand Down

0 comments on commit 9df8d91

Please sign in to comment.