2009/11/16 matias:
>
> I am far more used to use 'buffers' than to 'tabs' in VIM.  Is there
> any way to change the default mapping of C-{ and C-} to switch between
> buffers instead of tabs?
>
> I tried:
>
> map! <D-{>      :bnext <CR>
> map! <D-}>      :bprev <CR>
>
> in my ~/.vimrc
>
> with no luck.

Hi Matias,

When a key is bound to a menu you first need to clear the menu binding
and this can only be done inside .gvimrc (_not_ .vimrc ... uh, at
least I don't think .vimrc will work).  See ":h :macm" on how this is
done.  Something like this should work (not tested):

macm  Window.Select\ Next\ Tab key=nop
nmap <D-}> :bnext<CR>

macm Window.Select\ Previous\ Tab key=nop
nmap <D-{> :bprev<CR>


Björn

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to