drag-drop-text

Drag and drop text (and cut/copy/paste) with only the mouse.

keni8em

7,639

18

1.1.0

MIT

GitHub

drag-drop-text package for the Atom editor

Drag and drop text (and cut/copy/paste) with only the mouse. No keyboard is needed, not even the modifier keys.


Are you looking for just a simple drag and drop?

There is a sister package to this one, simple-drag-drop-text. It has less features but it is simpler to use and follows the standard drag/drop behavior of other editors.


No keys were pressed when making this gif ...

Image inserted by Atom editor package auto-host-markdown-image


Installation

Enter atom install drag-drop-text or use the settings page.


Usage

There is no Atom command. Actions are triggered by holding down the mouse in the text editor without moving for a certain duration. The duration defaults to 750 MS but can be changed in settings.

Operations fall into two categories. There are drag & drop text operations and normal cut/copy/paste operations. All operations use the normal clipboard. Instructions for each operation follow ...


Drag & Drop Copy

Image inserted by Atom editor package auto-host-markdown-image


Drag & Drop Move

Image inserted by Atom editor package auto-host-markdown-image


Cut & Paste

Image inserted by Atom editor package auto-host-markdown-image


Copy & Paste

Image inserted by Atom editor package auto-host-markdown-image


License

Copyright Mark Hahn using the MIT license