Skip to content

Instantly share code, notes, and snippets.

@GRoguelon
Created April 28, 2015 07:25
Show Gist options
  • Save GRoguelon/66e2a6adcd2107478da2 to your computer and use it in GitHub Desktop.
Save GRoguelon/66e2a6adcd2107478da2 to your computer and use it in GitHub Desktop.
Sublime Text 3 Keymap for IntelliJ 14.1 Mac (from Mac OS X 10.5+)
<keymap version="1" name="Sublime Text 3" parent="Mac OS X 10.5+">
<action id="$Cut">
<keyboard-shortcut first-keystroke="meta X" />
</action>
<action id="$Delete">
<keyboard-shortcut first-keystroke="DELETE" />
</action>
<action id="$Redo">
<keyboard-shortcut first-keystroke="shift meta Z" />
</action>
<action id="$SelectAll" />
<action id="ActivateChangesToolWindow" />
<action id="ActivateDebugToolWindow" />
<action id="ActivateFavoritesToolWindow" />
<action id="ActivateFindToolWindow" />
<action id="ActivateMessagesToolWindow" />
<action id="ActivateProjectToolWindow" />
<action id="ActivateRunToolWindow" />
<action id="ActivateStructureToolWindow" />
<action id="ActivateTODOToolWindow" />
<action id="ActivateTerminalToolWindow" />
<action id="AddToFavoritesPopup" />
<action id="AutoIndentLines" />
<action id="Back" />
<action id="CallHierarchy" />
<action id="ChangeSignature" />
<action id="ChangeTypeSignature" />
<action id="ChangesView.AddUnversioned" />
<action id="ChangesView.Revert" />
<action id="CheckinProject" />
<action id="ChooseDebugConfiguration" />
<action id="ChooseRunConfiguration" />
<action id="ClassNameCompletion" />
<action id="ClassTemplateNavigation" />
<action id="CloseActiveTab" />
<action id="CloseProject">
<keyboard-shortcut first-keystroke="shift meta W" />
</action>
<action id="CodeCompletion" />
<action id="CodeInspection.OnEditor" />
<action id="CollapseAll" />
<action id="CollapseAllRegions" />
<action id="CollapseBlock" />
<action id="CollapseRegion" />
<action id="CollapseRegionRecursively" />
<action id="CollapseSelection" />
<action id="CollapseTreeNode" />
<action id="CommentByBlockComment" />
<action id="CommentByLineComment">
<keyboard-shortcut first-keystroke="meta PERIOD" />
</action>
<action id="CompareTwoFiles" />
<action id="Compile" />
<action id="CompileDirty">
<keyboard-shortcut first-keystroke="control B" />
</action>
<action id="Console.Execute" />
<action id="Console.Execute.Multiline" />
<action id="Console.History.Browse" />
<action id="Console.Jdbc.Close" />
<action id="Console.Jpa.Close" />
<action id="Console.Jpa.GenerateDDL" />
<action id="Console.Jpa.GenerateSql" />
<action id="Console.Open" />
<action id="Console.TableResult.ColumnSortReset" />
<action id="Console.TableResult.ColumnVisibility" />
<action id="Console.TableResult.EditValue" />
<action id="Console.TableResult.EditValueMaximized" />
<action id="Console.TableResult.MaximizeEditingCell" />
<action id="Console.TableResult.NextPage" />
<action id="Console.TableResult.PreviousPage" />
<action id="Console.TableResult.Reload" />
<action id="Console.TableResult.SetDefault" />
<action id="Console.TableResult.SetNull" />
<action id="CopyElement" />
<action id="CopyPaths" />
<action id="CopyReference" />
<action id="DashLauncherAction">
<keyboard-shortcut first-keystroke="control D" />
</action>
<action id="DatabaseView.PropertiesAction" />
<action id="Debug">
<keyboard-shortcut first-keystroke="shift meta B" />
</action>
<action id="DebugClass" />
<action id="Debugger.EditTypeSource" />
<action id="Diagram.DeselectAll" />
<action id="Diff.ShowSettingsPopup" />
<action id="DomCollectionControl.Add" />
<action id="DomElementsTreeView.AddElement" />
<action id="DumpLookupElementWeights" />
<action id="DuplicatesForm.SendToLeft" />
<action id="DuplicatesForm.SendToRight" />
<action id="EditBreakpoint" />
<action id="EditSource" />
<action id="EditSourceInNewWindow" />
<action id="Editor Copy">
<keyboard-shortcut first-keystroke="meta C" />
</action>
<action id="Editor Cut">
<keyboard-shortcut first-keystroke="meta X" />
</action>
<action id="Editor Delete">
<keyboard-shortcut first-keystroke="DELETE" />
</action>
<action id="Editor Paste">
<keyboard-shortcut first-keystroke="meta V" />
</action>
<action id="Editor Redo">
<keyboard-shortcut first-keystroke="shift meta Z" />
</action>
<action id="Editor Undo">
<keyboard-shortcut first-keystroke="meta Z" />
</action>
<action id="EditorAddOrRemoveCaret" />
<action id="EditorAddRectangularSelectionOnMouseDrag">
<mouse-shortcut keystroke="alt button1" />
</action>
<action id="EditorBackSpace">
<keyboard-shortcut first-keystroke="BACK_SPACE" />
<keyboard-shortcut first-keystroke="shift BACK_SPACE" />
<keyboard-shortcut first-keystroke="control BACK_SPACE" />
</action>
<action id="EditorChooseLookupItemCompleteStatement" />
<action id="EditorChooseLookupItemDot" />
<action id="EditorChooseLookupItemReplace" />
<action id="EditorCodeBlockEnd" />
<action id="EditorCodeBlockEndWithSelection" />
<action id="EditorCodeBlockStart" />
<action id="EditorCodeBlockStartWithSelection" />
<action id="EditorCompleteStatement" />
<action id="EditorContextInfo" />
<action id="EditorCreateRectangularSelection" />
<action id="EditorCutLineEnd" />
<action id="EditorDeleteLine">
<keyboard-shortcut first-keystroke="meta BACK_SPACE" />
<keyboard-shortcut first-keystroke="shift control K" />
</action>
<action id="EditorDeleteToLineEnd">
<keyboard-shortcut first-keystroke="meta DELETE" />
</action>
<action id="EditorDeleteToWordEnd" />
<action id="EditorDown">
<keyboard-shortcut first-keystroke="DOWN" />
</action>
<action id="EditorDuplicate">
<keyboard-shortcut first-keystroke="shift meta D" />
</action>
<action id="EditorDuplicateLines">
<keyboard-shortcut first-keystroke="shift meta D" />
</action>
<action id="EditorEscape" />
<action id="EditorJoinLines" />
<action id="EditorLeft">
<keyboard-shortcut first-keystroke="LEFT" />
</action>
<action id="EditorLineEnd">
<keyboard-shortcut first-keystroke="meta RIGHT" />
</action>
<action id="EditorLineEndWithSelection">
<keyboard-shortcut first-keystroke="shift meta RIGHT" />
</action>
<action id="EditorLineStart">
<keyboard-shortcut first-keystroke="meta LEFT" />
</action>
<action id="EditorLineStartWithSelection">
<keyboard-shortcut first-keystroke="shift meta LEFT" />
</action>
<action id="EditorLookupDown" />
<action id="EditorLookupUp" />
<action id="EditorMoveToPageBottom" />
<action id="EditorMoveToPageBottomWithSelection" />
<action id="EditorMoveToPageTop" />
<action id="EditorMoveToPageTopWithSelection" />
<action id="EditorPasteFromX11" />
<action id="EditorPasteSimple" />
<action id="EditorRight">
<keyboard-shortcut first-keystroke="RIGHT" />
</action>
<action id="EditorSelectWord">
<keyboard-shortcut first-keystroke="shift meta A" />
</action>
<action id="EditorSplitLine" />
<action id="EditorStartNewLine" />
<action id="EditorStartNewLineBefore" />
<action id="EditorTextEnd">
<keyboard-shortcut first-keystroke="END" />
<keyboard-shortcut first-keystroke="meta DOWN" />
</action>
<action id="EditorTextEndWithSelection">
<keyboard-shortcut first-keystroke="shift END" />
<keyboard-shortcut first-keystroke="shift meta UP" />
</action>
<action id="EditorTextStart">
<keyboard-shortcut first-keystroke="HOME" />
<keyboard-shortcut first-keystroke="meta UP" />
</action>
<action id="EditorTextStartWithSelection">
<keyboard-shortcut first-keystroke="shift HOME" />
<keyboard-shortcut first-keystroke="shift meta DOWN" />
</action>
<action id="EditorToggleCase" />
<action id="EditorToggleColumnMode" />
<action id="EditorUnSelectWord" />
<action id="EditorUnindentSelection" />
<action id="EditorUp">
<keyboard-shortcut first-keystroke="UP" />
</action>
<action id="EmmetNextEditPoint" />
<action id="EmmetPreviousEditPoint" />
<action id="EvaluateExpression" />
<action id="Exit">
<keyboard-shortcut first-keystroke="meta Q" />
</action>
<action id="ExpandAll" />
<action id="ExpandAllRegions" />
<action id="ExpandAllToLevel1" />
<action id="ExpandAllToLevel2" />
<action id="ExpandAllToLevel3" />
<action id="ExpandAllToLevel4" />
<action id="ExpandAllToLevel5" />
<action id="ExpandRegion" />
<action id="ExpandRegionRecursively" />
<action id="ExpandToLevel1" />
<action id="ExpandToLevel2" />
<action id="ExpandToLevel3" />
<action id="ExpandToLevel4" />
<action id="ExpandToLevel5" />
<action id="ExpandTreeNode" />
<action id="ExportToTextFile" />
<action id="ExternalJavaDoc" />
<action id="ExtractMethod" />
<action id="FileChooser.GotoDesktop" />
<action id="FileChooser.GotoHome" />
<action id="FileChooser.GotoModule" />
<action id="FileChooser.GotoProject" />
<action id="FileChooser.NewFolder" />
<action id="FileChooser.TogglePathShowing" />
<action id="FileStructurePopup" />
<action id="FindUsages" />
<action id="FindUsagesInFile" />
<action id="ForceRunToCursor" />
<action id="ForceStepInto" />
<action id="ForceStepOver" />
<action id="Forward" />
<action id="FullyExpandTreeNode" />
<action id="Generate" />
<action id="GoToClass" />
<action id="GotoAction">
<keyboard-shortcut first-keystroke="shift meta P" />
</action>
<action id="GotoBookmark0" />
<action id="GotoBookmark1" />
<action id="GotoBookmark2" />
<action id="GotoBookmark3" />
<action id="GotoBookmark4" />
<action id="GotoBookmark5" />
<action id="GotoBookmark6" />
<action id="GotoBookmark7" />
<action id="GotoBookmark8" />
<action id="GotoBookmark9" />
<action id="GotoChangedFile" />
<action id="GotoClass" />
<action id="GotoCustomRegion" />
<action id="GotoDeclaration" />
<action id="GotoFile" />
<action id="GotoImplementation" />
<action id="GotoLine">
<keyboard-shortcut first-keystroke="control G" />
</action>
<action id="GotoNextError" />
<action id="GotoPreviousError" />
<action id="GotoRelated" />
<action id="GotoSuperMethod" />
<action id="GotoSymbol">
<keyboard-shortcut first-keystroke="meta T" />
</action>
<action id="GotoTest" />
<action id="GotoTypeDeclaration" />
<action id="Graph.ZoomIn" />
<action id="Graph.ZoomOut" />
<action id="HideActiveWindow" />
<action id="HideAllWindows" />
<action id="HighlightUsagesInFile" />
<action id="HippieBackwardCompletion" />
<action id="HippieCompletion" />
<action id="HtmlTableCellNavigateDown" />
<action id="HtmlTableCellNavigateLeft" />
<action id="HtmlTableCellNavigateRight" />
<action id="HtmlTableCellNavigateUp" />
<action id="Images.EditExternally" />
<action id="Images.Editor.ActualSize" />
<action id="Images.Editor.ToggleGrid" />
<action id="Images.ShowThumbnails" />
<action id="Images.Thumbnails.EnterAction" />
<action id="Images.Thumbnails.ToggleRecursive" />
<action id="Images.Thumbnails.UpFolder" />
<action id="ImplementMethods" />
<action id="Inline" />
<action id="InsertLiveTemplate" />
<action id="IntroduceConstant" />
<action id="IntroduceField" />
<action id="IntroduceFunctionalParameter" />
<action id="IntroduceParameter" />
<action id="IntroduceVariable" />
<action id="JumpToLastChange" />
<action id="JumpToLastWindow" />
<action id="MaintenanceAction" />
<action id="Maven.Uml.Exclude" />
<action id="MaximizeToolWindow" />
<action id="MethodDown" />
<action id="MethodHierarchy" />
<action id="MethodUp" />
<action id="MinimizeCurrentWindow" />
<action id="Mongo.Shell.Execute" />
<action id="Move" />
<action id="MoveLineDown">
<keyboard-shortcut first-keystroke="control meta DOWN" />
</action>
<action id="MoveLineUp">
<keyboard-shortcut first-keystroke="control meta UP" />
</action>
<action id="MoveStatementDown" />
<action id="MoveStatementUp" />
<action id="Mvc.RunTarget" />
<action id="NewElement" />
<action id="NewElementSamePlace" />
<action id="NewFile">
<keyboard-shortcut first-keystroke="meta N" />
</action>
<action id="NewScratchFile" />
<action id="NextDiff" />
<action id="NextEditorTab" />
<action id="NextOccurence" />
<action id="NextParameter" />
<action id="NextProjectWindow" />
<action id="NextSplitter" />
<action id="NextTab">
<keyboard-shortcut first-keystroke="shift meta alt RIGHT" />
</action>
<action id="NextTemplateParameter" />
<action id="NextTemplateVariable" />
<action id="OptimizeImports" />
<action id="OverrideMethods" />
<action id="ParameterInfo" />
<action id="PasteMultiple" />
<action id="PerforceDirect.Edit" />
<action id="PopupHector" />
<action id="PrevParameter" />
<action id="PrevSplitter" />
<action id="PrevTemplateParameter" />
<action id="PreviousDiff" />
<action id="PreviousEditorTab" />
<action id="PreviousOccurence" />
<action id="PreviousProjectWindow" />
<action id="PreviousTab">
<keyboard-shortcut first-keystroke="shift meta alt LEFT" />
</action>
<action id="PreviousTemplateVariable" />
<action id="ProjectViewChangeView" />
<action id="PropertyInspectorActions.EditValue" />
<action id="PublishGroup.UploadTo" />
<action id="QuickChangeScheme" />
<action id="QuickEvaluateExpression" />
<action id="QuickImplementations" />
<action id="QuickJavaDoc" />
<action id="RecentChangedFiles" />
<action id="RecentChanges" />
<action id="RecentFiles" />
<action id="Refactorings.QuickListPopupAction" />
<action id="ReformatCode" />
<action id="Refresh" />
<action id="RemoveFromFavorites" />
<action id="RenameElement" />
<action id="ReopenClosedTab">
<keyboard-shortcut first-keystroke="shift meta T" />
</action>
<action id="Replace">
<keyboard-shortcut first-keystroke="meta alt F" />
</action>
<action id="ReplaceInPath" />
<action id="Rerun" />
<action id="RerunTests" />
<action id="ResizeToolWindowDown" />
<action id="ResizeToolWindowLeft" />
<action id="ResizeToolWindowRight" />
<action id="ResizeToolWindowUp" />
<action id="RestoreDefaultLayout" />
<action id="Resume" />
<action id="Run">
<keyboard-shortcut first-keystroke="meta B" />
</action>
<action id="RunClass" />
<action id="RunInspection" />
<action id="RunJsbtTask" />
<action id="RunTargetAction" />
<action id="RunToCursor" />
<action id="SafeDelete" />
<action id="SaveAll">
<keyboard-shortcut first-keystroke="meta S" />
<keyboard-shortcut first-keystroke="meta alt S" />
</action>
<action id="SelectAllOccurrences" />
<action id="SelectIn" />
<action id="SelectNextOccurrence" />
<action id="SendEOF" />
<action id="ShelveChanges.UnshelveWithDialog" />
<action id="ShowBookmarks" />
<action id="ShowContent" />
<action id="ShowErrorDescription" />
<action id="ShowExecutionPoint" />
<action id="ShowFilePath" />
<action id="ShowIntentionActions" />
<action id="ShowNavBar" />
<action id="ShowProjectStructureSettings">
<keyboard-shortcut first-keystroke="meta COMMA" />
</action>
<action id="ShowReformatFileDialog" />
<action id="ShowSettings" />
<action id="ShowSettingsAndFindUsages" />
<action id="ShowUmlDiagram" />
<action id="ShowUmlDiagramPopup" />
<action id="ShowUsages" />
<action id="SmartStepInto" />
<action id="SmartTypeCompletion" />
<action id="SplitHorizontally">
<keyboard-shortcut first-keystroke="shift meta 2" />
</action>
<action id="SplitVertically">
<keyboard-shortcut first-keystroke="shift meta alt 2" />
</action>
<action id="StepInto" />
<action id="StepOut" />
<action id="StepOver" />
<action id="Stop" />
<action id="SurroundWith" />
<action id="SurroundWithLiveTemplate" />
<action id="SwitchApply">
<keyboard-shortcut first-keystroke="control alt ENTER" />
</action>
<action id="SwitchCoverage" />
<action id="SwitchDown">
<keyboard-shortcut first-keystroke="control alt DOWN" />
</action>
<action id="SwitchLeft">
<keyboard-shortcut first-keystroke="control alt LEFT" />
</action>
<action id="SwitchRight">
<keyboard-shortcut first-keystroke="control alt RIGHT" />
</action>
<action id="SwitchUp">
<keyboard-shortcut first-keystroke="control alt UP" />
</action>
<action id="Switcher" />
<action id="Synchronize" />
<action id="TagDocumentationNavigation" />
<action id="ToggleBookmark" />
<action id="ToggleBookmark0" />
<action id="ToggleBookmark1" />
<action id="ToggleBookmark2" />
<action id="ToggleBookmark3" />
<action id="ToggleBookmark4" />
<action id="ToggleBookmark5" />
<action id="ToggleBookmark6" />
<action id="ToggleBookmark7" />
<action id="ToggleBookmark8" />
<action id="ToggleBookmark9" />
<action id="ToggleBookmarkWithMnemonic" />
<action id="ToggleCamelSnakeCase" />
<action id="ToggleFullScreen" />
<action id="ToggleLineBreakpoint" />
<action id="TogglePowerSave">
<keyboard-shortcut first-keystroke="shift meta Q" />
<keyboard-shortcut first-keystroke="meta ESCAPE" />
</action>
<action id="ToggleTemporaryLineBreakpoint" />
<action id="TypeHierarchy" />
<action id="UML.ApplyCurrentLayout" />
<action id="UML.ShowChanges" />
<action id="Uml.ShowDiff" />
<action id="UnselectPreviousOccurrence" />
<action id="Unwrap" />
<action id="UsageView.Include" />
<action id="Vcs.Push" />
<action id="Vcs.QuickListPopupAction" />
<action id="Vcs.RollbackChangedLines" />
<action id="Vcs.ShowMessageHistory" />
<action id="Vcs.UpdateProject" />
<action id="VcsHistory.ShowAllAffected" />
<action id="VcsShowNextChangeMarker" />
<action id="VcsShowPrevChangeMarker" />
<action id="ViewBreakpoints" />
<action id="ViewSource" />
<action id="WebOpenInAction" />
<action id="XPathView.Actions.Evaluate" />
<action id="XPathView.Actions.FindByExpression" />
<action id="XPathView.Actions.ShowPath" />
<action id="ZoomCurrentWindow" />
<action id="context.clear" />
<action id="javaee.UpdateRunningApplication" />
<action id="org.jetbrains.plugins.ruby.console.LoadInIrbConsoleAction" />
<action id="org.jetbrains.plugins.ruby.rails.actions.generators.GeneratorsPopupAction" />
<action id="org.jetbrains.plugins.ruby.rails.console.ReloadSources" />
<action id="org.jetbrains.plugins.ruby.tasks.rake.actions.RakeTasksPopupAction" />
<action id="osmedile.intellij.stringmanip.PopupChoiceAction" />
<action id="tasks.close" />
<action id="tasks.goto" />
<action id="tasks.open.in.browser" />
<action id="tasks.switch" />
<action id="tasks.switch.toolbar" />
</keymap>
@GRoguelon
Copy link
Author

Hi,

I will try to update this file regularly.

To setup this keymap, please copy this file into ~/Library/Preferences/IntelliJIdea14/keymaps/Sublime Text 3.xml.

Go in the keymap preferences of IntelliJ and select Sublime Text 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment