windows 10, emacs 25.1, dired+
Suppose in folder I select 3 files. Something like this:
Now I want 2 options:
Copy to kill-ring the selected files names. So the result must be:
ic_contact_us_write_us.png
ic_in_store_green.png
ic_m_brands_active.png
Copy to kill-ring the full path of selected files names.
So the result must be:
d:/TEMP/1/drawable-hdpi/ic_contact_us_write_us.png
d:/TEMP/1/drawable-hdpi/ic_in_store_green.png
d:/TEMP/1/drawable-hdpi/ic_m_brands_active.png
Is it possible?
dired-copy-filename-as-kill
is correct, but the advice should really be to use the universal argument directly rather than defining another command. Simply useC-u 0 w
(@RecencyEffect's comment probably contains a typo). – ebpa Mar 15 '19 at 16:41C-u 0 w
whenC-0 w
is simpler? – Andy Jul 23 '20 at 21:25