   duplicateCharacterwise: (selection, count) ->
     getRangeToInsert = (text) =>
       {start, end} = selection.getBufferRange()
-      if @isOverwrite()
+      if @isOverwriteMode()
         width = text.length
         switch @direction
           when 'right' then [end, end.translate([0, +width])]

      {start, end} = selection.getBufferRange()
      if @direction is 'down' and end.isEqual(@editor.getEofBufferPosition())
        end = ensureBufferEndWithNewLine(@editor)
      if @isOverwrite()
        height = text.split("\n").length - 1
        switch @direction
          when 'up' then [start.translate([-height, 0]), start]

  @commandPrefix: 'vim-mode-plus-user'
  flashTarget: false

  isOverwriteMode: ->
    atom.config.get('vim-mode-plus-move-selected-text.overwrite')

  isLinewise: ->
