tab commands (fixes #13)
This commit is contained in:
parent
838b43ffcd
commit
76014791ef
1 changed files with 19 additions and 0 deletions
|
|
@ -18,6 +18,25 @@ class Ex
|
|||
tabe: (filePaths...) =>
|
||||
@tabedit(filePaths...)
|
||||
|
||||
tabnew: (filePaths...) =>
|
||||
@tabedit(filePaths...)
|
||||
|
||||
tabclose: => @quit()
|
||||
|
||||
tabc: => @tabclose()
|
||||
|
||||
tabnext: ->
|
||||
pane = atom.workspace.getActivePane()
|
||||
pane.activateNextItem()
|
||||
|
||||
tabn: => @tabnext()
|
||||
|
||||
tabprevious: ->
|
||||
pane = atom.workspace.getActivePane()
|
||||
pane.activatePreviousItem()
|
||||
|
||||
tabp: => @tabprevious()
|
||||
|
||||
write: (filePath) =>
|
||||
projectPath = atom.project.getPath()
|
||||
pane = atom.workspace.getActivePane()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue