Move select-to-top/bottom and select-all into "core:"

This commit is contained in:
Nathan Sobo
2012-10-04 11:18:48 -10:00
parent c221729407
commit 8cde98bf45
4 changed files with 6 additions and 6 deletions

View File

@@ -103,9 +103,9 @@ class Editor extends View
'core:select-down': @selectDown
'core:select-left': @selectLeft
'core:select-right': @selectRight
'select-to-top': @selectToTop
'select-to-bottom': @selectToBottom
'select-all': @selectAll
'core:select-to-top': @selectToTop
'core:select-to-bottom': @selectToBottom
'core:select-all': @selectAll
'backspace': @backspace
'delete': @delete
'undo': @undo

View File

@@ -1,14 +1,14 @@
window.keymap.bindKeys 'body'
'meta-up': 'core:move-to-top'
'meta-down': 'core:move-to-bottom'
'meta-shift-up': 'core:select-to-top'
'meta-shift-down': 'core:select-to-bottom'
window.keymap.bindKeys '.editor'
'meta-right': 'move-to-end-of-line'
'meta-left': 'move-to-beginning-of-line'
'alt-left': 'move-to-beginning-of-word'
'alt-right': 'move-to-end-of-word'
'meta-shift-up': 'select-to-top'
'meta-shift-down': 'select-to-bottom'
'meta-shift-left': 'select-to-beginning-of-line'
'meta-shift-right': 'select-to-end-of-line'
'alt-shift-left': 'select-to-beginning-of-word'

View File

@@ -9,6 +9,7 @@ window.keymap.bindKeys 'body'
'shift-down': 'core:select-down'
'shift-left': 'core:select-left'
'shift-right': 'core:select-right'
'meta-a': 'core:select-all'
pageup: 'core:page-up'
pagedown: 'core:page-down'
'meta-S': 'save-all'

View File

@@ -1,6 +1,5 @@
window.keymap.bindKeys '.editor',
'meta-s': 'save'
'meta-a': 'select-all'
'enter': 'newline'
'meta-enter': 'newline-below'
'tab': 'indent'