开发者

VIM-style keyboard navigation in TextMate

开发者 https://www.devze.com 2023-03-01 04:17 出处:网络
I\'m using TextMate in OSX and would love it if I could enable VIM-style keyboard navigation using \'h\',\'j\'开发者_运维问答,\'k\',\'l\' with a modifier key (like Control, Option, or Command). I know

I'm using TextMate in OSX and would love it if I could enable VIM-style keyboard navigation using 'h','j'开发者_运维问答,'k','l' with a modifier key (like Control, Option, or Command). I know TextMate (somewhat) supports the Emacs-style of navigation, so this must be possible.

I tried using custom key-bindings in OSX as described on the TextMate site both here and here to no avail.

Has anybody accomplished what I'm trying to do?


Bundles -> Macros -> Start Recording.

Press left arrow.

Bundles -> Macros -> Stop Recording.

Bundles -> Macros -> Save Last Recording...

Give it a name like "left" and set the Key Equivalent to Cmd-Shift-H or whatever.

Repeat for J, K, and L.


There is a plugin that tries to provide vi keybindings to TextMate, it has INSERT and NORMAL modes and only a few of vi's NORMAL mode commands.

It's fun to play with for a couple of minutes but it doesn't take more time to hit its many limitations.

If you like Vim's keybindings, why don't you use Vim? I've switched a few months ago, it's simply amazing.

0

精彩评论

暂无评论...
验证码 换一张
取 消