Hi,
I am trying to adjust keybindings for text movement, and have issue with my custom ^j shortcut (yes, Vim related ;-). In Pages and Mail this shortcut works just fine, but in TextMate it is bound to "Reformat and Justify" menu item. Therefor I added TextMate to Keyboard shortcuts preferences pane, and assigned @^J to it. It works; the new shortcut appears in the menu and I can use it. But the old shortcut (^J) is also still bound to "Reformat and Justify", so it doesn't work for the text movement.
Any ideas how to fix it?
Thanks!
-- Ksenia
On 06/10/2005, at 23.14, Ksenia Marasanova wrote:
[...] the old shortcut (^J) is also still bound to "Reformat and Justify", so it doesn't work for the text movement.
Any ideas how to fix it?
TextMate uses a local version of the KeyBindings.dict which is inside its bundle (Contents/Resources).
You can copy this file to ~/Library/Application Support/TextMate and make changes there, then it'll override what's in the bundled version.
This file has the ^J binding.
2005/10/6, Allan Odgaard throw-away-1@macromates.com:
On 06/10/2005, at 23.14, Ksenia Marasanova wrote:
[...] the old shortcut (^J) is also still bound to "Reformat and Justify", so it doesn't work for the text movement.
Any ideas how to fix it?
TextMate uses a local version of the KeyBindings.dict which is inside its bundle (Contents/Resources).
You can copy this file to ~/Library/Application Support/TextMate and make changes there, then it'll override what's in the bundled version.
Thanks! Only for some strange reason, TextMate still want to use KeyBindings.dict inside its bundle, even after I copied the custom version to ~/Library/Application Support/TextMate/ .... if I remove the bundle version, than it works.
-- Ksenia