Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Search for clipboard text in emacs

Tags:

emacs

is it possible to search for the text that currently is present in the clipboard when hitting C-s, probably with some sort of hook that is triggered when hitting C-s and then inserts the clipboard into the minibuffer?

like image 593
mefiX Avatar asked Jul 15 '10 08:07

mefiX


1 Answers

Isearch provides a set of standard keys to change the behaviour of the search process. Typing C-s M-y invokes isearch-yank-kill that pulls string from kill ring (i.e., clipboard) into search string.

like image 128
viam0Zah Avatar answered Sep 28 '22 02:09

viam0Zah