edit commands (fixes #12)

This commit is contained in:
Loic Nageleisen 2015-02-23 12:03:44 +01:00
parent 76014791ef
commit dd42115c42

View file

@ -37,6 +37,12 @@ class Ex
tabp: => @tabprevious() tabp: => @tabprevious()
edit: (filePath) => @tabedit(filePath) if filePath?
e: (filePath) => @edit(filePath)
enew: => @edit()
write: (filePath) => write: (filePath) =>
projectPath = atom.project.getPath() projectPath = atom.project.getPath()
pane = atom.workspace.getActivePane() pane = atom.workspace.getActivePane()