From 8087ca3aeb78a6f8cc1352919affa7ca639bcfa9 Mon Sep 17 00:00:00 2001 From: jazzpi Date: Mon, 6 Apr 2015 13:18:31 +0200 Subject: [PATCH] Implement d --- lib/ex.coffee | 4 ++++ 1 file changed, 4 insertions(+) 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