Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9301595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T23:03:40+00:00 2026-06-18T23:03:40+00:00

I have defined/customized some keyboard bindings in Xcode 4.5 in order to give me

  • 0

I have defined/customized some keyboard bindings in Xcode 4.5 in order to give me a better typing experience.

Only the short-cut for selectWord: is originally defined by Xcode, others are added by me. They work fine in Xcode 4.5. But after I update the Xcode to 4.6, they no longer work except the selectedWord which is defined by Xcode.

The key binding file is at /Users/jason/Library/Developer/Xcode/UserData/KeyBindings/Default.idekeybindings

<key>Text Key Bindings</key>
    <dict>
        <key>Key Bindings</key>
        <dict>
            <key>@
</key>
            <array>
                <string>moveToEndOfLine:</string>
                <string>insertNewline:</string>
            </array>
            <key>^$D</key>
            <array>
                <string>selectLine:</string>
                <string>copy:</string>
                <string>moveToEndOfLine:</string>
                <string>insertNewline:</string>
                <string>paste:</string>
                <string>deleteBackward:</string>
            </array>
            <key>^$K</key>
            <array>
                <string>deleteToBeginningOfLine:</string>
                <string>moveToEndOfLine:</string>
                <string>deleteToBeginningOfLine:</string>
                <string>deleteBackward:</string>
                <string>moveDown:</string>
                <string>moveToBeginningOfLine:</string>
            </array>
            <key>~w</key>
            <string>selectWord:</string>
        </dict>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T23:03:42+00:00Added an answer on June 18, 2026 at 11:03 pm

    It seems that when Xcode is updated, the short-cut function defined by ourself will be overwritten by the default short cut function defined by the new version of Xcode. In short, the short-cuts function defined by ourself will disappear, and we need to do it once again.

    1.I added back the following code into /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Resources/IDETextKeyBindingSet.plist to define the short-cuts function again.

      <key>Customerized</key>
      <dict>
        <key>Insert new line in middle</key>
        <string>moveToEndOfLine:, insertNewline:</string>
        <key>Duplicate Current Line</key>
        <string>selectLine:, copy:, moveToEndOfLine:, insertNewline:, paste:, deleteBackward:</string>
        <key>Delete Current Line</key>
        <string>deleteToBeginningOfLine:, moveToEndOfLine:, deleteToBeginningOfLine:, deleteBackward:, moveDown:, moveToBeginningOfLine:</string>
      </dict>
    

    2.Go to the key binding settings in Xcode, and type the new short-cut key for them.
    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have defined a table type PL/SQL variable and added some data there. create
I have some very customized reports that I designed using Microsoft Reporting rdlc files.
I have a Silverlight 4 application where I have some states defined in XAML,
I have defined following control template for my custom control. <ControlTemplate TargetType={x:Type local:CustomControl}> <Grid
I have defined the following class using COM to use the IGroupPolicyObject using C#.NET:
I have defined a ConfigurationProperty class, which is basicly a key-value pair (with key
I have defined the following two functions test <- function(t) { return( (0.5*eta^2/theta)*(1-exp(-2*theta*t)) )
I have defined CSS in MasterPage so that all pages can use the same
I have defined a rectangle drawable like this: <shape xmlns:android=http://schemas.android.com/apk/res/android android:shape=rectangle> <corners android:radius=4dip/> <solid
I have defined an array like so : var myArray = {myNewArray: ['string1' ,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.