1 VimCommandModeInputElement = require './vim-command-mode-input-element'
4 constructor: (@operation, opts={}) ->
5 {@editor, @vimState} = @operation
6 @view = new VimCommandModeInputElement().initialize(this, opts)
7 @editor.commandModeInputView = @view
8 @vimState.onDidFailToCompose => @view.remove()
11 @vimState.pushOperations(new Input(@view.value))
14 if @vimState.isOperatorPending()
15 @vimState.pushOperations(new Input(''))
18 constructor: (@characters) ->