Open ceedubs opened 11 months ago
Fwiw, I do like the single move
, but I still prefer a solution based on cd
What's an example of a solution based on cd
?
^ @SystemFw 🙏
Oh sorry, I missed the first notification.
For me it boils down to what we've talked about in some other thread: when you cd foo
, names in commands are implicitly prefixed with foo
, and you can use .bar.baz
for absolute paths.
So in this case:
> move.term durable.SortedMap.internal.test.Sample.Percentiles.percentile durable.SortedMap.internal.test.Sample.Percentiles.percentiles
I'd like to do:
> cd durable.SortedMap.internal.test.Sample.Percentiles
durable.SortedMap.internal.test.Sample.Percentiles> move percentile percentiles
Problem description per @SystemFw:
Proposed solution (a simple low-hanging fruit proposal) per @ceedubs:
Accept a single-arg move command (
move.term
,move.type
,move
, orrename
or whatever) like:Then give a prompt like:
So it defaults to the current name, but you can use your cursor to edit the name.
Bonus points for accepting a no-arg move and allowing the user to search for the current name via fzf.