Multi-line cursor movements in Xcode

I would like to display a key to move the cursor in Xcode ten lines. Of course, I want another one to come down as well. Key matching would ideally be something like "Control-Alt-P."

Is there a way to achieve this in Xcode without resorting to Automator?


Ashley has the answer below, the formatting was slightly different, since the list of properties is in XML format.

As a result, an entry in the following format was added to the "text" section in * .pbxkeys in ~ / Library / Application Support / Xcode / Key Bindings /:

    <key>^~p</key>
    <array>
        <string>moveUp:</string>
        <string>moveUp:</string>
    </array>
+2
source share
2 answers

DefaultKeyBinding.dict, moveUp: moveDown: .

:

{
    "^~P" = (
        "moveUp:",
        "moveUp:",
        "moveUp:",
        ... however many times ...
        "moveUp:",
    );
}

, Xcode, .pbxkeys text.

+2

, oldbeamer .pbxkeys .dict:

pbxkeys, XML :

    <key>...</key>
    <array>
            <string>action1:</string>
            <string>action2:</string>
            <string>etc:</string>
    </array>

.pbxkeys , .

0

All Articles