cleanup
This commit is contained in:
parent
dd42115c42
commit
d2bf0c5502
1 changed files with 4 additions and 7 deletions
|
|
@ -4,8 +4,7 @@ class Ex
|
|||
quit: ->
|
||||
atom.workspace.getActivePane().destroyActiveItem()
|
||||
|
||||
q: =>
|
||||
@quit()
|
||||
q: => @quit()
|
||||
|
||||
tabedit: (filePaths...) ->
|
||||
pane = atom.workspace.getActivePane()
|
||||
|
|
@ -15,11 +14,9 @@ class Ex
|
|||
else
|
||||
atom.workspace.openURIInPane('', pane)
|
||||
|
||||
tabe: (filePaths...) =>
|
||||
@tabedit(filePaths...)
|
||||
tabe: (filePaths...) => @tabedit(filePaths...)
|
||||
|
||||
tabnew: (filePaths...) =>
|
||||
@tabedit(filePaths...)
|
||||
tabnew: (filePaths...) => @tabedit(filePaths...)
|
||||
|
||||
tabclose: => @quit()
|
||||
|
||||
|
|
@ -43,7 +40,7 @@ class Ex
|
|||
|
||||
enew: => @edit()
|
||||
|
||||
write: (filePath) =>
|
||||
write: (filePath) ->
|
||||
projectPath = atom.project.getPath()
|
||||
pane = atom.workspace.getActivePane()
|
||||
editor = atom.workspace.getActiveEditor()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue