   execute: ->
     @selectTarget()
     return if @isMode('operator-pending') or @isMode('visual', 'blockwise')
-    unless @isMode('visual')
+    if not @isMode('visual')
       submode = swrap.detectVisualModeSubmode(@editor)
       @activateMode('visual', submode)
     else

  @extend()
  @description: "Transform string by specified oprator selected from select-list"
  requireInput: true
  requireTarget: true
  # Member of transformers can be either of
  # - Operation class name: e.g 'CamelCase'
  # - Operation class itself: e.g. CamelCase

        @setMarkForChange(newRange)
        @flash(newRange) if @needFlash()

    if @selectPastedText
      submode = swrap.detectVisualModeSubmode(@editor)
      unless @isMode('visual', submode)
        @activateMode('visual', submode)
