From dd42115c42e8f7a6f84c678e656b7d46caaee7da Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Mon, 23 Feb 2015 12:03:44 +0100 Subject: [PATCH] edit commands (fixes #12) --- lib/ex.coffee | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/ex.coffee b/lib/ex.coffee index 4e2224e..c3b9a95 100644 --- a/lib/ex.coffee +++ b/lib/ex.coffee @@ -37,6 +37,12 @@ class Ex tabp: => @tabprevious() + edit: (filePath) => @tabedit(filePath) if filePath? + + e: (filePath) => @edit(filePath) + + enew: => @edit() + write: (filePath) => projectPath = atom.project.getPath() pane = atom.workspace.getActivePane()