1 VimNormalModeInputElement = require './vim-normal-mode-input-element'
4 constructor: (@operation, opts={}) ->
5 {@editor, @vimState} = @operation
6 @view = new VimNormalModeInputElement().initialize(this, atom.views.getView(@editor), opts)
7 @editor.normalModeInputView = @view
8 @vimState.onDidFailToCompose => @view.remove()
11 @vimState.pushOperations(new Input(@view.value))
14 if @vimState.isOperatorPending()
15 @vimState.pushOperations(new Input(''))
16 delete @editor.normalModeInputView
19 constructor: (@characters) ->