Giter VIP home page Giter VIP logo

Comments (4)

GabeDuarteM avatar GabeDuarteM commented on May 18, 2024 3
  1. Yeah, sounds reasonable
  2. Initially, I thought about only one confirmation, but this use case sounds reasonable too, especially when we have an (A)ll option...
  3. My initial idea was to just follow what NERDTree is doing today when you move/copy a single item, showing you an Enter the new path for the node:, passing the parent of the selected files as the default, and letting you use the autocomplete to select the final destination (automatically creating the parts that do not exist, if you want to move to a new inexistent folder). I think the D mapping could be useful when you want to move the file to somewhere far from where it currently is, but when it's close, I think nerdtree's behavior is probably faster than preselecting with D, so I think it would be nice to have both behaviors available, so on step 5 of your example, you would have the option to change the default path (which is either the folder of the first node, or the selected folder with the D map), and allowing to use autocomplete, as it currently happens with nerdtree

image

from nerdtree-visual-selection.

PhilRunninger avatar PhilRunninger commented on May 18, 2024

I like the idea. Here are my initial thoughts.

  1. Since we are dealing with multiple items, the destination should be just a single directory.
  2. Each file or folder moved/copied should be confirmed. That way you can, for example, select 5 consecutive nodes and copy all but the 3rd.
  3. Add a way to pre-select the destination folder, or at least most of it.

Here is an example of how I see all of this playing out.

  1. Navigate to destination folder.
  2. D This is the plugin's keystroke for marking the Destination. I plan no visual indicator for this.
  3. V5j (Navigate to and) select six source file/folders.
  4. m Move files/folders.
  5. Plugin presents a prompt with pre-selected destination folder (or if a file was pre-selected, its path). This allows the user to add subfolders if necessary. If the destination wasn't preselected, show the folder of the first node.
  6. Enter Start moving the files.
  7. Answer the [Y]es, (N)o, (A)ll, (C)ancel: prompt for each file/folder.

from nerdtree-visual-selection.

Nnoerregaard avatar Nnoerregaard commented on May 18, 2024

Any progress on this issue? I would love the ability to move and copy multiple files at a time in NerdTREE

from nerdtree-visual-selection.

PhilRunninger avatar PhilRunninger commented on May 18, 2024

Not yet. I haven't had the time to look into it.

from nerdtree-visual-selection.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.