SH | Diensttagebuch

In the middle of the desert you can say anything you want

17 Nov 2021

211117-1415 Pycharm / intellij reopen closed tab + current keymap

Pycharm / intellij idea have an action called “Reopen closed tab”. Set it to <C-S-T> a la Chrome, works nicely!

There’s also a default <C-A-left> shortcut for last cursor location1 that does the same.

My current keymap looks like this:

Short Summary
<keymap version="1" name="XWin copy" parent="Default for XWin">
  <action id="ActivateCommitToolWindow">
    <keyboard-shortcut first-keystroke="shift alt 3" />
  </action>
  <action id="ActivateDebugToolWindow">
    <keyboard-shortcut first-keystroke="shift alt 2" />
  </action>
  <action id="ActivateFavoritesToolWindow" />
  <action id="ActivateFindToolWindow" />
  <action id="ActivateMessagesToolWindow" />
  <action id="ActivateProblemsViewToolWindow">
    <keyboard-shortcut first-keystroke="shift alt 4" />
  </action>
  <action id="ActivateProjectToolWindow">
    <keyboard-shortcut first-keystroke="shift alt 1" />
  </action>
  <action id="ActivateRunToolWindow" />
  <action id="ActivateServicesToolWindow" />
  <action id="ActivateStructureToolWindow" />
  <action id="ActivateTODOToolWindow">
    <keyboard-shortcut first-keystroke="shift alt 5" />
  </action>
  <action id="ActivateVersionControlToolWindow" />
  <action id="CheckinProject">
    <keyboard-shortcut first-keystroke="ctrl k" />
    <keyboard-shortcut first-keystroke="ctrl alt c" />
  </action>
  <action id="DuplicatesForm.SendToLeft" />
  <action id="DuplicatesForm.SendToRight" />
  <action id="EditorDown">
    <keyboard-shortcut first-keystroke="down" />
    <keyboard-shortcut first-keystroke="altGraph t" />
  </action>
  <action id="FileChooser.GotoHome" />
  <action id="FileChooser.GotoModule" />
  <action id="FileChooser.GotoProject" />
  <action id="FindNext">
    <keyboard-shortcut first-keystroke="f3" />
  </action>
  <action id="GotoTest" />
  <action id="IntroduceConstant" />
  <action id="MoveEditorToOppositeTabGroup">
    <keyboard-shortcut first-keystroke="ctrl alt l" />
  </action>
  <action id="NextSplitter">
    <keyboard-shortcut first-keystroke="ctrl l" />
  </action>
  <action id="PrevSplitter">
    <keyboard-shortcut first-keystroke="ctrl h" />
  </action>
  <action id="ReformatCode" />
  <action id="ReopenClosedTab">
    <keyboard-shortcut first-keystroke="shift ctrl t" />
  </action>
  <action id="ServiceView.ShowServices" />
  <action id="Switch To Last Tab">
    <keyboard-shortcut first-keystroke="alt period" />
    <keyboard-shortcut first-keystroke="alt 0" />
  </action>
  <action id="Switch To Tab #1">
    <keyboard-shortcut first-keystroke="alt 1" />
  </action>
  <action id="Switch To Tab #10">
    <keyboard-shortcut first-keystroke="alt 0" />
  </action>
  <action id="Switch To Tab #2">
    <keyboard-shortcut first-keystroke="alt 2" />
  </action>
  <action id="Switch To Tab #3">
    <keyboard-shortcut first-keystroke="alt 3" />
  </action>
  <action id="Switch To Tab #4">
    <keyboard-shortcut first-keystroke="alt 4" />
  </action>
  <action id="Switch To Tab #5">
    <keyboard-shortcut first-keystroke="alt 5" />
  </action>
  <action id="Switch To Tab #6">
    <keyboard-shortcut first-keystroke="alt 6" />
  </action>
  <action id="Switch To Tab #7">
    <keyboard-shortcut first-keystroke="alt 7" />
  </action>
  <action id="Switch To Tab #8">
    <keyboard-shortcut first-keystroke="alt 8" />
  </action>
  <action id="Switch To Tab #9">
    <keyboard-shortcut first-keystroke="alt 9" />
  </action>
  <action id="TodoViewGroupByFlattenPackage" />
  <action id="TypeHierarchy" />
  <action id="TypeHierarchyBase.BaseOnThisType" />
  <action id="Vcs.Log.FocusTextFilter" />
  <action id="Vcs.ReformatCommitMessage" />
  <action id="com.mikejhill.intellij.movetab.actions.MoveTabLeft">
    <keyboard-shortcut first-keystroke="shift ctrl page_up" />
    <keyboard-shortcut first-keystroke="ctrl comma" />
  </action>
</keymap>

  1. How to reopen the latest closed files – IDEs Support (IntelliJ Platform) | JetBrains ↩︎

Nel mezzo del deserto posso dire tutto quello che voglio.