1

If I open Telescope for file or text search and switch to normal mode within the Telescope prompt and press p, nothing happens.

Does anyone know how I can enable pasting via p in normal mode in Telescope?

1 Answer 1

0

I ran into the same problem and think I found the source of the problem. If you copy something with new line characters, pasting it into the (single-line) Telescope search won't work. You can e.g. see if something contains a newline character by running :reg and check for trailing ^J characters (at least on Arch Linux) in the relevant register.

To bypass this problem, make sure to only yank single-line content, e.g. with 0Y instead of yy.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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