   @registerCommand: ->
     atom.commands.add('atom-text-editor', @getCommandName(), => run(this))
 
-  @getClass: (klassName) ->
-    registries[klassName]
-
 class OperationAbortedError extends Base
   @extend(false)
   constructor: (@message) ->

  requireTarget: false
  operator: null
  asTarget: false
  @commandPrefix: 'vim-mode-plus'

  @delegatesMethods delegatingMethods..., toProperty: 'vimState'

  constructor: (@vimState, properties) ->
    {@editor, @editorElement} = @vimState

    # Reason: https://github.com/t9md/atom-vim-mode-plus/issues/85
    vimState.operationStack.run(klass, properties)

vimStateMethods = [
  "onDidChangeInput"
  "onDidConfirmInput"
  "onDidCancelInput"
