class Put extends Operator
register: null
- constructor: (@editor, @vimState, {@location, @selectOptions}={}) ->
+ constructor: (@editor, @vimState, {@location}={}) ->
@location ?= 'after'
@complete = true
@register = settings.defaultRegister()
@editor.setCursorScreenPosition(originalPosition)
@editor.moveToFirstCharacterOfLine()
- @vimState.activateCommandMode()
if type isnt 'linewise'
@editor.moveLeft()
+ @vimState.activateNormalMode()
# Private: Helper to determine if the editor is currently on the last row.
#