1

Environment: OS X Yosemite 10.10.3, Sublime Text 2.0.2, Pages 5.5.3, Firefox 38.0.5

Observation: When I find a word in Sublime Text 2 / Pages, and switch to Firefox, wanting to search the same word on page, I notice that the search box is automatically filled with that word, without needing to use clipboard.
I can confirm that I didn't accidentally press Cmd ⌘ C or Cmd ⌘ V .
This also works the other way, but Sublime Text 2 / Pages only knows a part of the word.

I'm guessing this is a system-level behavior. Just why is this? And why do other program don't know the full word?

1 Answer 1

0

OS X actually has 2 copy buffers [I think inherited from Emacs, but don't quote me on that]

The regular Copy & Paste everybody knows - Cmd ⌘ C & Cmd ⌘ V

Then there's Kill & Yank - called by Ctrl ⌃ K & Ctrl ⌃ Y

The search in many apps uses this second kill/yank buffer, so opening a new search will often auto-fill from there - but it is not infallible, nor fully ubiquitous. Some apps will fill from the regular copy buffer if kill is empty.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .