Thanks for the response.

I already remapped the Caps Lock to Ctrl via the System Preferences
but the problem is a lot of functionality in Mac OS is based around
the Command key.

Basically, that allows for easier use of VIm but things like copying,
pasting and all the other commands in Mac OS still require bending the
finger to reach for the Command key, whereas in Windows most OS
commands revolve around Ctrl which means I can use the little finger
for everything.

Once I get home however, my little finger keeps reaching for Caps Lock/
Ctrl for all the system commands but that only has meaning within
MacVim — Mac OS still wants me to use the Command key. The workaround,
then, is to map Caps Lock to Command but of course I can no longer use
Vim in that case without some sort of additional remapping.

I've tried DoubleCommand which doesn't really do anything beyond what
the System Preferences offer in this given case so I think what I
really need is some sort of per-application overriding.

I'll check out the solutions you've suggested above. Thanks!

On Aug 8, 1:44 pm, björn <[email protected]> wrote:
> 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