[[Lazygit]]をv0.61.1からv0.62.1までアップデートしたので、気になるポイントを試してみた。
<div class="link-card-v2">
<div class="link-card-v2-site">
<img class="link-card-v2-site-icon" src="https://github.githubassets.com/favicons/favicon.svg" />
<span class="link-card-v2-site-name">GitHub</span>
</div>
<div class="link-card-v2-title">
Release v0.62.0 · jesseduffield/lazygit
</div>
<div class="link-card-v2-content">
The big change in this release is what I have been referring to as the "keybinding revamp": it allows you to use ...
</div>
<img class="link-card-v2-image" src="https://opengraph.githubassets.com/581e218f5cdddf7311246542f6305807e561138749638d0dd1cbf0045bbee9df/jesseduffield/lazygit/releases/tag/v0.62.0" />
<a href="https://github.com/jesseduffield/lazygit/releases/tag/v0.62.0"></a>
</div>
## 環境
| 対象 | バージョン |
| ----------- | ------- |
| [[macOS]] | 26.5 |
| [[Ghostty]] | 1.3.1 |
| [[cmux]] | 0.64.10 |
| [[Git]] | 2.54.0 |
## キーバインディングの刷新
`Ctrl+e` のような[[修飾キー]]を含むものが `<C-e>` のように大文字に対応しなくなった。小文字であれば様々な形式に対応されるようになった。
- `<ctrl+e>`
- `<ctrl-e>`
- `<c+e>`
- `<c-e>`
なお、`Shift` 単独に関しては `shift+e` ではなく引き続き `E` と書くが、`Shift + Ctrl` のような複合[[修飾キー]]だと `<shift-ctrl-e>` のように書く。
問題ある場合は起動時に以下のようなエラーが発生する。
```error
2026/05/31 11:32:02 The config at `/Users/tadashi-aikawa/Library/Application Support/lazygit/config.yml` has a validation error.
Unrecognized key '<C-e>' for custom command. For permitted values see https://github.com/jesseduffield/lazygit/blob/master/docs/keybindings/Custom_Keybindings.md
```
<div class="link-card-v2">
<div class="link-card-v2-site">
<img class="link-card-v2-site-icon" src="https://publish-01.obsidian.md/access/35d05cd1bf5cc500e11cc8ba57daaf88/favicon-64.png" />
<span class="link-card-v2-site-name">Minerva</span>
</div>
<div class="link-card-v2-title">
📝Lazygitでキーバインディング(key)の設定にCtrl+Shiftの修飾子キーが割り当てできない
</div>
<div class="link-card-v2-content">Lazygit 0.61.0で `<C-S-p>` を設定したところ、起動時に `Unrecognized key '<c-s-p>' for custom command` エラーが発生し、`<C-P>` は `Ctrl+p` としてのみ認識した。v0.62.0以上に更新し、修飾キーを `<c-s-p>` のように小文字で指定したところ、Ctrl+Shiftのキーバインドを設定できた。</div>
<img class="link-card-v2-image" src="https://publish-01.obsidian.md/access/35d05cd1bf5cc500e11cc8ba57daaf88/Notes/attachments/troubleshooting.webp" />
<a data-href="📝Lazygitでキーバインディング(key)の設定にCtrl+Shiftの修飾子キーが割り当てできない" class="internal-link"></a>
</div>
%%[[📝Lazygitでキーバインディング(key)の設定にCtrl+Shiftの修飾子キーが割り当てできない]]%%