incremental search for cocoa
After downloading the plugin ages ago, I finally got around to installing the incremental search input manager which adds emacs-style incremental search to cocoa text widgets on OS X. I had problems getting it to work on leopard until I discovered some Leopard-specific issues with input managers. What I ended up doing was:
- build from source using XCode
- sudo cp -pR IncrementalSearchInputManager /Library/InputManagers
- sudo chmod -R go-w /Library/InputManagers
- sudo chown -R root:admin /Library/InputManagers
- sudo chmod a-x /Library/InputManagers/IncrementalSearchInputManager/IncrementalSearchInputManager.bundle/Contents/MacOS/IncrementalSearchInputManage
Of course while writing this post I discovered that there’s a universal binary available on the author’s site, so maybe I didn’t need to rebuild at all. In fact, I was trying to use a PPC binary on an intel machine the whole time, so maybe the instructions in the readme are, in fact, ok. The whole situation is confusing though, as the sourceforge wiki seems not to be updated and most of the pages linked to on the web are MIA.
Anyway, it can be done, and life is happy.
Update: or maybe not. I can’t get it to work in Mail.app or Xcode. Doh.