0

Sometimes, I want to make a new file that's named similarly to an existing file. For example, I might want to copy a file to a second filename (foo.txt.backup), or move it to the right place (pretty-long-file-name.hmtl).

In these cases, I often want to take a candidate and modify it somehow, before selecting it. Is there a way to do that?

1

If you want to copy/rename the selected file, you can do M-C/M-R respectively. If you want to yank just the selection into helm, you can use C-c C-y, or C-u C-c C-y if you want to yank the whole path for editing.

(C-h b in helm will give you a list of all the available bindings.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.