In Emacs why can I not paste text C-y into a C-s search box?
Solution 1:
Follow this pattern:
Esc-W // To copy of the selected text into buffer
Ctrl-s Then press return.
- Ctrl-y Then press return. // To paste selected text
Then repeat Ctrl-s for incremental search. Similarly for decremental search, use Ctrl-r.
Solution 2:
The command you are looking for is isearch-yank-kill
which is bound to M-y when in isearch
M-y runs the command isearch-yank-kill, which is an interactive compiled Lisp function in `isearch.el'.
(isearch-yank-kill)
Pull string from kill ring into search string.