When I use Vim's search feature (the / key from insert mode), somehow the text I search for is placed in Safari's search bar whenever I switch back to an open Safari window.

See here for a gif of what's happening.

I started Vim via vim -u NONE to ensure the behavior is not caused by anything in my vimrc file, and my only active Safari plugins are "AdBlock Icon" and "AdBlock Engine."

I might be unaware that this is an intended feature (of Vim?), but scanning Vim's relevant help pages didn't immediately turn up anything useful.

Other potentially relevant details:

  • Terminal: I'm using Apple's default Terminal app
  • Browser: behavior also occurs when using Chrome or Firefox browsers
  • OS: macOS High Sierra version 10.13.6

Your Answer

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

Browse other questions tagged or ask your own question.