How can I use the Ctrl + Arrow windows shortcut to navigate through a text sting on a Mac?
3 Answers
Create a file named DefaultKeyBinding.dict
in ~/Library/Keybindings
and add the following text:
{
"^\UF702" = (moveWordLeft:);
"^\UF703" = (moveWordRight:);
}
This will reassign Ctrl-Left
and Ctrl-Right
from their default moveToBeginningOfLine/moveToEndOfLine
to movement by words, the same action as performed by Opt-Left/Right
.