GarinZ / link-map

Tree style tab mananger for Chrome and Edge, Tabs Outliner alternative
https://linkmap.cc
GNU Affero General Public License v3.0
251 stars 27 forks source link

[ENHANCEMENT] copy cut paste nodes #36

Open ncic opened 1 year ago

ncic commented 1 year ago

Essential commands Ctrl/Cmd + C, X, and V allow you to copy, cut, and paste nodes around in the Tabs outliner tree. This is especially helpful when organizing nodes in long tree hierarchies, as dragging them long distances up and down can be too laborious and time consuming.

Additionally, regarding clipboard data after a copy or cut to external sources, Tabs Outliner has a great way of formatting the copied data with the clipboard structure: The site title - (https://www.url.com).

We suggest adding an option in settings to decide how the copied data is formatted. Three suggestions are:

  1. As currently - https://www.url.com
  2. As Tabs Outliner - The site title - (https://www.url.com)
  3. As a Markdown link - [The site title](https://www.url.com/)

This way, users can choose the format that best suits their end target goals outside of Link Map.

GarinZ commented 1 year ago

Hi @ncic,

  1. Copy/cut/paste nodes: I have noticed the lack of support in Node level copy/cut/paste. And I will add this after Tab Group feature released.
  2. Copy format: Thanks for your suggestion, I will make the formate of copied data configurable.
staalman commented 1 year ago

Hi GarinZ,

If you implement this, pls make sure it also works across multiple instances of Chrome. I regularly do a quick copy-paste of sub-trees between chrome instances running on different machines. As long as the collaboration featured I requested isn't implemented (yet... :-) ), it should be possible to simply copy a subtree from one window, and paste it into a LinksMap window of another Chrome instance on another machine.