IDEA快捷键
代码补全 ctrl + space
代码生成 ctrl + enter
代码修正智能提示/quickfix option + enter
注释单行 command + /
注释多行 command + option + /
代码格式化 command + option + l
搜索符号 command + option + o
去掉无用import control + option + o
删除单行 command + delete
重复单行 command + d
剪切单行 command + x
拷贝单行 command + c
开启新行 shift + enter
显示接口方法实现 commmand + option + b
显示父类方法 command + u
查看类实现 command + 鼠标
返回到上次操作处 command + option + 左右方向键
重命名 shift + F6
全局文本查找 commmand + shift + F
全局类、接口、方法查找 double shift
移动一行 command + shift + 上下方向键
新建文件 command + N
surround with command + option + t
创建测试类 command + shift + t
弹窗显示、查找一个类的所有属性和方法 command + f12
find usages option + f7
跳转到指定行 command + L
显示类继承体系 control + H
step into F7
step over F8
step to next breakpoint F9
run to cursor 执行到指定行 option + F9
使用idea内置的maven:
chmod 777 /Applications/IntelliJ\ IDEA\ CE.app/Contents/plugins/maven/lib/maven3/bin/mvn
修改bash_profile:
export MAVEN_HOME=’/Applications/IntelliJ IDEA CE.app/Contents/plugins/maven/lib/maven3’
export PATH=$PATH:$MAVEN_HOME/bin
GoLand快捷键
查看类实现了哪些接口 command + U
Iterm2
https://blog.csdn.net/skyyws/article/details/78480132
删除一个单词 control + w
删除一行 control + u
Ctrl + A ,跳转到行的开头
Ctrl + E ,跳转到行尾
MacOS 快捷键
command +shift + 4 截图保存至桌面
command + shift + control + 4 截图保存至剪贴板
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
拷贝当前文件夹的路径 command + option + c
显示隐藏文件 command + shift + .
窗口切换 command + `
光标移动到行首/行尾 command + 左/右
光标向左/右移动一个单词位置 option + 左/右
删除一个单词 option + delete
删除一行,光标移动到行首 command + delete
向后删除 fn + delete
右键 control + enter
去掉白条 点击选中白条,然后按一下键盘上的esc键就行了。
没有声音:sudo killall coreaudiod
MacOS 键盘按键映射
karabiner
https://karabiner-elements.pqrs.org/
MacOS截屏
git
git checkout -b
git merge / git merge —abort
git cherry-pick
Subline Text3 + JSON
https://blog.csdn.net/alexyanglei/article/details/62039970
control+cmd+j
command + p:搜索文件
删除包含特定字符串的行:
选中该关键字—>Ctrl + CMD + G (Quick find all)—>CMD + L (Expand selection to line)—>按下Delete键删除即可
Zsh
包含bash_profile:https://blog.csdn.net/themagickeyjianan/article/details/80239710