I'm coming from windows editors and I'm used to moving word to word in an editor (notepad, visual studio) or any application for that matter
Can somebody tell me how to remap the ctrl+rightarrow and ctrl+leftarrow to move word to word on my mac book pro retina running lion?
Currently the ctrl+leftarrow moves to the other dsktop on mac no matter what application I'm currently using. How can I disable that for one...
...and more importantly get the word for word traverse working in an application via ctrl+leftarrow and ctrl_rightarrow?
You can change the keyboard shortcuts for changing spaces from System Preferences:
Then create ~/Library/KeyBindings/
and save a property list like this as DefaultKeyBinding.dict
:
{
"^\UF702" = moveWordLeft:;
"^\UF703" = moveWordRight:;
"^$\UF702" = moveWordLeftAndModifySelection:;
"^$\UF703" = moveWordRightAndModifySelection:;
}
You have to quit and reopen applications to apply changes to DefaultKeyBinding.dict
.
See http://www.hcs.harvard.edu/~jrus/site/cocoa-text.html or http://lri.me/keybindings.html for more information.
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加