将此放入 zshrc: `bindkey -s '^Xgc' 'git commit -m ""\C-b'` 当你输入快捷键 `ctrl + xgc` 时,你的命令行瞬间变成这样: `$ git commit -m "|"` (光标会自动放在引号内)