 
       describe "Yank", ->
         it "save text to per selection register", ->
-          keystroke "yiw"
+          keystroke "y i w"
           ensurePerSelectionRegister('012', 'abc', 'def')
 
       describe "Delete family", ->
         it "d", ->
-          ensure "diw", text: ":\n:\n:\n"
+          ensure "d i w", text: ":\n:\n:\n"
           ensurePerSelectionRegister('012', 'abc', 'def')
         it "x", ->
           ensure "x", text: "02:\nac:\ndf:\n"

{getVimState} = require './spec-helper'
settings = require '../lib/settings'


        keystroke 'i'

      it "inserts contents of the unnamed register with \"", ->
        ensure ['ctrl-r', {char: '"'}], text: '013452\n'

      describe "when useClipboardAsDefaultRegister enabled", ->
        it "inserts contents from clipboard with \"", ->
          settings.set 'useClipboardAsDefaultRegister', true
          ensure ['ctrl-r', {char: '"'}], text: '01clip2\n'

      it "inserts contents of the 'a' register", ->
        ensure ['ctrl-r', {char: 'a'}], text: '01abc2\n'

      it "is cancelled with the escape key", ->
        ensure ['ctrl-r', {char: 'escape'}],
          text: '012\n'
          mode: 'insert'
          cursor: [0, 2]
