alloy/macvim — pull request #51 by adamvaughan (2011-12-15 21:31:27+00:00)
Title: add nerdtree keybindings

I switched to the file browser from nerdtree and I am loving it so far. The one thing I missed was the ability to open files in tabs, vertical splits, and horizontal splits via the keyboard. So I added the following shortcuts:

t - open file in new tab
i - open file in horizontal split
s - open file in vertical split

I also disabled the native keyboard navigation. Since the j/k/h/l keys (and now t/i/s) are handled I didn't like how pressing any another key jumped around the list, but the bound keys behaved differently.

I would appreciate your thoughts on this, and thanks for the great work.