       @on 'select-up', => @selectUp()
       @on 'select-down', => @selectDown()
       @on 'newline', =>  @insertNewline()
-      @on 'delete-left', => @deleteLeft()
-      @on 'delete-right', => @deleteRight()
+      @on 'backspace', => @backspace()
+      @on 'delete', => @delete()
       @on 'cut', => @cutSelection()
       @on 'copy', => @copySelection()
       @on 'paste', => @paste()

    copySelection: -> @selection.copy()
    paste: -> @selection.insertText(atom.native.readFromPasteboard())

    deleteLeft: ->
      @selectLeft() if @selection.isEmpty()
      @selection.delete()

    deleteRight: ->
      @selectRight() if @selection.isEmpty()
      @selection.delete()


        'shift-up': 'select-up'
        'shift-down': 'select-down'
        enter: 'newline'
        backspace: 'backspace'
        delete: 'delete'
        'meta-x': 'cut'
        'meta-c': 'copy'
        'meta-v': 'paste'
