Hi - I'm using ViMate to have vi-style editing. The problem I have is that the "Esc" is occupied to switch the vi mode, so the general "Esc" key function is not available. For example, I use "Esc" to see completions.
* http://sourceforge.net/projects/tm-vi-plugin/ * http://manual.macromates.com/en/working_with_text#completion
Does anybody know a way to keep the vi functionality and TextMate's "Esc" functionality? No offense to TextMate itself, but I just want to have a way to change the copy/cut selection range without using arrow keys.
Takaaki
Hi Takaaki,
Does anybody know a way to keep the vi functionality and TextMate's "Esc" functionality? No offense to TextMate itself, but I just want to have a way to change the copy/cut selection range without using arrow keys.
How about just changing the keyboard shortcut in System Preferences? More specifically, go to
System Preferences => Keyboard => Keyboard Shortcuts
Add a new "Application Shortcut" for Textmate: the menu is called "Next Completion", so just throw that in as menu title, and add whatever keyboard shortcut you're seeking. Only problem is finding an accessible shortcut that isn't already taken.
Good luck, Paul
On 30 Sep 2009, at 05:26, Takaaki Kato wrote:
Hi - I'm using ViMate to have vi-style editing. The problem I have is that the "Esc" is occupied to switch the vi mode, so the general "Esc" key function is not available. For example, I use "Esc" to see completions.
- http://sourceforge.net/projects/tm-vi-plugin/
- http://manual.macromates.com/en/working_with_text#completion
Does anybody know a way to keep the vi functionality and TextMate's "Esc" functionality?
You want to rebind ‘escape’?
This one is both in the key bindings file included with TextMate and in the menus, so you would need to change this in two places, see 16.2 and 16.3 of the manual: http://manual.macromates.com/en/key_bindings