Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to export Xcode key bindings?

Tags:

xcode

I have a mac at work and want to sync my key bindings at home to it. I don't see an export button in the Preferences menu. Is there some other way to export my custom key bindings?

like image 892
Wayne Hartman Avatar asked Nov 17 '10 01:11

Wayne Hartman


People also ask

How do I create a shortcut in Xcode?

You establish shortcuts using Xcode > Preferences > Key Bindings. Search for the command-name using the field at the top-right, then double click in the key field and type the key (or key-chord) you want to use. Click away from the field after entering your selection.


1 Answers

From Xcode 5 to Xcode 12 the correct folder you should backup is ~/Library/Developer/Xcode/UserData where you'll find the following items:

  • /Code Snippets Your user generated code snippets: NSHipster on XCode Snippets
  • /FontsAndColorThemes Any default themes you've modified: XCode 5 Themes
  • /KeyBindings Default.keybindings which you can open with xcode (xml/plist): keybindins in xcode 5
  • IDEDocumentationWindow.xcuserstate
  • IDEOrganizerWindowController.xcuserstate
  • IDEPreferencesController.xcuserstate 3 Files that maintain the state for the documentation, organizer and preferences windows.
like image 123
self.name Avatar answered Oct 04 '22 16:10

self.name