Shortcut to Close Intellij File Tab
- Open
Settings
by hittingCtrl+Alt+S
- Click:
Keymap
- Search for:
Close
- Under
Main menu > Window > Editor Tabs
, findClose
. - Right-click and click
Remove Ctrl+F4
. - Right click and click
Add Keyboard Shortcut
- Add your new custom Keyboard Shortcut.
IntelliJ will tell you if the shortcut clashes with another shortcut performing a different action.
Alternatively, open/edit your Linux Window Manager Settings and remove the Ctrl+F4
mapping to allow other programs like IntelliJ to make use of it.
For PC-based keyboards, the shortcut to close tabs is CTRL + F4,
not to be confused with ALT+F4.
Current tab can be closed with:
Ctrl + F4
Works on Intellij Ultimate 2016.3