I just came across a truly amazingly sweet little thing.
To quote the author:
A warning: input managers are bad…
This bit of code [is] probably only useful to developers … it’s not like a product or anything. Think of it as sample code.
* Edit in BBEdit from any NSTextView
* Menu Accelerator- Marrying Search Kit and NSMenuItem in some sort of unholy union
* Execute as Lua in any NSTextView
He’s got a slick video of the Menu Accelerator and another one activating a shell script
flyopts.xcodeproj
Xcode project in flyopts_src/
ranlib
on the files flyopts_src/src/lua/liblua.a flyopts_src/src/lua/liblualib.a
from the terminal"com.barebones.bbedit"
to "com.macromates.textmate"
on line 64 of the file flyopts_src/src/bbedit/FOODBEditor.m
flyopts_src/build/Development/FlyOpts.bundle
into the FlyOpts/
folder (from step 3), replace the existing bundleFlyOpts/
folder into your ~/Library/InputManagers/
folder"^j" = "flyoptsODBEdit:";
to your ~/Library/KeyBindings/DefaultKeyBinding.dict
file~/Library/KeyBindings/DefaultKeyBinding.dictThe Incremental-Search Plugin for Mac OS X
An InputManager that adds emacs-style Incremental Search to any app using NSTextView
Thomas Aylott / subtleGradient