<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>KeyBindingsEditor Manual</title>
<link rel="stylesheet" type="text/css" href="index.css"></link>
<script type="text/javascript" src="functions.js"></script>
</head>
<body>
<div class="body">
<h1>KeyBindingsEditor Manual</h1>
<h2><a name="Introduction" class="name">Introduction</a></h2>
<p>KeyBindingsEditor (KBE) is a GUI-based editor for OS X key bindings. It allows for easy editing and supports <span class="i">single-action bindings</span> (one action per keystroke), <span class="i">multi-action bindings</span> (multiple actions for a keystroke) and Emacs meta binding-style <span class="i">multi-keystroke bindings</span>. Here some articles discussing key bindings:</p>
<ul>
<li><a class="external" href="http://developer.apple.com/documentation/Cocoa/Conceptual/BasicEventHandling/Tasks/TextDefaultsAndBindings.html#//apple_ref/doc/uid/20000468-611005">Apple Developer Connection: Key bindings</a></li>
<li><a class="external" href="http://hcs.harvard.edu/%7Ejrus/Site/Cocoa%20Text%20System.html">Customizing the Cocoa Text System</a></li>
<li><a class="external" href="http://macromates.com/blog/archives/2005/07/05/key-bindings-for-switchers/#more-44">Key bindings in TextMate</a></li></ul>
<h2><a name="OpeningBindings" class="name">Opening Bindings</a></h2>
<p>Like any standard document based application, KBE offers the usual <span class="i">Open...</span> and <span class="i">Open Recent</span> menu entries. KBE also offers an <span class="i">Open</span> menu, where a few of the more frequently used binding files are referenced. If you choose <span class="i">Open/User Key bindings</span> or <span class="i">Open/XCode User Key bindings</span>, and the required directories or files do not exist yet, KBE will create the directories and an empty key bindings file at that location.</p>
<h2><a name="KeyBindingsEditorwindow" class="name">KeyBindingsEditor window</a></h2>
<div class="wideImageNew"><img src="KBEWindow.png" width="718" alt="KBEWindow" /></div>
<h3><a name="KeyBindings" class="name">Key Bindings</a></h3>
<p>This section lists all bindings in the current file. Multi-action bindings have multiple actions listed in the Actions column in the form of <span class="i">(action1:, action2:)</span>:</p>
<img src="MultiActionBinding.png" width="540" height="19" alt="MultiActionBinding" />
<p> Multi-keystroke actions are listed in a tree type display, with the root object containing the first keystroke, and the children the second keystroke as well as the actions:</p>
<img src="MultiKeystrokeBinding.png" width="543" height="56" alt="MultiKeystrokeBinding" />
<p>To add a single- or multi-action binding click the <span class="i">Add Binding</span> button. To add a multi-keystroke action click the <span class="i">Add Multikey Binding</span>. Delete Bindings by selecting them and clicking the <span class="i">Delete</span> button.</p>
<div class="tipmarker">→</div><div class="tip">Tip: You can modify the sort order by clicking in the column headers and by rearranging columns (drag the column headers).</div><h3><a name="BindingEditor" class="name">Binding Editor</a></h3>
<p>When you have a single binding selected, this section allows you to edit the binding. To enter the keystroke, either click on the keystroke field or press the <span class="i">Tab</span> key while a binding is selected in the Key Bindings Section. The focus will change to the keystroke field, and the next keystroke will be captured. The focus will automatically advance to the Actions list.</p>
<div class="tipmarker">→</div><div class="tip">Tip: When the focus advanced to the Actions list but you want a different keystroke, enter <span class="i">Shift-Tab</span> to change the focus back to the keystroke field.</div><p>The reason the focus advances automatically is because the keystroke field swallows almost any keystroke and that behavior may be confusing.</p>
<p>To edit the Actions, either click on the double-arrow to the right of an action to select from one of the many pre-configured actions, or double-click on the action name to enter a new one.</p>
<div class="notemarker">⇒</div><div class="note">Note: KBE does not verify the action names.</div><p>Add actions by clicking on the <span class="i">Add Action</span> button, delete them by selecting the actions to be deleted and click on the <span class="i">Delete</span> button.</p>
<h2><a name="SavingBindings" class="name">Saving Bindings</a></h2>
<p>Save the edited binding just like you would do in any document-based application. Common paths are:</p>
<ul>
<li><span class="i">/System/Library/Frameworks/AppKit.framework/ Resources/StandardKeyBinding.dict</span>: This is where the OS X system defined key bindings live. They should not be modified.</li>
<li><span class="i">/Library/KeyBindings/DefaultKeyBinding.dict</span>: Key bindings for that specific computer.</li>
<li><span class="i">~/Library/KeyBindings/DefaultKeyBinding.dict</span>: This is where a user should add to or overwrite the systems defined bindings. The bindings defined here will be picked up by most applications.</li>
<li><span class="i">/Developer/Applications/Xcode.app/Contents/ Resources/PBKeyBinding.dict</span>: Here is where the XCode default key bindings live. They should not be modified.</li>
<li><span class="i">~/Library/KeyBindings/PBKeyBinding.dict</span>: User-definable XCode key bindings live here.</li></ul>
<h2><a name="ExportingBindings" class="name">Exporting Bindings</a></h2>
<p>You can export the bindings to a <span class="i">HTML</span> file or a text file. This option is handy to include KeyBinding tables in product manuals, or simply for easy reference. To do so, select <span class="i">Save To...</span> from the <span class="i">File</span> manu. In the <span class="i">Save Panel</span> select the desired format from the <span class="i">File Format</span> drop down menu and save the file. The bindings will be exported in the order they appear in <span class="i">Key Bindings</span> list. To change the sort order simply click into the Column headers before exporting.</p>
<h2><a name="Compatibility" class="name">Compatibility</a></h2>
<p>KeyBindingsEditor requires <span class="i">Mac OS X 10.4</span>. The generated bindings files however should be compatible with all <span class="i">OS X</span> versions.</p>
<h2><a name="License" class="name">License</a></h2>
<p>KeyBindingsEditor is free for personal use. If however you use it frequently or if you would like to support development of quality OS X software, please consider a donation. Start by clicking on the button below. Payment is handled via PayPal, no PayPal account needed and no registration required!</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="gerti-ppkbe@bitart.com" />
<input type="hidden" name="item_name" value="KeyBindingsEditor" />
<input type="hidden" name="item_number" value="KBEd" />
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="return" value="http://www.cocoabits.com/ThankYou.html" />
<input type="hidden" name="cancel_return" value="http://www.cocoabits.com/KeyBindingsEditor/" />
<input type="hidden" name="no_note" value="0" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="bn" value="PP-BuyNowBF" />
<input type="image" src="x-click-butcc.gif" name="submit" alt="KeyBindingsEditor purchase link" />
</form>
<h2><a name="ChangeLog" class="name">Change Log</a></h2>
<ul>
<li><span class="i">Version 1.00</span><ul>
<li>Work around bug in <span class="i">open</span> command line utility when Help-path contained spaces</li>
<li>Add help button to editor windows</li></ul>
</li>
<li><span cl
评论3
最新资源