Alternância de buffer para Atom (como ctrl-6 no VIM)
coloque isso no seu init.coffee class BufferToggling constructor: -> @currentBuffer = null @previousBuffer = null activate: => @saveActiveBuffer() atom.workspace.paneContainer.onDidChangeActivePaneItem @saveActiveBuffer atom.commands.add ‘.platform-darwin’, ‘user:toggle-last-pane’ : @togglePreviousBuffer saveActiveBuffer: => activePane = atom.workspace.getActivePane() …
Continuar lendo