void () { myConfigureTerminalKeybindingsActionLink = new ActionLink("", e -> { Settings settings = DataManager.getInstance().getDataContext((ActionLink)e.getSource()).getData(Settings.KEY); if (settings != null) { Configurable configurable = settings.find("preferences.keymap"); settings.select(configurable, "Terminal").doWhenDone(() -> { // Remove once https://youtrack.jetbrains.com/issue/IDEA-212247 is fixed EdtExecutorService.getScheduledExecutorInstance().schedule(() -> { settings.select(configurable, "Terminal"); }, 100, TimeUnit.MILLISECONDS); }); } }); UIUtil.applyStyle(UIUtil.ComponentStyle.SMALL, myConfigureTerminalKeybindingsActionLink); myCursorShape = new ComboBox<>(TerminalUiSettingsManager.CursorShape.values()); myCursorShape.setRenderer(SimpleListCellRenderer.create((label, value, index) -> { label.setText(value.getText()); })); myShellPathField = createShellPath(); }