How to configure IntelliJ (also Android Studio) redo shortcut to CTRL+Y instead of CTRL+SHIFT+Z?

后端 未结 2 1886
春和景丽
春和景丽 2021-01-30 03:33

The default IntelliJ / Android Studio \"Redo\" action shortcut is CTRL+Shift+Z and this is a common problem for Windows users.

A bigger

2条回答
  •  野的像风
    2021-01-30 04:25

    1. Open Settings (press CTRL+ALT+S)

    2. Click Keymap on the left list.

    3. There is a combobox that contains keymaps. Select one of them (default means IntelliJ of course. We can't change any of pre-defined keymap however we can copy, edit and then use the edited one. So) we should copy "default" to change only redo mapping.copy default keymap

    4. Give a new name to your copied keymap.

    5. Right click on: Main Menu -> Edit -> Redo to click "Add Keyboard Shortcut"

    6. Press CTRL+Y

    7. Click OK

    8. Click "Remove" to "the shortcut is already assigned to other actions. Do you want to remove other assignments?"

    9. If you want to use any "remove line" shortcut also, then go to delete line shortcut and give to it any other shortcut (like 5th step)

    10. Click OK to close settings window.

提交回复
热议问题