Skip to main content
added 4 characters in body
Source Link
robmathers
  • 41.6k
  • 7
  • 87
  • 118

You can change the default keybindings for OS X text editing with the DefaultKeyBinding.dict file. Make a new text file at ~/Library/KeyBindings/DefaultKeyBinding.dict, with these contents:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>^\UF702<<key>^&#xF702;</key>
    <string>moveWordLeft:</string>
    <key>^\UF703<<key>^&#xF703;</key>
    <string>moveWordRight:</string>
</dict>
</plist>

Restart or log out and in, and controlleft and controlright should do what you're looking for. This will work in most OS X apps, but there are some (typically third party text editors) that use their own bindings, which will need to be switched on a case-by-case basis.

You can change the default keybindings for OS X text editing with the DefaultKeyBinding.dict file. Make a new text file at ~/Library/KeyBindings/DefaultKeyBinding.dict, with these contents:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>^\UF702</key>
    <string>moveWordLeft:</string>
    <key>^\UF703</key>
    <string>moveWordRight:</string>
</dict>
</plist>

Restart or log out and in, and controlleft and controlright should do what you're looking for. This will work in most OS X apps, but there are some (typically third party text editors) that use their own bindings, which will need to be switched on a case-by-case basis.

You can change the default keybindings for OS X text editing with the DefaultKeyBinding.dict file. Make a new text file at ~/Library/KeyBindings/DefaultKeyBinding.dict, with these contents:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>^&#xF702;</key>
    <string>moveWordLeft:</string>
    <key>^&#xF703;</key>
    <string>moveWordRight:</string>
</dict>
</plist>

Restart or log out and in, and controlleft and controlright should do what you're looking for. This will work in most OS X apps, but there are some (typically third party text editors) that use their own bindings, which will need to be switched on a case-by-case basis.

edited body
Source Link
Daniel
  • 35.1k
  • 31
  • 155
  • 193

You can change the default keybindings for OS X text editing with the DefaultKeyBinding.dict file. Make a new text file at ~/Library/KeyBindings/DefaultKeyBinding.dict, with these contents:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>^\UF702</key>
    <string>moveWordLeft:</string>
    <key>^\UF703</key>
    <string>moveWordRight:</string>
</dict>
</plist>

Restart or log in and out and in, and controlleft and controlright should do what you're looking for. This will work in most OS X apps, but there are some (typically third party text editors) that use their own bindings, which will need to be switched on a case-by-case basis.

You can change the default keybindings for OS X text editing with the DefaultKeyBinding.dict file. Make a new text file at ~/Library/KeyBindings/DefaultKeyBinding.dict, with these contents:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>^\UF702</key>
    <string>moveWordLeft:</string>
    <key>^\UF703</key>
    <string>moveWordRight:</string>
</dict>
</plist>

Restart or log in and out, and controlleft and controlright should do what you're looking for. This will work in most OS X apps, but there are some (typically third party text editors) that use their own bindings, which will need to be switched on a case-by-case basis.

You can change the default keybindings for OS X text editing with the DefaultKeyBinding.dict file. Make a new text file at ~/Library/KeyBindings/DefaultKeyBinding.dict, with these contents:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>^\UF702</key>
    <string>moveWordLeft:</string>
    <key>^\UF703</key>
    <string>moveWordRight:</string>
</dict>
</plist>

Restart or log out and in, and controlleft and controlright should do what you're looking for. This will work in most OS X apps, but there are some (typically third party text editors) that use their own bindings, which will need to be switched on a case-by-case basis.

Source Link
robmathers
  • 41.6k
  • 7
  • 87
  • 118

You can change the default keybindings for OS X text editing with the DefaultKeyBinding.dict file. Make a new text file at ~/Library/KeyBindings/DefaultKeyBinding.dict, with these contents:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>^\UF702</key>
    <string>moveWordLeft:</string>
    <key>^\UF703</key>
    <string>moveWordRight:</string>
</dict>
</plist>

Restart or log in and out, and controlleft and controlright should do what you're looking for. This will work in most OS X apps, but there are some (typically third party text editors) that use their own bindings, which will need to be switched on a case-by-case basis.