Saturday, January 28, 2012

Re: Disabling keyboard shortcuts on MacVim

Add this line to gvimrc:
macm File.New\ Tab key=<nop>

after this, you can define command T for the plugin:
nmap <D-T> :CommandT<CR>

Beware ! gvimrc file will be sourced after vimrc.

see :help macvim
and :e $VIMRUNTIME/menu.vim

On 2012.01.28., at 14:44, George Papanikolaou wrote:

> Hi,
> how can I disable a keyboard shortcut in MacVim?
> For example I want to be able to use command+T for the command-T plugin,
> but it keeps opening a new tab.
>
> Thanks.
>
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment