Comments (4)
- Yeah, sounds reasonable
- Initially, I thought about only one confirmation, but this use case sounds reasonable too, especially when we have an
(A)ll
option... - 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 theD
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 withD
, 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 theD
map), and allowing to use autocomplete, as it currently happens with nerdtree
from nerdtree-visual-selection.
I like the idea. Here are my initial thoughts.
- Since we are dealing with multiple items, the destination should be just a single directory.
- 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.
- 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.
- Navigate to destination folder.
D
This is the plugin's keystroke for marking the Destination. I plan no visual indicator for this.V5j
(Navigate to and) select six source file/folders.m
Move files/folders.- 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.
Enter
Start moving the files.- Answer the
[Y]es, (N)o, (A)ll, (C)ancel:
prompt for each file/folder.
from nerdtree-visual-selection.
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.
Not yet. I haven't had the time to look into it.
from nerdtree-visual-selection.
Related Issues (10)
- Add support for confirmation when deleting
- [Suggestion] Keep the edit behavior consistent with NERDTree single file move/copy's HOT 2
- Bulk rename/move HOT 2
- Config to skip confirmation on certain types of actions?
- [Feature] Turn `dd` into `d` for delete in visual mode with nerdtree HOT 1
- Undefined variable b:NERDTree HOT 5
- Conflict with vim-nerdtree-tabs HOT 6
- How to select certain files that are not adjacent from one another HOT 1
- Hotkey doesn't work HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nerdtree-visual-selection.