Opens the current selection in a new tab. Based on an idea by Lea Verou.
Edit selection in a new tab
Edit in new tab and write changes back to origin
edit-in-new-tab from Atom's Package Manager or the command-line equivalent:
$ apm install edit-in-new-tab
Change to your Atom packages directory:
# Windows$ cd %USERPROFILE%\.atom\packages# Linux & macOS$ cd ~/.atom/packages/
Clone the repository as
$ git clone https://github.com/idleberg/atom-edit-in-new-tab edit-in-new-tab
Inside the cloned directory, install Node dependencies:
$ yarn || npm install
This package provides several commands in the command palette, the context menu or by using the keyboard shortcuts
It's well worth taking a look at the package settings, where you can tweak the default behaviour.
||Writes changes in the new tab back to the origin¹|
|Target Pane||Specifies the default pane for the new tab|
||Auto indent changes written back to the originating tab|
||Doesn't apply the origin's grammar on the new tab|
|Default Tab-name||Define a default scheme for new tabs²|
||Selects the newly added text|
||Indents all inserted text appropriately|
|Auto-indent New Line||
||Indent newline appropriately|
||Decreases indent level appropriately|
|Normalize Line Endings||
||Normalizes line endings|
¹ see it in action
² accepts placeholders
This work is licensed under the The MIT License.
You are welcome support this project using Flattr or Bitcoin
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.