mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Enable copy shortcut on specs window
This commit is contained in:
@@ -35,10 +35,14 @@ module.exports = ({blobStore}) ->
|
||||
if (event.metaKey or event.ctrlKey) and event.altKey and event.keyCode is 73
|
||||
ipcRenderer.send('call-window-method', 'toggleDevTools')
|
||||
|
||||
# Reload: cmd-w / ctrl-w
|
||||
# Close: cmd-w / ctrl-w
|
||||
if (event.metaKey or event.ctrlKey) and event.keyCode is 87
|
||||
ipcRenderer.send('call-window-method', 'close')
|
||||
|
||||
# Copy: cmd-c / ctrl-c
|
||||
if (event.metaKey or event.ctrlKey) and event.keyCode is 67
|
||||
ipcRenderer.send('call-window-method', 'copy')
|
||||
|
||||
window.addEventListener('keydown', handleKeydown, true)
|
||||
|
||||
# Add 'exports' to module search path.
|
||||
|
||||
Reference in New Issue
Block a user