 
     it "switches to insert mode and shifts to the right", ->
       editor.setCursorScreenPosition [0, 0]
+
       keydown('a', element: editor[0])
 
       expect(editor.getCursorScreenPosition()).toEqual [0,1]


    it "doesn't linewrap", ->
      editor.setCursorScreenPosition [0, 3]
      keydown('a', element: editor[0])

      expect(editor.getCursorScreenPosition()).toEqual [0,3]


        keydown('d', element: editor[0])
        keydown('d', element: editor[0])

        expect(editor.getText()).toBe "12345\n\nABCDE"
        expect(editor.getCursorScreenPosition()).toEqual([1,0])
        expect(vimState.getRegister('"').text).toBe "abcde\n"
