file-split

Separate file content at cursor points into multiple files


Keywords
atom-plugin, filemanager, split-files
License
MIT
Install
apm install file-split@0.0.0

Documentation

File-Split for Atom

An Atom package that allows you to separate your file at cursors into multiple files.

demo

Installation

Command Line

  1. Install Atom 1.30 or newer

  2. In the terminal, install the package via apm:

    apm install file-split

GUI

  1. Install Atom 1.30 or newer
  2. Launch Atom
  3. Open Settings View using Cmd+, on macOS or Ctrl+, on other platforms
  4. Click the Install tab on the left side
  5. Enter file-split in the search box and press Enter
  6. Click the "Install" button that appears

Usage

ctrl-alt-n to split cursor points on files into separated untitled files.

Command

file-split:split

How It Works

  1. Set cursors to the points you wish for it to break into separate files.
  1. Use the default key-binding: ctrl-alt-n
  1. It should now create untitled files to the right with the content that you've separate on.
  2. Save the files however you wish.
  3. Done!