aboutsummaryrefslogtreecommitdiff
path: root/atom/packages/vim-surround/lib/command/surround.coffee
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2019-03-14 23:19:58 +0100
committerBen Beltran <ben@nsovocal.com>2019-03-14 23:19:58 +0100
commitb009b50e81b6c1d0d691505b5f5c0418f559bfc0 (patch)
tree5fae800e76219eba28634cb236565f9b4bb7a2f7 /atom/packages/vim-surround/lib/command/surround.coffee
parent4efcafab7f0aa454f9ebe767133654bc9f44e12c (diff)
Remove Atom config
Diffstat (limited to 'atom/packages/vim-surround/lib/command/surround.coffee')
-rw-r--r--atom/packages/vim-surround/lib/command/surround.coffee18
1 files changed, 0 insertions, 18 deletions
diff --git a/atom/packages/vim-surround/lib/command/surround.coffee b/atom/packages/vim-surround/lib/command/surround.coffee
deleted file mode 100644
index e939f78..0000000
--- a/atom/packages/vim-surround/lib/command/surround.coffee
+++ /dev/null
@@ -1,18 +0,0 @@
-{CompositeDisposable} = require 'atom'
-
-Base = require './base'
-
-module.exports = class Surround extends Base
- constructor: (config) ->
- @command = config.surroundCommand
- @context = "atom-text-editor.vim-mode.visual-mode"
- super config
-
- getName: (key) -> "surround-#{key}"
-
- getRunner: (left, right) -> ->
- editor = atom.workspace.getActiveTextEditor()
- editor.transact ->
- editor.selections.forEach (selection) ->
- text = selection.getText()
- selection.insertText "#{left}#{text}#{right}"