2

I've used fuzzyfinder to change between buffers for a long time (since 2008-2009). I've upgraded MacVim no less than 10 times since I've started using fuzzy finder. I've had this in my .vimrc:

nnoremap <Leader>t :FufBuffer<CR>
nnoremap <D-t> :FufBuffer<CR>

A few months back I upgraded to 7.4 (73). And now Command-T just opens a tab. I want to de-activate this behavior and have Command-T just make FufBuffer show up.

How can I do this?

1 Answer 1

4

See :help cmd-key and :help macmenu. As you noticed ⌘-T is now mapped to "New Tab" in the menu. You need to free up ⌘-T before you can remap it to something else.

Something like the following should be added to your .gvimrc (.vimrc will not work):

" Free Up Cmd-t
macmenu File.New\ Tab key=<nop>

" Remap it to fuzzyFinder
nmap <D-t> :FufBuffer<CR>
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.