diff --git a/src/app/editor.coffee b/src/app/editor.coffee index 97fd9e68b..d6f7928ac 100644 --- a/src/app/editor.coffee +++ b/src/app/editor.coffee @@ -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 diff --git a/src/app/keymaps/atom.coffee b/src/app/keymaps/atom.coffee index 1bf4a4844..c6a654592 100644 --- a/src/app/keymaps/atom.coffee +++ b/src/app/keymaps/atom.coffee @@ -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' diff --git a/src/app/keymaps/editor.coffee b/src/app/keymaps/editor.coffee index 50981e63a..3e05b6293 100644 --- a/src/app/keymaps/editor.coffee +++ b/src/app/keymaps/editor.coffee @@ -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'