为了达到纯键盘操作 IDEA
,我们有时需要自己定义一些常用功能的快捷键
首先需要先复制一份快捷键(打开设置,找到
keymap
)我的快捷键设置如下:
|Windows|Mac|描述|
|–|–|–|
|Alt + Z|Ctrl + Command + F|Toggle Full Screen mode|
|Alt + Y|Ctrl + Shift + T|Toolbar|
|Alt + P|Ctrl + Shift + O|Tool Buttons|
|Alt + D|Ctrl + Shift + S|Status Bar|
|Alt + N|Ctrl + Shift + N|Navigation Bar|
|Alt + R|Alt + R|Open Recent|
|Ctrl + F4|Command + W|Close|
|Alt + Home|Command + 上|Jump to Navigation Bar|
|Ctrl + Shift + A|Shift + Command + A|Find Action|
|Alt + U||Super Method|
|Alt + Shift + E|Alt + Shift + E|Event Log|
|Alt + W||Extend Selection|
|Alt + Shift + U||Update Project|
|Ctrl + Insert||Copy|
|Shift + Insert||Paste|
|Ctrl + Alt + /||Duplicate Line or Selection|
|Ctrl + Alt + Shift + E||Recent Files|
|Ctrl + Shift + S||Find|
|Alt + G||Line/Column|
|Alt + Shift + H||Replace|
|Alt + M||Scroll to Center|
|Alt + Shift + O||Open|
|Ctrl + Alt + Q||Quick Documentation|
|Shift + Delete||Cut|
|Ctrl + Shift + Z||Redo|
|Alt + [||Move Caret to Code Block Start|
|Alt + ]||Move Caret to Code Block End|
||Alt + D|Debug|
||Alt + G|Add Selecttion for Next Occurrence|
||Alt + H|Type Hierarchy|
||Alt + I|Implement Methods|
||Ctrl + Alt + M|Move Caret to Matching Brace|
||Alt + O|Override Methods|
||Ctrl + Alt + Command + R|Run|
||Ctrl + Alt + T|Refactor This|
|||VCS Operations Popup|
|Alt + A||Select All|
||Alt + P|Show editor and preview|
||Alt + E|Show eidtor only|
|Alt + 左|Ctrl + Command + 左|Select Previous Tab|
|Alt + 右|Ctrl + Commnad + 右|Select Next Tab|自定义快捷键,真心不好设置啊,好多都被占用了,唉……
先写到这里吧,以后再补充……