diff --git a/lib/ex.coffee b/lib/ex.coffee index 874c9f7..07ecc78 100644 --- a/lib/ex.coffee +++ b/lib/ex.coffee @@ -225,4 +225,8 @@ class Ex vsp: (args...) => @vsplit(args...) + delete: (range) -> + range = [[range[0], 0], [range[1] + 1, 0]] + atom.workspace.getActiveTextEditor().buffer.setTextInRange(range, '') + module.exports = Ex