From 45dab51214d7deca689279a6a162d80ee27befc8 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sat, 26 Mar 2022 16:42:56 +1100 Subject: add basic commits controller for handling actions that apply to all commit contexts --- docs/keybindings/Keybindings_en.md | 21 +++++++++++++-------- docs/keybindings/Keybindings_nl.md | 21 +++++++++++++-------- docs/keybindings/Keybindings_pl.md | 21 +++++++++++++-------- docs/keybindings/Keybindings_zh.md | 23 ++++++++++++++--------- 4 files changed, 53 insertions(+), 33 deletions(-) (limited to 'docs') diff --git a/docs/keybindings/Keybindings_en.md b/docs/keybindings/Keybindings_en.md index 65f217f73..836bbf791 100644 --- a/docs/keybindings/Keybindings_en.md +++ b/docs/keybindings/Keybindings_en.md @@ -90,8 +90,10 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   ctrl+o: copy commit SHA to clipboard
   space: checkout commit
-  g: view reset options
-  n: new branch
+  y: copy commit attribute
+  o: open commit in browser
+  n: create new branch off of commit
+  g: reset to this commit
   c: copy commit (cherry-pick)
   C: copy commit range (cherry-pick)
   ctrl+r: reset cherry-picked (copied) commits selection
@@ -147,16 +149,16 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   ctrl+k: move commit up one
   A: amend commit with staged changes
   t: revert commit
-  n: create new branch off of commit
-  c: copy commit (cherry-pick)
-  C: copy commit range (cherry-pick)
   v: paste commits (cherry-pick)
   ctrl+l: open log menu
-  g: reset to this commit
-  space: checkout commit
   T: tag commit
+  space: checkout commit
   y: copy commit attribute
   o: open commit in browser
+  n: create new branch off of commit
+  g: reset to this commit
+  c: copy commit (cherry-pick)
+  C: copy commit range (cherry-pick)
   enter: view selected item's files
 
@@ -165,7 +167,10 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   ctrl+o: copy commit SHA to clipboard
   space: checkout commit
-  g: view reset options
+  y: copy commit attribute
+  o: open commit in browser
+  n: create new branch off of commit
+  g: reset to this commit
   c: copy commit (cherry-pick)
   C: copy commit range (cherry-pick)
   ctrl+r: reset cherry-picked (copied) commits selection
diff --git a/docs/keybindings/Keybindings_nl.md b/docs/keybindings/Keybindings_nl.md
index bec3e35ad..8fbf16ccd 100644
--- a/docs/keybindings/Keybindings_nl.md
+++ b/docs/keybindings/Keybindings_nl.md
@@ -130,8 +130,10 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 
   ctrl+o: kopieer commit SHA naar klembord
   space: checkout commit
-  g: bekijk reset opties
-  n: nieuwe branch
+  y: copy commit attribute
+  o: open commit in browser
+  n: creëer nieuwe branch van commit
+  g: reset naar deze commit
   c: kopieer commit (cherry-pick)
   C: kopieer commit reeks (cherry-pick)
   ctrl+r: reset cherry-picked (gekopieerde) commits selectie
@@ -187,16 +189,16 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   ctrl+k: verplaats commit 1 naar boven
   A: wijzig commit met staged veranderingen
   t: commit ongedaan maken
-  n: creëer nieuwe branch van commit
-  c: kopieer commit (cherry-pick)
-  C: kopieer commit reeks (cherry-pick)
   v: plak commits (cherry-pick)
   ctrl+l: open log menu
-  g: reset naar deze commit
-  space: checkout commit
   T: tag commit
+  space: checkout commit
   y: copy commit attribute
   o: open commit in browser
+  n: creëer nieuwe branch van commit
+  g: reset naar deze commit
+  c: kopieer commit (cherry-pick)
+  C: kopieer commit reeks (cherry-pick)
   enter: bekijk gecommite bestanden
 
@@ -205,7 +207,10 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   ctrl+o: kopieer commit SHA naar klembord
   space: checkout commit
-  g: bekijk reset opties
+  y: copy commit attribute
+  o: open commit in browser
+  n: creëer nieuwe branch van commit
+  g: reset naar deze commit
   c: kopieer commit (cherry-pick)
   C: kopieer commit reeks (cherry-pick)
   ctrl+r: reset cherry-picked (gekopieerde) commits selectie
diff --git a/docs/keybindings/Keybindings_pl.md b/docs/keybindings/Keybindings_pl.md
index 3e9443b4e..93f91050a 100644
--- a/docs/keybindings/Keybindings_pl.md
+++ b/docs/keybindings/Keybindings_pl.md
@@ -60,16 +60,16 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   ctrl+k: przenieś commit 1 w górę
   A: popraw commit zmianami z poczekalni
   t: odwróć commit
-  n: create new branch off of commit
-  c: kopiuj commit (przebieranie)
-  C: kopiuj zakres commitów (przebieranie)
   v: wklej commity (przebieranie)
   ctrl+l: open log menu
-  g: zresetuj do tego commita
-  space: checkout commit
   T: tag commit
+  space: checkout commit
   y: copy commit attribute
   o: open commit in browser
+  n: create new branch off of commit
+  g: zresetuj do tego commita
+  c: kopiuj commit (przebieranie)
+  C: kopiuj zakres commitów (przebieranie)
   enter: przeglądaj pliki commita
 
@@ -78,7 +78,10 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   ctrl+o: copy commit SHA to clipboard
   space: checkout commit
-  g: wyświetl opcje resetu
+  y: copy commit attribute
+  o: open commit in browser
+  n: create new branch off of commit
+  g: zresetuj do tego commita
   c: kopiuj commit (przebieranie)
   C: kopiuj zakres commitów (przebieranie)
   ctrl+r: reset cherry-picked (copied) commits selection
@@ -140,8 +143,10 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 
   ctrl+o: copy commit SHA to clipboard
   space: checkout commit
-  g: wyświetl opcje resetu
-  n: nowa gałąź
+  y: copy commit attribute
+  o: open commit in browser
+  n: create new branch off of commit
+  g: zresetuj do tego commita
   c: kopiuj commit (przebieranie)
   C: kopiuj zakres commitów (przebieranie)
   ctrl+r: reset cherry-picked (copied) commits selection
diff --git a/docs/keybindings/Keybindings_zh.md b/docs/keybindings/Keybindings_zh.md
index ba672a858..7e1b1c407 100644
--- a/docs/keybindings/Keybindings_zh.md
+++ b/docs/keybindings/Keybindings_zh.md
@@ -126,8 +126,10 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 
   ctrl+o: 将提交的 SHA 复制到剪贴板
   space: 检出提交
-  g: 查看重置选项
-  n: 新分支
+  y: copy commit attribute
+  o: 在浏览器中打开提交
+  n: 从提交创建新分支
+  g: 重置为此提交
   c: 复制提交(拣选)
   C: 复制提交范围(拣选)
   ctrl+r: 重置已拣选(复制)的提交
@@ -173,7 +175,10 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 
   ctrl+o: 将提交的 SHA 复制到剪贴板
   space: 检出提交
-  g: 查看重置选项
+  y: copy commit attribute
+  o: 在浏览器中打开提交
+  n: 从提交创建新分支
+  g: 重置为此提交
   c: 复制提交(拣选)
   C: 复制提交范围(拣选)
   ctrl+r: 重置已拣选(复制)的提交
@@ -199,16 +204,16 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   ctrl+k: 上移提交
   A: 用已暂存的更改来修补提交
   t: 还原提交
-  n: 从提交创建新分支
-  c: 复制提交(拣选)
-  C: 复制提交范围(拣选)
   v: 粘贴提交(拣选)
   ctrl+l: 打开日志菜单
-  g: 重置为此提交
-  space: 检出提交
   T: 标签提交
+  space: 检出提交
   y: copy commit attribute
-  o: open commit in browser
+  o: 在浏览器中打开提交
+  n: 从提交创建新分支
+  g: 重置为此提交
+  c: 复制提交(拣选)
+  C: 复制提交范围(拣选)
   enter: 查看提交的文件
 
-- cgit v1.2.3