From 3eed99716105481dffddc9a74db0d444a9c469a2 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sun, 21 May 2023 11:13:02 +1000 Subject: [PATCH] Update cheatsheet Now that we're using the angle-bracket syntax everywhere for consistency, we need to escape the angle brackets in the markdown of the cheatsheets. --- docs/keybindings/Keybindings_en.md | 146 +++++++++++++++-------------- docs/keybindings/Keybindings_ja.md | 146 +++++++++++++++-------------- docs/keybindings/Keybindings_ko.md | 146 +++++++++++++++-------------- docs/keybindings/Keybindings_nl.md | 146 +++++++++++++++-------------- docs/keybindings/Keybindings_pl.md | 146 +++++++++++++++-------------- docs/keybindings/Keybindings_zh.md | 146 +++++++++++++++-------------- pkg/cheatsheet/generate.go | 25 +++-- pkg/i18n/english.go | 2 + 8 files changed, 464 insertions(+), 439 deletions(-) diff --git a/docs/keybindings/Keybindings_en.md b/docs/keybindings/Keybindings_en.md index feb188b28..8e48afcba 100644 --- a/docs/keybindings/Keybindings_en.md +++ b/docs/keybindings/Keybindings_en.md @@ -2,28 +2,30 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct # Lazygit Keybindings +_Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ + ## Global Keybindings
-  ctrl+r: switch to a recent repo
-  pgup: scroll up main panel (fn+up/shift+k)
-  pgdown: scroll down main panel (fn+down/shift+j)
+  <c-r>: switch to a recent repo
+  <pgup>: scroll up main panel (fn+up/shift+k)
+  <pgdown>: scroll down main panel (fn+down/shift+j)
   @: open command log menu
   }: Increase the size of the context shown around changes in the diff view
   {: Decrease the size of the context shown around changes in the diff view
   :: execute custom command
-  ctrl+p: view custom patch options
+  <c-p>: view custom patch options
   m: view merge/rebase options
   R: refresh
   +: next screen mode (normal/half/fullscreen)
   _: prev screen mode
   ?: open menu
-  ctrl+s: view filter-by-path options
+  <c-s>: view filter-by-path options
   W: open diff menu
-  ctrl+e: open diff menu
-  ctrl+w: Toggle whether or not whitespace changes are shown in the diff view
+  <c-e>: open diff menu
+  <c-w>: Toggle whether or not whitespace changes are shown in the diff view
   z: undo (via reflog) (experimental)
-  ctrl+z: redo (via reflog) (experimental)
+  <c-z>: redo (via reflog) (experimental)
   P: push
   p: pull
 
@@ -33,9 +35,9 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   ,: previous page
   .: next page
-  <: scroll to top
+  <: scroll to top
   /: start search
-  >: scroll to bottom
+  >: scroll to bottom
   H: scroll left
   L: scroll right
   ]: next tab
@@ -45,29 +47,29 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## Commit Files
 
 
-  ctrl+o: copy the committed file name to the clipboard
+  <c-o>: copy the committed file name to the clipboard
   c: checkout file
   d: discard this commit's changes to this file
   o: open file
   e: edit file
-  space: toggle file included in patch
+  <space>: toggle file included in patch
   a: toggle all files included in patch
-  enter: enter file to add selected lines to the patch (or toggle directory collapsed)
+  <enter>: enter file to add selected lines to the patch (or toggle directory collapsed)
   `: toggle file tree view
 
## Commit Summary
-  enter: confirm
-  esc: close
+  <enter>: confirm
+  <esc>: close
 
## Commits
-  ctrl+o: copy commit SHA to clipboard
-  ctrl+r: reset cherry-picked (copied) commits selection
+  <c-o>: copy commit SHA to clipboard
+  <c-r>: reset cherry-picked (copied) commits selection
   b: view bisect options
   s: squash down
   f: fixup commit
@@ -78,38 +80,38 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   p: pick commit (when mid-rebase)
   F: create fixup commit for this commit
   S: squash all 'fixup!' commits above selected commit (autosquash)
-  ctrl+j: move commit down one
-  ctrl+k: move commit up one
+  <c-j>: move commit down one
+  <c-k>: move commit up one
   v: paste commits (cherry-pick)
   A: amend commit with staged changes
   a: reset commit author
   t: revert commit
   T: tag commit
-  ctrl+l: open log menu
-  space: checkout commit
+  <c-l>: open log menu
+  <space>: checkout commit
   y: copy commit attribute
   o: open commit in browser
   n: create new branch off of commit
   g: view reset options
   c: copy commit (cherry-pick)
   C: copy commit range (cherry-pick)
-  enter: view selected item's files
+  <enter>: view selected item's files
 
## Confirmation Panel
-  enter: confirm
-  esc: close/cancel
+  <enter>: confirm
+  <esc>: close/cancel
 
## Files
-  ctrl+o: copy the file name to the clipboard
+  <c-o>: copy the file name to the clipboard
   d: view 'discard changes' options
-  space: toggle staged
-  ctrl+b: Filter files (staged/unstaged)
+  <space>: toggle staged
+  <c-b>: Filter files (staged/unstaged)
   c: commit changes
   w: commit changes without pre-commit hook
   A: amend last commit
@@ -121,7 +123,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   s: stash all changes
   S: view stash options
   a: stage/unstage all
-  enter: stage individual hunks/lines for file, or collapse/expand for directory
+  <enter>: stage individual hunks/lines for file, or collapse/expand for directory
   g: view upstream reset options
   D: view reset options
   `: toggle file tree view
@@ -132,13 +134,13 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## Local Branches
 
 
-  ctrl+o: copy branch name to clipboard
+  <c-o>: copy branch name to clipboard
   i: show git-flow options
-  space: checkout
+  <space>: checkout
   n: new branch
   o: create pull request
   O: create pull request options
-  ctrl+y: copy pull request URL to clipboard
+  <c-y>: copy pull request URL to clipboard
   c: checkout by name
   F: force checkout
   d: delete branch
@@ -149,7 +151,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   g: view reset options
   R: rename branch
   u: set/unset upstream
-  enter: view commits
+  <enter>: view commits
 
## Main Panel (Merging) @@ -157,53 +159,53 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   e: edit file
   o: open file
-  : select previous conflict
-  : select next conflict
-  : select previous hunk
-  : select next hunk
+  <left>: select previous conflict
+  <right>: select next conflict
+  <up>: select previous hunk
+  <down>: select next hunk
   z: undo
   M: open external merge tool (git mergetool)
-  space: pick hunk
+  <space>: pick hunk
   b: pick all hunks
-  esc: return to files panel
+  <esc>: return to files panel
 
## Main Panel (Normal)
-  mouse wheel ▼: scroll down (fn+up)
-  mouse wheel ▲: scroll up (fn+down)
+  mouse wheel down: scroll down (fn+up)
+  mouse wheel up: scroll up (fn+down)
 
## Main Panel (Patch Building)
-  : select previous hunk
-  : select next hunk
+  <left>: select previous hunk
+  <right>: select next hunk
   v: toggle drag select
   V: toggle drag select
   a: toggle select hunk
-  ctrl+o: copy the selected text to the clipboard
+  <c-o>: copy the selected text to the clipboard
   o: open file
   e: edit file
-  space: add/remove line(s) to patch
-  esc: exit custom patch builder
+  <space>: add/remove line(s) to patch
+  <esc>: exit custom patch builder
 
## Main Panel (Staging)
-  : select previous hunk
-  : select next hunk
+  <left>: select previous hunk
+  <right>: select next hunk
   v: toggle drag select
   V: toggle drag select
   a: toggle select hunk
-  ctrl+o: copy the selected text to the clipboard
+  <c-o>: copy the selected text to the clipboard
   o: open file
   e: edit file
-  esc: return to files panel
-  tab: switch to other panel (staged/unstaged changes)
-  space: toggle line staged / unstaged
+  <esc>: return to files panel
+  <tab>: switch to other panel (staged/unstaged changes)
+  <space>: toggle line staged / unstaged
   d: delete change (git reset)
   E: edit hunk
   c: commit changes
@@ -214,38 +216,38 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## Menu
 
 
-  enter: execute
-  esc: close
+  <enter>: execute
+  <esc>: close
 
## Reflog
-  ctrl+o: copy commit SHA to clipboard
-  space: checkout commit
+  <c-o>: copy commit SHA to clipboard
+  <space>: checkout commit
   y: copy commit attribute
   o: open commit in browser
   n: create new branch off of commit
   g: view reset options
   c: copy commit (cherry-pick)
   C: copy commit range (cherry-pick)
-  ctrl+r: reset cherry-picked (copied) commits selection
-  enter: view commits
+  <c-r>: reset cherry-picked (copied) commits selection
+  <enter>: view commits
 
## Remote Branches
-  ctrl+o: copy branch name to clipboard
-  space: checkout
+  <c-o>: copy branch name to clipboard
+  <space>: checkout
   n: new branch
   M: merge into currently checked out branch
   r: rebase checked-out branch onto this branch
   d: delete branch
   u: set as upstream of checked-out branch
-  esc: Return to remotes list
+  <esc>: Return to remotes list
   g: view reset options
-  enter: view commits
+  <enter>: view commits
 
## Remotes @@ -260,12 +262,12 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct ## Stash
-  space: apply
+  <space>: apply
   g: pop
   d: drop
   n: new branch
   r: rename stash
-  enter: view selected item's files
+  <enter>: view selected item's files
 
## Status @@ -274,30 +276,30 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct o: open config file e: edit config file u: check for update - enter: switch to a recent repo + <enter>: switch to a recent repo a: show all branch logs
## Sub-commits
-  ctrl+o: copy commit SHA to clipboard
-  space: checkout commit
+  <c-o>: copy commit SHA to clipboard
+  <space>: checkout commit
   y: copy commit attribute
   o: open commit in browser
   n: create new branch off of commit
   g: view reset options
   c: copy commit (cherry-pick)
   C: copy commit range (cherry-pick)
-  ctrl+r: reset cherry-picked (copied) commits selection
-  enter: view selected item's files
+  <c-r>: reset cherry-picked (copied) commits selection
+  <enter>: view selected item's files
 
## Submodules
-  ctrl+o: copy submodule name to clipboard
-  enter: enter submodule
+  <c-o>: copy submodule name to clipboard
+  <enter>: enter submodule
   d: remove submodule
   u: update submodule
   n: add new submodule
@@ -309,10 +311,10 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## Tags
 
 
-  space: checkout
+  <space>: checkout
   d: delete tag
   P: push tag
   n: create tag
   g: view reset options
-  enter: view commits
+  <enter>: view commits
 
diff --git a/docs/keybindings/Keybindings_ja.md b/docs/keybindings/Keybindings_ja.md index 69aa0d4e7..80430a69d 100644 --- a/docs/keybindings/Keybindings_ja.md +++ b/docs/keybindings/Keybindings_ja.md @@ -2,28 +2,30 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct # Lazygit キーバインド +_Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ + ## グローバルキーバインド
-  ctrl+r: 最近使用したリポジトリに切り替え
-  pgup: メインパネルを上にスクロール (fn+up/shift+k)
-  pgdown: メインパネルを下にスクロール (fn+down/shift+j)
+  <c-r>: 最近使用したリポジトリに切り替え
+  <pgup>: メインパネルを上にスクロール (fn+up/shift+k)
+  <pgdown>: メインパネルを下にスクロール (fn+down/shift+j)
   @: コマンドログメニューを開く
   }: Increase the size of the context shown around changes in the diff view
   {: Decrease the size of the context shown around changes in the diff view
   :: カスタムコマンドを実行
-  ctrl+p: view custom patch options
+  <c-p>: view custom patch options
   m: view merge/rebase options
   R: リフレッシュ
   +: 次のスクリーンモード (normal/half/fullscreen)
   _: 前のスクリーンモード
   ?: メニューを開く
-  ctrl+s: view filter-by-path options
+  <c-s>: view filter-by-path options
   W: 差分メニューを開く
-  ctrl+e: 差分メニューを開く
-  ctrl+w: 空白文字の差分の表示有無を切り替え
+  <c-e>: 差分メニューを開く
+  <c-w>: 空白文字の差分の表示有無を切り替え
   z: アンドゥ (via reflog) (experimental)
-  ctrl+z: リドゥ (via reflog) (experimental)
+  <c-z>: リドゥ (via reflog) (experimental)
   P: push
   p: pull
 
@@ -33,9 +35,9 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   ,: 前のページ
   .: 次のページ
-  <: 最上部までスクロール
+  <: 最上部までスクロール
   /: 検索を開始
-  >: 最下部までスクロール
+  >: 最下部までスクロール
   H: 左スクロール
   L: 右スクロール
   ]: 次のタブ
@@ -45,34 +47,34 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## Stash
 
 
-  space: 適用
+  <space>: 適用
   g: pop
   d: drop
   n: 新しいブランチを作成
   r: Stashを変更
-  enter: view selected item's files
+  <enter>: view selected item's files
 
## Sub-commits
-  ctrl+o: コミットのSHAをクリップボードにコピー
-  space: コミットをチェックアウト
+  <c-o>: コミットのSHAをクリップボードにコピー
+  <space>: コミットをチェックアウト
   y: コミットの情報をコピー
   o: ブラウザでコミットを開く
   n: コミットにブランチを作成
   g: view reset options
   c: コミットをコピー (cherry-pick)
   C: コミットを範囲コピー (cherry-pick)
-  ctrl+r: reset cherry-picked (copied) commits selection
-  enter: view selected item's files
+  <c-r>: reset cherry-picked (copied) commits selection
+  <enter>: view selected item's files
 
## コミット
-  ctrl+o: コミットのSHAをクリップボードにコピー
-  ctrl+r: reset cherry-picked (copied) commits selection
+  <c-o>: コミットのSHAをクリップボードにコピー
+  <c-r>: reset cherry-picked (copied) commits selection
   b: view bisect options
   s: squash down
   f: fixup commit
@@ -83,50 +85,50 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   p: pick commit (when mid-rebase)
   F: このコミットに対するfixupコミットを作成
   S: squash all 'fixup!' commits above selected commit (autosquash)
-  ctrl+j: コミットを1つ下に移動
-  ctrl+k: コミットを1つ上に移動
+  <c-j>: コミットを1つ下に移動
+  <c-k>: コミットを1つ上に移動
   v: コミットを貼り付け (cherry-pick)
   A: ステージされた変更でamendコミット
   a: reset commit author
   t: コミットをrevert
   T: タグを作成
-  ctrl+l: ログメニューを開く
-  space: コミットをチェックアウト
+  <c-l>: ログメニューを開く
+  <space>: コミットをチェックアウト
   y: コミットの情報をコピー
   o: ブラウザでコミットを開く
   n: コミットにブランチを作成
   g: view reset options
   c: コミットをコピー (cherry-pick)
   C: コミットを範囲コピー (cherry-pick)
-  enter: view selected item's files
+  <enter>: view selected item's files
 
## コミットファイル
-  ctrl+o: コミットされたファイル名をクリップボードにコピー
+  <c-o>: コミットされたファイル名をクリップボードにコピー
   c: checkout file
   d: discard this commit's changes to this file
   o: ファイルを開く
   e: ファイルを編集
-  space: toggle file included in patch
+  <space>: toggle file included in patch
   a: toggle all files included in patch
-  enter: enter file to add selected lines to the patch (or toggle directory collapsed)
+  <enter>: enter file to add selected lines to the patch (or toggle directory collapsed)
   `: ファイルツリーの表示を切り替え
 
## コミットメッセージ
-  enter: 確認
-  esc: 閉じる
+  <enter>: 確認
+  <esc>: 閉じる
 
## サブモジュール
-  ctrl+o: サブモジュール名をクリップボードにコピー
-  enter: サブモジュールを開く
+  <c-o>: サブモジュール名をクリップボードにコピー
+  <enter>: サブモジュールを開く
   d: サブモジュールを削除
   u: サブモジュールを更新
   n: サブモジュールを新規追加
@@ -141,28 +143,28 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   o: 設定ファイルを開く
   e: 設定ファイルを編集
   u: 更新を確認
-  enter: 最近使用したリポジトリに切り替え
+  <enter>: 最近使用したリポジトリに切り替え
   a: すべてのブランチログを表示
 
## タグ
-  space: チェックアウト
+  <space>: チェックアウト
   d: タグを削除
   P: タグをpush
   n: タグを作成
   g: view reset options
-  enter: コミットを閲覧
+  <enter>: コミットを閲覧
 
## ファイル
-  ctrl+o: ファイル名をクリップボードにコピー
+  <c-o>: ファイル名をクリップボードにコピー
   d: view 'discard changes' options
-  space: ステージ/アンステージ
-  ctrl+b: ファイルをフィルタ (ステージ/アンステージ)
+  <space>: ステージ/アンステージ
+  <c-b>: ファイルをフィルタ (ステージ/アンステージ)
   c: 変更をコミット
   w: pre-commitフックを実行せずに変更をコミット
   A: 最新のコミットにamend
@@ -174,7 +176,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   s: 変更をstash
   S: view stash options
   a: すべての変更をステージ/アンステージ
-  enter: stage individual hunks/lines for file, or collapse/expand for directory
+  <enter>: stage individual hunks/lines for file, or collapse/expand for directory
   g: view upstream reset options
   D: view reset options
   `: ファイルツリーの表示を切り替え
@@ -185,13 +187,13 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## ブランチ
 
 
-  ctrl+o: ブランチ名をクリップボードにコピー
+  <c-o>: ブランチ名をクリップボードにコピー
   i: show git-flow options
-  space: チェックアウト
+  <space>: チェックアウト
   n: 新しいブランチを作成
   o: Pull Requestを作成
   O: create pull request options
-  ctrl+y: Pull RequestのURLをクリップボードにコピー
+  <c-y>: Pull RequestのURLをクリップボードにコピー
   c: checkout by name
   F: force checkout
   d: ブランチを削除
@@ -202,7 +204,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   g: view reset options
   R: ブランチ名を変更
   u: set/unset upstream
-  enter: コミットを閲覧
+  <enter>: コミットを閲覧
 
## メインパネル (Merging) @@ -210,53 +212,53 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   e: ファイルを編集
   o: ファイルを開く
-  : 前のコンフリクトを選択
-  : 次のコンフリクトを選択
-  : 前のhunkを選択
-  : 次のhunkを選択
+  <left>: 前のコンフリクトを選択
+  <right>: 次のコンフリクトを選択
+  <up>: 前のhunkを選択
+  <down>: 次のhunkを選択
   z: アンドゥ
   M: git mergetoolを開く
-  space: pick hunk
+  <space>: pick hunk
   b: pick all hunks
-  esc: ファイル一覧に戻る
+  <esc>: ファイル一覧に戻る
 
## メインパネル (Normal)
-  mouse wheel ▼: 下にスクロール (fn+up)
-  mouse wheel ▲: 上にスクロール (fn+down)
+  mouse wheel down: 下にスクロール (fn+up)
+  mouse wheel up: 上にスクロール (fn+down)
 
## メインパネル (Patch Building)
-  : 前のhunkを選択
-  : 次のhunkを選択
+  <left>: 前のhunkを選択
+  <right>: 次のhunkを選択
   v: 範囲選択を切り替え
   V: 範囲選択を切り替え
   a: hunk選択を切り替え
-  ctrl+o: 選択されたテキストをクリップボードにコピー
+  <c-o>: 選択されたテキストをクリップボードにコピー
   o: ファイルを開く
   e: ファイルを編集
-  space: 行をパッチに追加/削除
-  esc: exit custom patch builder
+  <space>: 行をパッチに追加/削除
+  <esc>: exit custom patch builder
 
## メインパネル (Staging)
-  : 前のhunkを選択
-  : 次のhunkを選択
+  <left>: 前のhunkを選択
+  <right>: 次のhunkを選択
   v: 範囲選択を切り替え
   V: 範囲選択を切り替え
   a: hunk選択を切り替え
-  ctrl+o: 選択されたテキストをクリップボードにコピー
+  <c-o>: 選択されたテキストをクリップボードにコピー
   o: ファイルを開く
   e: ファイルを編集
-  esc: ファイル一覧に戻る
-  tab: パネルを切り替え
-  space: 選択行をステージ/アンステージ
+  <esc>: ファイル一覧に戻る
+  <tab>: パネルを切り替え
+  <space>: 選択行をステージ/アンステージ
   d: 変更を削除 (git reset)
   E: edit hunk
   c: 変更をコミット
@@ -267,8 +269,8 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## メニュー
 
 
-  enter: 実行
-  esc: 閉じる
+  <enter>: 実行
+  <esc>: 閉じる
 
## リモート @@ -283,36 +285,36 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct ## リモートブランチ
-  ctrl+o: ブランチ名をクリップボードにコピー
-  space: チェックアウト
+  <c-o>: ブランチ名をクリップボードにコピー
+  <space>: チェックアウト
   n: 新しいブランチを作成
   M: 現在のブランチにマージ
   r: rebase checked-out branch onto this branch
   d: ブランチを削除
   u: set as upstream of checked-out branch
-  esc: リモート一覧に戻る
+  <esc>: リモート一覧に戻る
   g: view reset options
-  enter: コミットを閲覧
+  <enter>: コミットを閲覧
 
## 参照ログ
-  ctrl+o: コミットのSHAをクリップボードにコピー
-  space: コミットをチェックアウト
+  <c-o>: コミットのSHAをクリップボードにコピー
+  <space>: コミットをチェックアウト
   y: コミットの情報をコピー
   o: ブラウザでコミットを開く
   n: コミットにブランチを作成
   g: view reset options
   c: コミットをコピー (cherry-pick)
   C: コミットを範囲コピー (cherry-pick)
-  ctrl+r: reset cherry-picked (copied) commits selection
-  enter: コミットを閲覧
+  <c-r>: reset cherry-picked (copied) commits selection
+  <enter>: コミットを閲覧
 
## 確認パネル
-  enter: 確認
-  esc: 閉じる/キャンセル
+  <enter>: 確認
+  <esc>: 閉じる/キャンセル
 
diff --git a/docs/keybindings/Keybindings_ko.md b/docs/keybindings/Keybindings_ko.md index d8b5bf1fd..ab76feb80 100644 --- a/docs/keybindings/Keybindings_ko.md +++ b/docs/keybindings/Keybindings_ko.md @@ -2,28 +2,30 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct # Lazygit 키 바인딩 +_Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ + ## 글로벌 키 바인딩
-  ctrl+r: 최근에 사용한 저장소로 전환
-  pgup: 메인 패널을 위로 스크롤 (fn+up/shift+k)
-  pgdown: 메인 패널을 아래로로 스크롤 (fn+down/shift+j)
+  <c-r>: 최근에 사용한 저장소로 전환
+  <pgup>: 메인 패널을 위로 스크롤 (fn+up/shift+k)
+  <pgdown>: 메인 패널을 아래로로 스크롤 (fn+down/shift+j)
   @: 명령어 로그 메뉴 열기
   }: diff 보기의 변경 사항 주위에 표시되는 컨텍스트의 크기를 늘리기
   {: diff 보기의 변경 사항 주위에 표시되는 컨텍스트 크기 줄이기
   :: execute custom command
-  ctrl+p: 커스텀 Patch 옵션 보기
+  <c-p>: 커스텀 Patch 옵션 보기
   m: view merge/rebase options
   R: 새로고침
   +: 다음 스크린 모드 (normal/half/fullscreen)
   _: 이전 스크린 모드
   ?: 매뉴 열기
-  ctrl+s: view filter-by-path options
+  <c-s>: view filter-by-path options
   W: Diff 메뉴 열기
-  ctrl+e: Diff 메뉴 열기
-  ctrl+w: 공백문자를 Diff 뷰에서 표시 여부 전환
+  <c-e>: Diff 메뉴 열기
+  <c-w>: 공백문자를 Diff 뷰에서 표시 여부 전환
   z: 되돌리기 (reflog) (실험적)
-  ctrl+z: 다시 실행 (reflog) (실험적)
+  <c-z>: 다시 실행 (reflog) (실험적)
   P: 푸시
   p: 업데이트
 
@@ -33,9 +35,9 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   ,: 이전 페이지
   .: 다음 페이지
-  <: 맨 위로 스크롤 
+  <: 맨 위로 스크롤 
   /: 검색 시작
-  >: 맨 아래로 스크롤 
+  >: 맨 아래로 스크롤 
   H: 우 스크롤
   L: 좌 스크롤
   ]: 이전 탭
@@ -45,49 +47,49 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## Reflog
 
 
-  ctrl+o: 커밋 SHA를 클립보드에 복사
-  space: 커밋을 체크아웃
+  <c-o>: 커밋 SHA를 클립보드에 복사
+  <space>: 커밋을 체크아웃
   y: 커밋 attribute 복사
   o: 브라우저에서 커밋 열기
   n: 커밋에서 새 브랜치를 만듭니다.
   g: view reset options
   c: 커밋을 복사 (cherry-pick)
   C: 커밋을 범위로 복사 (cherry-pick)
-  ctrl+r: reset cherry-picked (copied) commits selection
-  enter: 커밋 보기
+  <c-r>: reset cherry-picked (copied) commits selection
+  <enter>: 커밋 보기
 
## Stash
-  space: 적용
+  <space>: 적용
   g: pop
   d: drop
   n: 새 브랜치 생성
   r: rename stash
-  enter: view selected item's files
+  <enter>: view selected item's files
 
## Sub-commits
-  ctrl+o: 커밋 SHA를 클립보드에 복사
-  space: 커밋을 체크아웃
+  <c-o>: 커밋 SHA를 클립보드에 복사
+  <space>: 커밋을 체크아웃
   y: 커밋 attribute 복사
   o: 브라우저에서 커밋 열기
   n: 커밋에서 새 브랜치를 만듭니다.
   g: view reset options
   c: 커밋을 복사 (cherry-pick)
   C: 커밋을 범위로 복사 (cherry-pick)
-  ctrl+r: reset cherry-picked (copied) commits selection
-  enter: view selected item's files
+  <c-r>: reset cherry-picked (copied) commits selection
+  <enter>: view selected item's files
 
## 메뉴
-  enter: 실행
-  esc: 닫기
+  <enter>: 실행
+  <esc>: 닫기
 
## 메인 패널 (Merging) @@ -95,53 +97,53 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   e: 파일 편집
   o: 파일 닫기
-  : 이전 충돌을 선택
-  : 다음 충돌을 선택
-  : 이전 hunk를 선택
-  : 다음 hunk를 선택
+  <left>: 이전 충돌을 선택
+  <right>: 다음 충돌을 선택
+  <up>: 이전 hunk를 선택
+  <down>: 다음 hunk를 선택
   z: 되돌리기
   M: git mergetool를 열기
-  space: pick hunk
+  <space>: pick hunk
   b: pick all hunks
-  esc: 파일 목록으로 돌아가기
+  <esc>: 파일 목록으로 돌아가기
 
## 메인 패널 (Normal)
-  mouse wheel ▼: 아래로 스크롤 (fn+up)
-  mouse wheel ▲: 위로 스크롤 (fn+down)
+  mouse wheel down: 아래로 스크롤 (fn+up)
+  mouse wheel up: 위로 스크롤 (fn+down)
 
## 메인 패널 (Patch Building)
-  : 이전 hunk를 선택
-  : 다음 hunk를 선택
+  <left>: 이전 hunk를 선택
+  <right>: 다음 hunk를 선택
   v: 드래그 선택 전환
   V: 드래그 선택 전환
   a: toggle select hunk
-  ctrl+o: 선택한 텍스트를 클립보드에 복사
+  <c-o>: 선택한 텍스트를 클립보드에 복사
   o: 파일 닫기
   e: 파일 편집
-  space: line(s)을 패치에 추가/삭제
-  esc: exit custom patch builder
+  <space>: line(s)을 패치에 추가/삭제
+  <esc>: exit custom patch builder
 
## 메인 패널 (Staging)
-  : 이전 hunk를 선택
-  : 다음 hunk를 선택
+  <left>: 이전 hunk를 선택
+  <right>: 다음 hunk를 선택
   v: 드래그 선택 전환
   V: 드래그 선택 전환
   a: toggle select hunk
-  ctrl+o: 선택한 텍스트를 클립보드에 복사
+  <c-o>: 선택한 텍스트를 클립보드에 복사
   o: 파일 닫기
   e: 파일 편집
-  esc: 파일 목록으로 돌아가기
-  tab: 패널 전환
-  space: 선택한 행을 staged / unstaged
+  <esc>: 파일 목록으로 돌아가기
+  <tab>: 패널 전환
+  <space>: 선택한 행을 staged / unstaged
   d: 변경을 삭제 (git reset)
   E: edit hunk
   c: 커밋 변경내용
@@ -152,13 +154,13 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## 브랜치
 
 
-  ctrl+o: 브랜치명을 클립보드에 복사
+  <c-o>: 브랜치명을 클립보드에 복사
   i: git-flow 옵션 보기
-  space: 체크아웃
+  <space>: 체크아웃
   n: 새 브랜치 생성
   o: 풀 리퀘스트 생성
   O: 풀 리퀘스트 생성 옵션
-  ctrl+y: 풀 리퀘스트 URL을 클립보드에 복사
+  <c-y>: 풀 리퀘스트 URL을 클립보드에 복사
   c: 이름으로 체크아웃
   F: 강제 체크아웃
   d: 브랜치 삭제
@@ -169,7 +171,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   g: view reset options
   R: 브랜치 이름 변경
   u: set/unset upstream
-  enter: 커밋 보기
+  <enter>: 커밋 보기
 
## 상태 @@ -178,15 +180,15 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct o: 설정 파일 열기 e: 설정 파일 수정 u: 업데이트 확인 - enter: 최근에 사용한 저장소로 전환 + <enter>: 최근에 사용한 저장소로 전환 a: 모든 브랜치 로그 표시
## 서브모듈
-  ctrl+o: 서브모듈 이름을 클립보드에 복사
-  enter: 서브모듈 열기
+  <c-o>: 서브모듈 이름을 클립보드에 복사
+  <enter>: 서브모듈 열기
   d: 서브모듈 삭제
   u: 서브모듈 업데이트
   n: 새로운 서브모듈 추가
@@ -207,23 +209,23 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## 원격 브랜치
 
 
-  ctrl+o: 브랜치명을 클립보드에 복사
-  space: 체크아웃
+  <c-o>: 브랜치명을 클립보드에 복사
+  <space>: 체크아웃
   n: 새 브랜치 생성
   M: 현재 브랜치에 병합
   r: 체크아웃된 브랜치를 이 브랜치에 리베이스
   d: 브랜치 삭제
   u: set as upstream of checked-out branch
-  esc: 원격목록으로 돌아가기
+  <esc>: 원격목록으로 돌아가기
   g: view reset options
-  enter: 커밋 보기
+  <enter>: 커밋 보기
 
## 커밋
-  ctrl+o: 커밋 SHA를 클립보드에 복사
-  ctrl+r: reset cherry-picked (copied) commits selection
+  <c-o>: 커밋 SHA를 클립보드에 복사
+  <c-r>: reset cherry-picked (copied) commits selection
   b: bisect 옵션 보기
   s: squash down
   f: fixup commit
@@ -234,63 +236,63 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   p: pick commit (when mid-rebase)
   F: create fixup commit for this commit
   S: squash all 'fixup!' commits above selected commit (autosquash)
-  ctrl+j: 커밋을 1개 아래로 이동
-  ctrl+k: 커밋을 1개 위로 이동
+  <c-j>: 커밋을 1개 아래로 이동
+  <c-k>: 커밋을 1개 위로 이동
   v: 커밋을 붙여넣기 (cherry-pick)
   A: amend commit with staged changes
   a: reset commit author
   t: 커밋 되돌리기
   T: tag commit
-  ctrl+l: 로그 메뉴 열기
-  space: 커밋을 체크아웃
+  <c-l>: 로그 메뉴 열기
+  <space>: 커밋을 체크아웃
   y: 커밋 attribute 복사
   o: 브라우저에서 커밋 열기
   n: 커밋에서 새 브랜치를 만듭니다.
   g: view reset options
   c: 커밋을 복사 (cherry-pick)
   C: 커밋을 범위로 복사 (cherry-pick)
-  enter: view selected item's files
+  <enter>: view selected item's files
 
## 커밋 파일
-  ctrl+o: 커밋한 파일명을 클립보드에 복사
+  <c-o>: 커밋한 파일명을 클립보드에 복사
   c: checkout file
   d: discard this commit's changes to this file
   o: 파일 닫기
   e: 파일 편집
-  space: toggle file included in patch
+  <space>: toggle file included in patch
   a: toggle all files included in patch
-  enter: enter file to add selected lines to the patch (or toggle directory collapsed)
+  <enter>: enter file to add selected lines to the patch (or toggle directory collapsed)
   `: 파일 트리뷰로 전환
 
## 커밋메시지
-  enter: 확인
-  esc: 닫기
+  <enter>: 확인
+  <esc>: 닫기
 
## 태그
-  space: 체크아웃
+  <space>: 체크아웃
   d: 태그 삭제
   P: 태그를 push
   n: 태그를 생성
   g: view reset options
-  enter: 커밋 보기
+  <enter>: 커밋 보기
 
## 파일
-  ctrl+o: 파일명을 클립보드에 복사
+  <c-o>: 파일명을 클립보드에 복사
   d: view 'discard changes' options
-  space: Staged 전환
-  ctrl+b: 파일을 필터하기 (Staged/unstaged)
+  <space>: Staged 전환
+  <c-b>: 파일을 필터하기 (Staged/unstaged)
   c: 커밋 변경내용
   w: commit changes without pre-commit hook
   A: 마지맛 커밋 수정
@@ -302,7 +304,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   s: 변경사항을 Stash
   S: Stash 옵션 보기
   a: 모든 변경을 Staged/unstaged으로 전환
-  enter: stage individual hunks/lines for file, or collapse/expand for directory
+  <enter>: stage individual hunks/lines for file, or collapse/expand for directory
   g: view upstream reset options
   D: view reset options
   `: 파일 트리뷰로 전환
@@ -313,6 +315,6 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## 확인 패널
 
 
-  enter: 확인
-  esc: 닫기/취소
+  <enter>: 확인
+  <esc>: 닫기/취소
 
diff --git a/docs/keybindings/Keybindings_nl.md b/docs/keybindings/Keybindings_nl.md index 4cfd7d809..aa9847b79 100644 --- a/docs/keybindings/Keybindings_nl.md +++ b/docs/keybindings/Keybindings_nl.md @@ -2,28 +2,30 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct # Lazygit Sneltoetsen +_Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ + ## Globale Sneltoetsen
-  ctrl+r: wissel naar een recente repo
-  pgup: scroll naar beneden vanaf hoofdpaneel (fn+up/shift+k)
-  pgdown: scroll naar beneden vanaf hoofdpaneel (fn+down/shift+j)
+  <c-r>: wissel naar een recente repo
+  <pgup>: scroll naar beneden vanaf hoofdpaneel (fn+up/shift+k)
+  <pgdown>: scroll naar beneden vanaf hoofdpaneel (fn+down/shift+j)
   @: open command log menu
   }: Increase the size of the context shown around changes in the diff view
   {: Decrease the size of the context shown around changes in the diff view
   :: voer aangepaste commando uit
-  ctrl+p: bekijk aangepaste patch opties
+  <c-p>: bekijk aangepaste patch opties
   m: bekijk merge/rebase opties
   R: verversen
   +: volgende scherm modus (normaal/half/groot)
   _: vorige scherm modus
   ?: open menu
-  ctrl+s: bekijk scoping opties
+  <c-s>: bekijk scoping opties
   W: open diff menu
-  ctrl+e: open diff menu
-  ctrl+w: Toggle whether or not whitespace changes are shown in the diff view
+  <c-e>: open diff menu
+  <c-w>: Toggle whether or not whitespace changes are shown in the diff view
   z: ongedaan maken (via reflog) (experimenteel)
-  ctrl+z: redo (via reflog) (experimenteel)
+  <c-z>: redo (via reflog) (experimenteel)
   P: push
   p: pull
 
@@ -33,9 +35,9 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   ,: vorige pagina
   .: volgende pagina
-  <: scroll naar boven
+  <: scroll naar boven
   /: start met zoeken
-  >: scroll naar beneden
+  >: scroll naar beneden
   H: scroll left
   L: scroll right
   ]: volgende tabblad
@@ -45,10 +47,10 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## Bestanden
 
 
-  ctrl+o: kopieer de bestandsnaam naar het klembord
+  <c-o>: kopieer de bestandsnaam naar het klembord
   d: bekijk 'veranderingen ongedaan maken' opties
-  space: toggle staged
-  ctrl+b: Filter files (staged/unstaged)
+  <space>: toggle staged
+  <c-b>: Filter files (staged/unstaged)
   c: commit veranderingen
   w: commit veranderingen zonder pre-commit hook
   A: wijzig laatste commit
@@ -60,7 +62,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   s: stash-bestanden
   S: bekijk stash opties
   a: toggle staged alle
-  enter: stage individuele hunks/lijnen
+  <enter>: stage individuele hunks/lijnen
   g: bekijk upstream reset opties
   D: bekijk reset opties
   `: toggle bestandsboom weergave
@@ -71,20 +73,20 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## Bevestigingspaneel
 
 
-  enter: bevestig
-  esc: sluiten
+  <enter>: bevestig
+  <esc>: sluiten
 
## Branches
-  ctrl+o: kopieer branch name naar klembord
+  <c-o>: kopieer branch name naar klembord
   i: laat git-flow opties zien
-  space: uitchecken
+  <space>: uitchecken
   n: nieuwe branch
   o: maak een pull-request
   O: bekijk opties voor pull-aanvraag
-  ctrl+y: kopieer de URL van het pull-verzoek naar het klembord
+  <c-y>: kopieer de URL van het pull-verzoek naar het klembord
   c: uitchecken bij naam
   F: forceer checkout
   d: verwijder branch
@@ -95,35 +97,35 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   g: bekijk reset opties
   R: hernoem branch
   u: set/unset upstream
-  enter: bekijk commits
+  <enter>: bekijk commits
 
## Commit Bericht
-  enter: bevestig
-  esc: sluiten
+  <enter>: bevestig
+  <esc>: sluiten
 
## Commit bestanden
-  ctrl+o: kopieer de vastgelegde bestandsnaam naar het klembord
+  <c-o>: kopieer de vastgelegde bestandsnaam naar het klembord
   c: bestand uitchecken
   d: uitsluit deze commit zijn veranderingen aan dit bestand
   o: open bestand
   e: verander bestand
-  space: toggle bestand inbegrepen in patch
+  <space>: toggle bestand inbegrepen in patch
   a: toggle all files included in patch
-  enter: enter bestand om geselecteerde regels toe te voegen aan de patch
+  <enter>: enter bestand om geselecteerde regels toe te voegen aan de patch
   `: toggle bestandsboom weergave
 
## Commits
-  ctrl+o: kopieer commit SHA naar klembord
-  ctrl+r: reset cherry-picked (gekopieerde) commits selectie
+  <c-o>: kopieer commit SHA naar klembord
+  <c-r>: reset cherry-picked (gekopieerde) commits selectie
   b: view bisect options
   s: squash beneden
   f: Fixup commit
@@ -134,29 +136,29 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   p: kies commit (wanneer midden in rebase)
   F: creëer fixup commit voor deze commit
   S: squash bovenstaande commits
-  ctrl+j: verplaats commit 1 naar beneden
-  ctrl+k: verplaats commit 1 naar boven
+  <c-j>: verplaats commit 1 naar beneden
+  <c-k>: verplaats commit 1 naar boven
   v: plak commits (cherry-pick)
   A: wijzig commit met staged veranderingen
   a: reset commit author
   t: commit ongedaan maken
   T: tag commit
-  ctrl+l: open log menu
-  space: checkout commit
+  <c-l>: open log menu
+  <space>: checkout commit
   y: copy commit attribute
   o: open commit in browser
   n: creëer nieuwe branch van commit
   g: bekijk reset opties
   c: kopieer commit (cherry-pick)
   C: kopieer commit reeks (cherry-pick)
-  enter: bekijk gecommite bestanden
+  <enter>: bekijk gecommite bestanden
 
## Menu
-  enter: uitvoeren
-  esc: sluiten
+  <enter>: uitvoeren
+  <esc>: sluiten
 
## Mergen @@ -164,67 +166,67 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   e: verander bestand
   o: open bestand
-  : selecteer voorgaand conflict
-  : selecteer volgende conflict
-  : selecteer bovenste hunk
-  : selecteer onderste hunk
+  <left>: selecteer voorgaand conflict
+  <right>: selecteer volgende conflict
+  <up>: selecteer bovenste hunk
+  <down>: selecteer onderste hunk
   z: ongedaan maken
   M: open external merge tool (git mergetool)
-  space: kies hunk
+  <space>: kies hunk
   b: kies bijde hunks
-  esc: ga terug naar het bestanden paneel
+  <esc>: ga terug naar het bestanden paneel
 
## Normaal
-  mouse wheel ▼: scroll omlaag (fn+up)
-  mouse wheel ▲: scroll omhoog (fn+down)
+  mouse wheel down: scroll omlaag (fn+up)
+  mouse wheel up: scroll omhoog (fn+down)
 
## Patch Bouwen
-  : selecteer de vorige hunk
-  : selecteer de volgende hunk
+  <left>: selecteer de vorige hunk
+  <right>: selecteer de volgende hunk
   v: toggle drag selecteer
   V: toggle drag selecteer
   a: toggle selecteer hunk
-  ctrl+o: copy the selected text to the clipboard
+  <c-o>: copy the selected text to the clipboard
   o: open bestand
   e: verander bestand
-  space: voeg toe/verwijder lijn(en) in patch
-  esc: sluit lijn-bij-lijn modus
+  <space>: voeg toe/verwijder lijn(en) in patch
+  <esc>: sluit lijn-bij-lijn modus
 
## Reflog
-  ctrl+o: kopieer commit SHA naar klembord
-  space: checkout commit
+  <c-o>: kopieer commit SHA naar klembord
+  <space>: checkout commit
   y: copy commit attribute
   o: open commit in browser
   n: creëer nieuwe branch van commit
   g: bekijk reset opties
   c: kopieer commit (cherry-pick)
   C: kopieer commit reeks (cherry-pick)
-  ctrl+r: reset cherry-picked (gekopieerde) commits selectie
-  enter: bekijk commits
+  <c-r>: reset cherry-picked (gekopieerde) commits selectie
+  <enter>: bekijk commits
 
## Remote Branches
-  ctrl+o: kopieer branch name naar klembord
-  space: uitchecken
+  <c-o>: kopieer branch name naar klembord
+  <space>: uitchecken
   n: nieuwe branch
   M: merge in met huidige checked out branch
   r: rebase branch
   d: verwijder branch
   u: stel in als upstream van uitgecheckte branch
-  esc: ga terug naar remotes lijst
+  <esc>: ga terug naar remotes lijst
   g: bekijk reset opties
-  enter: bekijk commits
+  <enter>: bekijk commits
 
## Remotes @@ -239,17 +241,17 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct ## Staging
-  : selecteer de vorige hunk
-  : selecteer de volgende hunk
+  <left>: selecteer de vorige hunk
+  <right>: selecteer de volgende hunk
   v: toggle drag selecteer
   V: toggle drag selecteer
   a: toggle selecteer hunk
-  ctrl+o: copy the selected text to the clipboard
+  <c-o>: copy the selected text to the clipboard
   o: open bestand
   e: verander bestand
-  esc: ga terug naar het bestanden paneel
-  tab: ga naar een ander paneel
-  space: toggle lijnen staged / unstaged
+  <esc>: ga terug naar het bestanden paneel
+  <tab>: ga naar een ander paneel
+  <space>: toggle lijnen staged / unstaged
   d: verwijdert change (git reset)
   E: edit hunk
   c: commit veranderingen
@@ -260,12 +262,12 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## Stash
 
 
-  space: toepassen
+  <space>: toepassen
   g: pop
   d: laten vallen
   n: nieuwe branch
   r: rename stash
-  enter: bekijk gecommite bestanden
+  <enter>: bekijk gecommite bestanden
 
## Status @@ -274,30 +276,30 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct o: open config bestand e: verander config bestand u: check voor updates - enter: wissel naar een recente repo + <enter>: wissel naar een recente repo a: alle logs van de branch laten zien
## Sub-commits
-  ctrl+o: kopieer commit SHA naar klembord
-  space: checkout commit
+  <c-o>: kopieer commit SHA naar klembord
+  <space>: checkout commit
   y: copy commit attribute
   o: open commit in browser
   n: creëer nieuwe branch van commit
   g: bekijk reset opties
   c: kopieer commit (cherry-pick)
   C: kopieer commit reeks (cherry-pick)
-  ctrl+r: reset cherry-picked (gekopieerde) commits selectie
-  enter: bekijk gecommite bestanden
+  <c-r>: reset cherry-picked (gekopieerde) commits selectie
+  <enter>: bekijk gecommite bestanden
 
## Submodules
-  ctrl+o: kopieer submodule naam naar klembord
-  enter: enter submodule
+  <c-o>: kopieer submodule naam naar klembord
+  <enter>: enter submodule
   d: remove submodule
   u: update submodule
   n: voeg nieuwe submodule toe
@@ -309,10 +311,10 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## Tags
 
 
-  space: uitchecken
+  <space>: uitchecken
   d: verwijder tag
   P: push tag
   n: creëer tag
   g: bekijk reset opties
-  enter: bekijk commits
+  <enter>: bekijk commits
 
diff --git a/docs/keybindings/Keybindings_pl.md b/docs/keybindings/Keybindings_pl.md index f59c268d9..5840dfcb0 100644 --- a/docs/keybindings/Keybindings_pl.md +++ b/docs/keybindings/Keybindings_pl.md @@ -2,28 +2,30 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct # Lazygit Keybindings +_Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ + ## Globalne
-  ctrl+r: switch to a recent repo
-  pgup: scroll up main panel (fn+up/shift+k)
-  pgdown: scroll down main panel (fn+down/shift+j)
+  <c-r>: switch to a recent repo
+  <pgup>: scroll up main panel (fn+up/shift+k)
+  <pgdown>: scroll down main panel (fn+down/shift+j)
   @: open command log menu
   }: Increase the size of the context shown around changes in the diff view
   {: Decrease the size of the context shown around changes in the diff view
   :: wykonaj własną komendę
-  ctrl+p: view custom patch options
+  <c-p>: view custom patch options
   m: widok scalenia/opcje zmiany bazy
   R: odśwież
   +: next screen mode (normal/half/fullscreen)
   _: prev screen mode
   ?: open menu
-  ctrl+s: view filter-by-path options
+  <c-s>: view filter-by-path options
   W: open diff menu
-  ctrl+e: open diff menu
-  ctrl+w: Toggle whether or not whitespace changes are shown in the diff view
+  <c-e>: open diff menu
+  <c-w>: Toggle whether or not whitespace changes are shown in the diff view
   z: undo (via reflog) (experimental)
-  ctrl+z: redo (via reflog) (experimental)
+  <c-z>: redo (via reflog) (experimental)
   P: push
   p: pull
 
@@ -33,9 +35,9 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   ,: previous page
   .: next page
-  <: scroll to top
+  <: scroll to top
   /: start search
-  >: scroll to bottom
+  >: scroll to bottom
   H: scroll left
   L: scroll right
   ]: next tab
@@ -45,15 +47,15 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## Commit Summary
 
 
-  enter: potwierdź
-  esc: zamknij
+  <enter>: potwierdź
+  <esc>: zamknij
 
## Commity
-  ctrl+o: copy commit SHA to clipboard
-  ctrl+r: reset cherry-picked (copied) commits selection
+  <c-o>: copy commit SHA to clipboard
+  <c-r>: reset cherry-picked (copied) commits selection
   b: view bisect options
   s: ściśnij
   f: napraw commit
@@ -64,41 +66,41 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   p: wybierz commit (podczas zmiany bazy)
   F: utwórz commit naprawczy dla tego commita
   S: spłaszcz wszystkie commity naprawcze powyżej zaznaczonych commitów (autosquash)
-  ctrl+j: przenieś commit 1 w dół
-  ctrl+k: przenieś commit 1 w górę
+  <c-j>: przenieś commit 1 w dół
+  <c-k>: przenieś commit 1 w górę
   v: wklej commity (przebieranie)
   A: popraw commit zmianami z poczekalni
   a: reset commit author
   t: odwróć commit
   T: tag commit
-  ctrl+l: open log menu
-  space: checkout commit
+  <c-l>: open log menu
+  <space>: checkout commit
   y: copy commit attribute
   o: open commit in browser
   n: create new branch off of commit
   g: wyświetl opcje resetu
   c: kopiuj commit (przebieranie)
   C: kopiuj zakres commitów (przebieranie)
-  enter: przeglądaj pliki commita
+  <enter>: przeglądaj pliki commita
 
## Confirmation Panel
-  enter: potwierdź
-  esc: zamknij
+  <enter>: potwierdź
+  <esc>: zamknij
 
## Local Branches
-  ctrl+o: copy branch name to clipboard
+  <c-o>: copy branch name to clipboard
   i: show git-flow options
-  space: przełącz
+  <space>: przełącz
   n: nowa gałąź
   o: utwórz żądanie pobrania
   O: utwórz opcje żądania ściągnięcia
-  ctrl+y: skopiuj adres URL żądania pobrania do schowka
+  <c-y>: skopiuj adres URL żądania pobrania do schowka
   c: przełącz używając nazwy
   F: wymuś przełączenie
   d: usuń gałąź
@@ -109,38 +111,38 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   g: wyświetl opcje resetu
   R: rename branch
   u: set/unset upstream
-  enter: view commits
+  <enter>: view commits
 
## Main Panel (Patch Building)
-  : poprzedni kawałek
-  : następny kawałek
+  <left>: poprzedni kawałek
+  <right>: następny kawałek
   v: toggle drag select
   V: toggle drag select
   a: toggle select hunk
-  ctrl+o: copy the selected text to the clipboard
+  <c-o>: copy the selected text to the clipboard
   o: otwórz plik
   e: edytuj plik
-  space: add/remove line(s) to patch
-  esc: wyście z trybu "linia po linii"
+  <space>: add/remove line(s) to patch
+  <esc>: wyście z trybu "linia po linii"
 
## Menu
-  enter: wykonaj
-  esc: zamknij
+  <enter>: wykonaj
+  <esc>: zamknij
 
## Pliki
-  ctrl+o: copy the file name to the clipboard
+  <c-o>: copy the file name to the clipboard
   d: pokaż opcje porzucania zmian
-  space: przełącz stan poczekalni
-  ctrl+b: Filter files (staged/unstaged)
+  <space>: przełącz stan poczekalni
+  <c-b>: Filter files (staged/unstaged)
   c: Zatwierdź zmiany
   w: zatwierdź zmiany bez skryptu pre-commit
   A: Zmień ostatni commit
@@ -152,7 +154,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   s: przechowaj zmiany
   S: wyświetl opcje schowka
   a: przełącz stan poczekalni wszystkich
-  enter: zatwierdź pojedyncze linie
+  <enter>: zatwierdź pojedyncze linie
   g: view upstream reset options
   D: wyświetl opcje resetu
   `: toggle file tree view
@@ -163,31 +165,31 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## Pliki commita
 
 
-  ctrl+o: copy the committed file name to the clipboard
+  <c-o>: copy the committed file name to the clipboard
   c: plik wybierania
   d: porzuć zmiany commita dla tego pliku
   o: otwórz plik
   e: edytuj plik
-  space: toggle file included in patch
+  <space>: toggle file included in patch
   a: toggle all files included in patch
-  enter: enter file to add selected lines to the patch (or toggle directory collapsed)
+  <enter>: enter file to add selected lines to the patch (or toggle directory collapsed)
   `: toggle file tree view
 
## Poczekalnia
-  : poprzedni kawałek
-  : następny kawałek
+  <left>: poprzedni kawałek
+  <right>: następny kawałek
   v: toggle drag select
   V: toggle drag select
   a: toggle select hunk
-  ctrl+o: copy the selected text to the clipboard
+  <c-o>: copy the selected text to the clipboard
   o: otwórz plik
   e: edytuj plik
-  esc: wróć do panelu plików
-  tab: switch to other panel (staged/unstaged changes)
-  space: toggle line staged / unstaged
+  <esc>: wróć do panelu plików
+  <tab>: switch to other panel (staged/unstaged changes)
+  <space>: toggle line staged / unstaged
   d: delete change (git reset)
   E: edit hunk
   c: Zatwierdź zmiany
@@ -198,31 +200,31 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## Reflog
 
 
-  ctrl+o: copy commit SHA to clipboard
-  space: checkout commit
+  <c-o>: copy commit SHA to clipboard
+  <space>: checkout commit
   y: copy commit attribute
   o: open commit in browser
   n: create new branch off of commit
   g: wyświetl opcje resetu
   c: kopiuj commit (przebieranie)
   C: kopiuj zakres commitów (przebieranie)
-  ctrl+r: reset cherry-picked (copied) commits selection
-  enter: view commits
+  <c-r>: reset cherry-picked (copied) commits selection
+  <enter>: view commits
 
## Remote Branches
-  ctrl+o: copy branch name to clipboard
-  space: przełącz
+  <c-o>: copy branch name to clipboard
+  <space>: przełącz
   n: nowa gałąź
   M: scal do obecnej gałęzi
   r: zmiana bazy gałęzi
   d: usuń gałąź
   u: set as upstream of checked-out branch
-  esc: wróć do listy repozytoriów zdalnych
+  <esc>: wróć do listy repozytoriów zdalnych
   g: wyświetl opcje resetu
-  enter: view commits
+  <enter>: view commits
 
## Remotes @@ -239,26 +241,26 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   e: edytuj plik
   o: otwórz plik
-  : poprzedni konflikt
-  : następny konflikt
-  : wybierz poprzedni kawałek
-  : wybierz następny kawałek
+  <left>: poprzedni konflikt
+  <right>: następny konflikt
+  <up>: wybierz poprzedni kawałek
+  <down>: wybierz następny kawałek
   z: cofnij
   M: open external merge tool (git mergetool)
-  space: wybierz kawałek
+  <space>: wybierz kawałek
   b: wybierz wszystkie kawałki
-  esc: wróć do panelu plików
+  <esc>: wróć do panelu plików
 
## Schowek
-  space: zastosuj
+  <space>: zastosuj
   g: wyciągnij
   d: porzuć
   n: nowa gałąź
   r: rename stash
-  enter: przeglądaj pliki commita
+  <enter>: przeglądaj pliki commita
 
## Status @@ -267,30 +269,30 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct o: otwórz konfigurację e: edytuj konfigurację u: sprawdź aktualizacje - enter: switch to a recent repo + <enter>: switch to a recent repo a: pokaż wszystkie logi gałęzi
## Sub-commits
-  ctrl+o: copy commit SHA to clipboard
-  space: checkout commit
+  <c-o>: copy commit SHA to clipboard
+  <space>: checkout commit
   y: copy commit attribute
   o: open commit in browser
   n: create new branch off of commit
   g: wyświetl opcje resetu
   c: kopiuj commit (przebieranie)
   C: kopiuj zakres commitów (przebieranie)
-  ctrl+r: reset cherry-picked (copied) commits selection
-  enter: przeglądaj pliki commita
+  <c-r>: reset cherry-picked (copied) commits selection
+  <enter>: przeglądaj pliki commita
 
## Submodules
-  ctrl+o: copy submodule name to clipboard
-  enter: enter submodule
+  <c-o>: copy submodule name to clipboard
+  <enter>: enter submodule
   d: remove submodule
   u: update submodule
   n: add new submodule
@@ -302,17 +304,17 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## Tags
 
 
-  space: przełącz
+  <space>: przełącz
   d: delete tag
   P: push tag
   n: create tag
   g: wyświetl opcje resetu
-  enter: view commits
+  <enter>: view commits
 
## Zwykłe
-  mouse wheel ▼: przewiń w dół (fn+up)
-  mouse wheel ▲: przewiń w górę (fn+down)
+  mouse wheel down: przewiń w dół (fn+up)
+  mouse wheel up: przewiń w górę (fn+down)
 
diff --git a/docs/keybindings/Keybindings_zh.md b/docs/keybindings/Keybindings_zh.md index 0660a0d0c..5ea636284 100644 --- a/docs/keybindings/Keybindings_zh.md +++ b/docs/keybindings/Keybindings_zh.md @@ -2,28 +2,30 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct # Lazygit 按键绑定 +_Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b_ + ## 全局键绑定
-  ctrl+r: 切换到最近的仓库
-  pgup: 向上滚动主面板 (fn+up/shift+k)
-  pgdown: 向下滚动主面板 (fn+down/shift+j)
+  <c-r>: 切换到最近的仓库
+  <pgup>: 向上滚动主面板 (fn+up/shift+k)
+  <pgdown>: 向下滚动主面板 (fn+down/shift+j)
   @: 打开命令日志菜单
   }: 扩大差异视图中显示的上下文范围
   {: 缩小差异视图中显示的上下文范围
   :: 执行自定义命令
-  ctrl+p: 查看自定义补丁选项
+  <c-p>: 查看自定义补丁选项
   m: 查看 合并/变基 选项
   R: 刷新
   +: 下一屏模式(正常/半屏/全屏)
   _: 上一屏模式
   ?: 打开菜单
-  ctrl+s: 查看按路径过滤选项
+  <c-s>: 查看按路径过滤选项
   W: 打开 diff 菜单
-  ctrl+e: 打开 diff 菜单
-  ctrl+w: 切换是否在差异视图中显示空白字符差异
+  <c-e>: 打开 diff 菜单
+  <c-w>: 切换是否在差异视图中显示空白字符差异
   z: (通过 reflog)撤销「实验功能」
-  ctrl+z: (通过 reflog)重做「实验功能」
+  <c-z>: (通过 reflog)重做「实验功能」
   P: 推送
   p: 拉取
 
@@ -33,9 +35,9 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   ,: 上一页
   .: 下一页
-  <: 滚动到顶部
+  <: 滚动到顶部
   /: 开始搜索
-  >: 滚动到底部
+  >: 滚动到底部
   H: 向左滚动
   L: 向右滚动
   ]: 下一个标签
@@ -45,28 +47,28 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## Reflog 页面
 
 
-  ctrl+o: 将提交的 SHA 复制到剪贴板
-  space: 检出提交
+  <c-o>: 将提交的 SHA 复制到剪贴板
+  <space>: 检出提交
   y: copy commit attribute
   o: 在浏览器中打开提交
   n: 从提交创建新分支
   g: 查看重置选项
   c: 复制提交(拣选)
   C: 复制提交范围(拣选)
-  ctrl+r: 重置已拣选(复制)的提交
-  enter: 查看提交
+  <c-r>: 重置已拣选(复制)的提交
+  <enter>: 查看提交
 
## 分支页面
-  ctrl+o: 将分支名称复制到剪贴板
+  <c-o>: 将分支名称复制到剪贴板
   i: 显示 git-flow 选项
-  space: 检出
+  <space>: 检出
   n: 新分支
   o: 创建抓取请求
   O: 创建抓取请求选项
-  ctrl+y: 将抓取请求 URL 复制到剪贴板
+  <c-y>: 将抓取请求 URL 复制到剪贴板
   c: 按名称检出
   F: 强制检出
   d: 删除分支
@@ -77,29 +79,29 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   g: 查看重置选项
   R: 重命名分支
   u: set/unset upstream
-  enter: 查看提交
+  <enter>: 查看提交
 
## 子提交
-  ctrl+o: 将提交的 SHA 复制到剪贴板
-  space: 检出提交
+  <c-o>: 将提交的 SHA 复制到剪贴板
+  <space>: 检出提交
   y: copy commit attribute
   o: 在浏览器中打开提交
   n: 从提交创建新分支
   g: 查看重置选项
   c: 复制提交(拣选)
   C: 复制提交范围(拣选)
-  ctrl+r: 重置已拣选(复制)的提交
-  enter: 查看提交的文件
+  <c-r>: 重置已拣选(复制)的提交
+  <enter>: 查看提交的文件
 
## 子模块
-  ctrl+o: 将子模块名称复制到剪贴板
-  enter: 输入子模块
+  <c-o>: 将子模块名称复制到剪贴板
+  <enter>: 输入子模块
   d: 删除子模块
   u: 更新子模块
   n: 添加新的子模块
@@ -111,8 +113,8 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## 提交
 
 
-  ctrl+o: 将提交的 SHA 复制到剪贴板
-  ctrl+r: 重置已拣选(复制)的提交
+  <c-o>: 将提交的 SHA 复制到剪贴板
+  <c-r>: 重置已拣选(复制)的提交
   b: 查看二分查找选项
   s: 向下压缩
   f: 修正提交(fixup)
@@ -123,52 +125,52 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   p: 选择提交(变基过程中)
   F: 为此提交创建修正
   S: 压缩在所选提交之上的所有“fixup!”提交(自动压缩)
-  ctrl+j: 下移提交
-  ctrl+k: 上移提交
+  <c-j>: 下移提交
+  <c-k>: 上移提交
   v: 粘贴提交(拣选)
   A: 用已暂存的更改来修补提交
   a: reset commit author
   t: 还原提交
   T: 标签提交
-  ctrl+l: 打开日志菜单
-  space: 检出提交
+  <c-l>: 打开日志菜单
+  <space>: 检出提交
   y: copy commit attribute
   o: 在浏览器中打开提交
   n: 从提交创建新分支
   g: 查看重置选项
   c: 复制提交(拣选)
   C: 复制提交范围(拣选)
-  enter: 查看提交的文件
+  <enter>: 查看提交的文件
 
## 提交文件
-  ctrl+o: 将提交的文件名复制到剪贴板
+  <c-o>: 将提交的文件名复制到剪贴板
   c: 检出文件
   d: 放弃对此文件的提交更改
   o: 打开文件
   e: 编辑文件
-  space: 补丁中包含的切换文件
+  <space>: 补丁中包含的切换文件
   a: toggle all files included in patch
-  enter: 输入文件以将所选行添加到补丁中(或切换目录折叠)
+  <enter>: 输入文件以将所选行添加到补丁中(或切换目录折叠)
   `: 切换文件树视图
 
## 提交讯息
-  enter: 确认
-  esc: 关闭
+  <enter>: 确认
+  <esc>: 关闭
 
## 文件
-  ctrl+o: 将文件名复制到剪贴板
+  <c-o>: 将文件名复制到剪贴板
   d: 查看'放弃更改'选项
-  space: 切换暂存状态
-  ctrl+b: Filter files (staged/unstaged)
+  <space>: 切换暂存状态
+  <c-b>: Filter files (staged/unstaged)
   c: 提交更改
   w: 提交更改而无需预先提交钩子
   A: 修补最后一次提交
@@ -180,7 +182,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   s: 将所有更改加入贮藏
   S: 查看贮藏选项
   a: 切换所有文件的暂存状态
-  enter: 暂存单个 块/行 用于文件, 或 折叠/展开 目录
+  <enter>: 暂存单个 块/行 用于文件, 或 折叠/展开 目录
   g: 查看上游重置选项
   D: 查看重置选项
   `: 切换文件树视图
@@ -191,27 +193,27 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## 构建补丁中
 
 
-  : 选择上一个区块
-  : 选择下一个区块
+  <left>: 选择上一个区块
+  <right>: 选择下一个区块
   v: 切换拖动选择
   V: 切换拖动选择
   a: 切换选择区块
-  ctrl+o: 将选中文本复制到剪贴板
+  <c-o>: 将选中文本复制到剪贴板
   o: 打开文件
   e: 编辑文件
-  space: 添加/移除 行到补丁
-  esc: 退出逐行模式
+  <space>: 添加/移除 行到补丁
+  <esc>: 退出逐行模式
 
## 标签页面
-  space: 检出
+  <space>: 检出
   d: 删除标签
   P: 推送标签
   n: 创建标签
   g: 查看重置选项
-  enter: 查看提交
+  <enter>: 查看提交
 
## 正在合并 @@ -219,31 +221,31 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   e: 编辑文件
   o: 打开文件
-  : 选择上一个冲突
-  : 选择下一个冲突
-  : 选择顶部块
-  : 选择底部块
+  <left>: 选择上一个冲突
+  <right>: 选择下一个冲突
+  <up>: 选择顶部块
+  <down>: 选择底部块
   z: 撤销
   M: 打开外部合并工具 (git mergetool)
-  space: 选中区块
+  <space>: 选中区块
   b: 选中所有区块
-  esc: 返回文件面板
+  <esc>: 返回文件面板
 
## 正在暂存
-  : 选择上一个区块
-  : 选择下一个区块
+  <left>: 选择上一个区块
+  <right>: 选择下一个区块
   v: 切换拖动选择
   V: 切换拖动选择
   a: 切换选择区块
-  ctrl+o: 将选中文本复制到剪贴板
+  <c-o>: 将选中文本复制到剪贴板
   o: 打开文件
   e: 编辑文件
-  esc: 返回文件面板
-  tab: 切换到其他面板
-  space: 切换行暂存状态
+  <esc>: 返回文件面板
+  <tab>: 切换到其他面板
+  <space>: 切换行暂存状态
   d: 取消变更 (git reset)
   E: edit hunk
   c: 提交更改
@@ -254,8 +256,8 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## 正常
 
 
-  mouse wheel ▼: 向下滚动 (fn+up)
-  mouse wheel ▲: 向上滚动 (fn+down)
+  mouse wheel down: 向下滚动 (fn+up)
+  mouse wheel up: 向上滚动 (fn+down)
 
## 状态 @@ -264,48 +266,48 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct o: 打开配置文件 e: 编辑配置文件 u: 检查更新 - enter: 切换到最近的仓库 + <enter>: 切换到最近的仓库 a: 显示所有分支的日志
## 确认面板
-  enter: 确认
-  esc: 关闭
+  <enter>: 确认
+  <esc>: 关闭
 
## 菜单
-  enter: 执行
-  esc: 关闭
+  <enter>: 执行
+  <esc>: 关闭
 
## 贮藏
-  space: 应用
+  <space>: 应用
   g: 应用并删除
   d: 删除
   n: 新分支
   r: rename stash
-  enter: 查看提交的文件
+  <enter>: 查看提交的文件
 
## 远程分支
-  ctrl+o: 将分支名称复制到剪贴板
-  space: 检出
+  <c-o>: 将分支名称复制到剪贴板
+  <space>: 检出
   n: 新分支
   M: 合并到当前检出的分支
   r: 将已检出的分支变基到该分支
   d: 删除分支
   u: 设置为检出分支的上游
-  esc: 返回远程仓库列表
+  <esc>: 返回远程仓库列表
   g: 查看重置选项
-  enter: 查看提交
+  <enter>: 查看提交
 
## 远程页面 diff --git a/pkg/cheatsheet/generate.go b/pkg/cheatsheet/generate.go index ee2538c1f..ec2c84dbd 100644 --- a/pkg/cheatsheet/generate.go +++ b/pkg/cheatsheet/generate.go @@ -12,6 +12,7 @@ import ( "fmt" "log" "os" + "strings" "github.com/jesseduffield/generics/maps" "github.com/jesseduffield/generics/slices" @@ -183,6 +184,8 @@ func getHeader(binding *types.Binding, tr *i18n.TranslationSet) header { func formatSections(tr *i18n.TranslationSet, bindingSections []*bindingSection) string { content := fmt.Sprintf("# Lazygit %s\n", tr.Keybindings) + content += fmt.Sprintf("\n%s\n", italicize(tr.KeybindingsLegend)) + for _, section := range bindingSections { content += formatTitle(section.title) content += "
\n"
@@ -200,13 +203,21 @@ func formatTitle(title string) string {
 }
 
 func formatBinding(binding *types.Binding) string {
+	result := fmt.Sprintf("  %s: %s", escapeAngleBrackets(keybindings.LabelFromKey(binding.Key)), binding.Description)
 	if binding.Alternative != "" {
-		return fmt.Sprintf(
-			"  %s: %s (%s)\n",
-			keybindings.LabelFromKey(binding.Key),
-			binding.Description,
-			binding.Alternative,
-		)
+		result += fmt.Sprintf(" (%s)", binding.Alternative)
 	}
-	return fmt.Sprintf("  %s: %s\n", keybindings.LabelFromKey(binding.Key), binding.Description)
+	result += "\n"
+
+	return result
+}
+
+func escapeAngleBrackets(str string) string {
+	result := strings.ReplaceAll(str, ">", ">")
+	result = strings.ReplaceAll(result, "<", "<")
+	return result
+}
+
+func italicize(str string) string {
+	return fmt.Sprintf("_%s_", str)
 }
diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go
index ea34ae022..ed2191508 100644
--- a/pkg/i18n/english.go
+++ b/pkg/i18n/english.go
@@ -368,6 +368,7 @@ type TranslationSet struct {
 	LcStartSearch                       string
 	Panel                               string
 	Keybindings                         string
+	KeybindingsLegend                   string
 	LcRenameBranch                      string
 	LcSetUnsetUpstream                  string
 	NewGitFlowBranchPrompt              string
@@ -1039,6 +1040,7 @@ func EnglishTranslationSet() TranslationSet {
 		LcStartSearch:                       "start search",
 		Panel:                               "Panel",
 		Keybindings:                         "Keybindings",
+		KeybindingsLegend:                   "Legend: `` means ctrl+b, `` means alt+b, `B` means shift+b",
 		LcRenameBranch:                      "rename branch",
 		LcSetUnsetUpstream:                  "set/unset upstream",
 		NewBranchNamePrompt:                 "Enter new branch name for branch",