2009/8/7 Dmitry Kichenko:
>
> Would it be possible to switch the Ctrl and Command keys in MacVim via
> other than manually rebinding every possible binding that involves
> Ctrl by hand? emacs allows for that via the mac-control-modifier and
> mac-command modifier commands. I realize there are Mac specific
> bindings that involve the Command key, and ideally I'd like to
> minimize those as well
>
> WHY?
> At work I use Windows machines and have the Control key mapped to Caps
> Lock. As Windows generally utilizes the Control key about as much as
> Mac OS utilizes Command, I've got used to reaching for Caps Lock for
> all sorts of daily tasks.
>
> Back home, I keep reaching with my little finger for Caps Lock as
> well. The natural thing would be to remap Caps Lock to Command via the
> System Preferences but of course that means that in the Terminal and
> in VIm/MacVim none of the bindings work.

I must be a bit dense, but if you're used to remapping Caps Lock to
Ctrl in Windows then why not do the same on your Mac (via the System
Preferences)?  Are you saying that the for every Ctrl+key combination
on Windows there is an equivalent Cmd+key combination by default on
Mac OS X?

What do you mean by "none of the bindings work"...sorry, I just don't
follow.  Can you give me some concrete examples?

> I've found one possible solution, Menu Master from unsanity, which I'm
> yet to try out but other than that, are there any built-in means of
> achieving this?

There are no ways to remap Ctrl to Cmd in MacVim, no.  But the System
Preferences lets you do this, so why not use that?  If you want to do
more customization than what the System Preferences allows there are
programs like "DoubleCommand" and "PCKeyboardHack/KeyRemap4MacBook"
etc.

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