             @vimState.searchInput.editor.insertText(k.search)
             atom.commands.dispatch(@vimState.searchInput.editorElement, 'core:confirm')
           else
-            newKeystroke(k, target)
-
-module.exports = {getVimState, getView, dispatch, TextData, withMockPlatform}
+            rawKeystroke(k, target)
+
+module.exports = {getVimState, getView, dispatch, TextData, withMockPlatform, rawKeystroke}


    for k in toArray(keys)
      if _.isString(k)
        newKeystroke(k, target)
      else
        switch
          when k.input?

      key = key[key.length - 1] if key.startsWith('shift-')
      key if key.length is 1

keydown = (key, target) ->
  target ?= document.activeElement
  event = buildKeydownEventFromKeystroke(key, target)
  atom.keymaps.handleKeyboardEvent(event)

rawKeystroke = (keystrokes, target) ->
  for key in normalizeKeystrokes(keystrokes).split(/\s+/)
    keydown(key, target)

isPoint = (obj) ->
  if obj instanceof Point
