Move cut, copy, and paste into "core:"

This commit is contained in:
Nathan Sobo 2012-10-04 11:22:48 -10:00
parent 23f4e533d9
commit 0ab50cf102
3 changed files with 6 additions and 6 deletions

View File

@ -110,9 +110,9 @@ class Editor extends View
'core:delete': @delete
'core:undo': @undo
'core:redo': @redo
'cut': @cutSelection
'copy': @copySelection
'paste': @paste
'core:cut': @cutSelection
'core:copy': @copySelection
'core:paste': @paste
'move-to-next-word': @moveCursorToNextWord
'move-to-previous-word': @moveCursorToPreviousWord
'select-word': @selectWord

View File

@ -15,6 +15,9 @@ window.keymap.bindKeys 'body'
'delete': 'core:delete'
'meta-z': 'core:undo'
'meta-Z': 'core:redo'
'meta-x': 'core:cut'
'meta-c': 'core:copy'
'meta-v': 'core:paste'
pageup: 'core:page-up'
pagedown: 'core:page-down'
'meta-S': 'save-all'

View File

@ -4,9 +4,6 @@ window.keymap.bindKeys '.editor',
'meta-enter': 'newline-below'
'tab': 'indent'
'meta-d': 'delete-line'
'meta-x': 'cut'
'meta-c': 'copy'
'meta-v': 'paste'
'alt-meta-w': 'toggle-soft-wrap'
'ctrl-[': 'fold-current-row'
'ctrl-]': 'unfold-current-row'