2009/8/9 Dmitry Kichenko:
>
> 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.
Ok, I understand what you are trying to do now. The only solution I
can come up with requires a bit of set up, but you won't need to
install anything.
For example, here is how to set up Ctrl-C to Copy in MacVim:
1. Open up System Preferences -> Keyboard & Mouse -> Keyboard Shortcuts
2. Click the "+" button in the lower left
3. Fill in the boxes as follows:
Application: All Applications
Menu Title: Copy
Keyboard Shortcut: ^C
(Hold down Ctrl and "C" simultaneously in the last step.) Now repeat
steps 2 and 3 for each menu item that you want to rebind to use Ctrl.
This will only work for shortcuts that appear as menu items, but most
Cmd-key combinations do appear on menus. You can choose "MacVim"
instead of "All Applications" if you only want the keys to change in
MacVim, but from what I can tell you want to change it for all
applications.
Björn
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---