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

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

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

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

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

