Skip to content

Commit 2268183

Browse files
committed
Add merge options menu
Replace merge-tool with merge options menu that allows resolving all conflicts for selected files as ours, theirs, or union, while still providing access to the merge tool.
1 parent cb2b5c3 commit 2268183

26 files changed

+451
-44
lines changed

docs/Config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ keybinding:
619619
viewResetOptions: D
620620
fetch: f
621621
toggleTreeView: '`'
622-
openMergeTool: M
622+
openMergeOptions: M
623623
openStatusFilter: <c-b>
624624
copyFileInfoToClipboard: "y"
625625
collapseAll: '-'

docs/keybindings/Keybindings_en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
153153
| `` D `` | Reset | View reset options for working tree (e.g. nuking the working tree). |
154154
| `` ` `` | Toggle file tree view | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory.<br><br>The default can be changed in the config file with the key 'gui.showFileTree'. |
155155
| `` <c-t> `` | Open external diff tool (git difftool) | |
156-
| `` M `` | Open external merge tool | Run `git mergetool`. |
156+
| `` M `` | View merge conflict options | View options for resolving merge conflicts. |
157157
| `` f `` | Fetch | Fetch changes from remote. |
158158
| `` - `` | Collapse all files | Collapse all directories in the files tree |
159159
| `` = `` | Expand all files | Expand all directories in the file tree |
@@ -210,7 +210,7 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
210210
| `` z `` | Undo | Undo last merge conflict resolution. |
211211
| `` e `` | Edit file | Open file in external editor. |
212212
| `` o `` | Open file | Open file in default application. |
213-
| `` M `` | Open external merge tool | Run `git mergetool`. |
213+
| `` M `` | View merge conflict options | View options for resolving merge conflicts. |
214214
| `` <esc> `` | Return to files panel | |
215215

216216
## Main panel (normal)

docs/keybindings/Keybindings_ja.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ _凡例:`<c-b>` はctrl+b、`<a-b>` はalt+b、`B` はshift+bを意味
235235
| `` D `` | リセット | 作業ツリーのリセットオプション(例:作業ツリーの完全破棄)を表示します。 |
236236
| `` ` `` | ファイルツリービューを切り替え | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory.<br><br>The default can be changed in the config file with the key 'gui.showFileTree'. |
237237
| `` <c-t> `` | 外部差分ツールを開く(git difftool) | |
238-
| `` M `` | 外部マージツールを開く | `git mergetool`を実行します。 |
238+
| `` M `` | View merge conflict options | View options for resolving merge conflicts. |
239239
| `` f `` | フェッチ | リモートから変更をフェッチします。 |
240240
| `` - `` | すべてのファイルを折りたたむ | ファイルツリー内のすべてのディレクトリを折りたたみます |
241241
| `` = `` | すべてのファイルを展開 | ファイルツリー内のすべてのディレクトリを展開します |
@@ -292,7 +292,7 @@ _凡例:`<c-b>` はctrl+b、`<a-b>` はalt+b、`B` はshift+bを意味
292292
| `` z `` | 元に戻す | 最後のマージコンフリクト解決を元に戻します。 |
293293
| `` e `` | ファイルを編集 | 外部エディタでファイルを開きます。 |
294294
| `` o `` | ファイルを開く | デフォルトのアプリケーションでファイルを開きます。 |
295-
| `` M `` | 外部マージツールを開く | `git mergetool`を実行します。 |
295+
| `` M `` | View merge conflict options | View options for resolving merge conflicts. |
296296
| `` <esc> `` | ファイルパネルに戻る | |
297297

298298
## メインパネル(通常)

docs/keybindings/Keybindings_ko.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
152152
| `` z `` | 되돌리기 | Undo last merge conflict resolution. |
153153
| `` e `` | 파일 편집 | Open file in external editor. |
154154
| `` o `` | 파일 닫기 | Open file in default application. |
155-
| `` M `` | Git mergetool를 열기 | Run `git mergetool`. |
155+
| `` M `` | View merge conflict options | View options for resolving merge conflicts. |
156156
| `` <esc> `` | 파일 목록으로 돌아가기 | |
157157

158158
## 메인 패널 (Normal)
@@ -396,7 +396,7 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
396396
| `` D `` | 초기화 | View reset options for working tree (e.g. nuking the working tree). |
397397
| `` ` `` | 파일 트리뷰로 전환 | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory.<br><br>The default can be changed in the config file with the key 'gui.showFileTree'. |
398398
| `` <c-t> `` | Open external diff tool (git difftool) | |
399-
| `` M `` | Git mergetool를 열기 | Run `git mergetool`. |
399+
| `` M `` | View merge conflict options | View options for resolving merge conflicts. |
400400
| `` f `` | Fetch | Fetch changes from remote. |
401401
| `` - `` | Collapse all files | Collapse all directories in the files tree |
402402
| `` = `` | Expand all files | Expand all directories in the file tree |

docs/keybindings/Keybindings_nl.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
7878
| `` D `` | Reset | View reset options for working tree (e.g. nuking the working tree). |
7979
| `` ` `` | Toggle bestandsboom weergave | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory.<br><br>The default can be changed in the config file with the key 'gui.showFileTree'. |
8080
| `` <c-t> `` | Open external diff tool (git difftool) | |
81-
| `` M `` | Open external merge tool | Run `git mergetool`. |
81+
| `` M `` | View merge conflict options | View options for resolving merge conflicts. |
8282
| `` f `` | Fetch | Fetch changes from remote. |
8383
| `` - `` | Collapse all files | Collapse all directories in the files tree |
8484
| `` = `` | Expand all files | Expand all directories in the file tree |
@@ -218,7 +218,7 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
218218
| `` z `` | Ongedaan maken | Undo last merge conflict resolution. |
219219
| `` e `` | Verander bestand | Open file in external editor. |
220220
| `` o `` | Open bestand | Open file in default application. |
221-
| `` M `` | Open external merge tool | Run `git mergetool`. |
221+
| `` M `` | View merge conflict options | View options for resolving merge conflicts. |
222222
| `` <esc> `` | Ga terug naar het bestanden paneel | |
223223

224224
## Normaal

docs/keybindings/Keybindings_pl.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ _Legenda: `<c-b>` oznacza ctrl+b, `<a-b>` oznacza alt+b, `B` oznacza shift+b_
193193
| `` z `` | Cofnij | Cofnij ostatnie rozwiązanie konfliktu scalania. |
194194
| `` e `` | Edytuj plik | Otwórz plik w zewnętrznym edytorze. |
195195
| `` o `` | Otwórz plik | Otwórz plik w domyślnej aplikacji. |
196-
| `` M `` | Otwórz zewnętrzne narzędzie scalania | Uruchom `git mergetool`. |
196+
| `` M `` | View merge conflict options | View options for resolving merge conflicts. |
197197
| `` <esc> `` | Wróć do panelu plików | |
198198

199199
## Panel główny (zatwierdzanie)
@@ -252,7 +252,7 @@ _Legenda: `<c-b>` oznacza ctrl+b, `<a-b>` oznacza alt+b, `B` oznacza shift+b_
252252
| `` D `` | Reset | Wyświetl opcje resetu dla drzewa roboczego (np. zniszczenie drzewa roboczego). |
253253
| `` ` `` | Przełącz widok drzewa plików | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory.<br><br>The default can be changed in the config file with the key 'gui.showFileTree'. |
254254
| `` <c-t> `` | Otwórz zewnętrzne narzędzie różnic (git difftool) | |
255-
| `` M `` | Otwórz zewnętrzne narzędzie scalania | Uruchom `git mergetool`. |
255+
| `` M `` | View merge conflict options | View options for resolving merge conflicts. |
256256
| `` f `` | Pobierz | Pobierz zmiany ze zdalnego serwera. |
257257
| `` - `` | Collapse all files | Collapse all directories in the files tree |
258258
| `` = `` | Expand all files | Expand all directories in the file tree |

docs/keybindings/Keybindings_pt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
7878
| `` D `` | Restaurar | Opções de redefinição de exibição para árvore de trabalho (por exemplo, nukando a árvore de trabalho). |
7979
| `` ` `` | Alternar exibição de árvore de arquivo | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory.<br><br>The default can be changed in the config file with the key 'gui.showFileTree'. |
8080
| `` <c-t> `` | Abrir ferramenta de diff externa (git difftool) | |
81-
| `` M `` | Abrir ferramenta de merge externa | Execute `git mergetool`. |
81+
| `` M `` | View merge conflict options | View options for resolving merge conflicts. |
8282
| `` f `` | Buscar | Buscar alterações do controle remoto. |
8383
| `` - `` | Recolher todos os arquivos | Recolher todos os diretórios na árvore de arquivos |
8484
| `` = `` | Expandir todos os arquivos | Expandir todos os diretórios na árvore do arquivo |
@@ -278,7 +278,7 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
278278
| `` z `` | Desfazer | Desfazer resolução de conflitos de última mesclagem. |
279279
| `` e `` | Editar arquivo | Abrir arquivo no editor externo. |
280280
| `` o `` | Abrir arquivo | Abrir arquivo no aplicativo padrão. |
281-
| `` M `` | Abrir ferramenta de merge externa | Execute `git mergetool`. |
281+
| `` M `` | View merge conflict options | View options for resolving merge conflicts. |
282282
| `` <esc> `` | Retornar ao painel de arquivos | |
283283

284284
## Painel principal (patch build)

docs/keybindings/Keybindings_ru.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ _Связки клавиш_
122122
| `` z `` | Отменить | Undo last merge conflict resolution. |
123123
| `` e `` | Редактировать файл | Open file in external editor. |
124124
| `` o `` | Открыть файл | Open file in default application. |
125-
| `` M `` | Открыть внешний инструмент слияния (git mergetool) | Run `git mergetool`. |
125+
| `` M `` | View merge conflict options | View options for resolving merge conflicts. |
126126
| `` <esc> `` | Вернуться к панели файлов | |
127127

128128
## Главная панель (сборка патчей)
@@ -390,7 +390,7 @@ _Связки клавиш_
390390
| `` D `` | Reset | View reset options for working tree (e.g. nuking the working tree). |
391391
| `` ` `` | Переключить вид дерева файлов | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory.<br><br>The default can be changed in the config file with the key 'gui.showFileTree'. |
392392
| `` <c-t> `` | Open external diff tool (git difftool) | |
393-
| `` M `` | Открыть внешний инструмент слияния (git mergetool) | Run `git mergetool`. |
393+
| `` M `` | View merge conflict options | View options for resolving merge conflicts. |
394394
| `` f `` | Получить изменения | Fetch changes from remote. |
395395
| `` - `` | Collapse all files | Collapse all directories in the files tree |
396396
| `` = `` | Expand all files | Expand all directories in the file tree |

docs/keybindings/Keybindings_zh-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ _图例:`<c-b>` 意味着ctrl+b, `<a-b>意味着Alt+b, `B` 意味着shift+b_
216216
| `` D `` | 重置 | 查看工作树的重置选项(例如:清除工作树)。 |
217217
| `` ` `` | 切换文件树视图 | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory.<br><br>The default can be changed in the config file with the key 'gui.showFileTree'. |
218218
| `` <c-t> `` | 使用外部差异比较工具(git difftool) | |
219-
| `` M `` | 打开外部合并工具(git mergetool) | 执行 `git mergetool`. |
219+
| `` M `` | View merge conflict options | View options for resolving merge conflicts. |
220220
| `` f `` | 抓取 | 从远程获取变更 |
221221
| `` - `` | 折叠全部文件 | 折叠文件树中的全部目录 |
222222
| `` = `` | 展开全部文件 | 展开文件树中的全部目录 |
@@ -305,7 +305,7 @@ _图例:`<c-b>` 意味着ctrl+b, `<a-b>意味着Alt+b, `B` 意味着shift+b_
305305
| `` z `` | 撤销 | 撤消上次合并冲突解决 |
306306
| `` e `` | 编辑文件 | 使用外部编辑器打开文件 |
307307
| `` o `` | 打开文件 | 使用默认程序打开该文件 |
308-
| `` M `` | 打开外部合并工具(git mergetool) | 执行 `git mergetool`. |
308+
| `` M `` | View merge conflict options | View options for resolving merge conflicts. |
309309
| `` <esc> `` | 返回文件面板 | |
310310

311311
## 正在暂存

docs/keybindings/Keybindings_zh-TW.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ _說明:`<c-b>` 表示 Ctrl+B、`<a-b>` 表示 Alt+B,`B`表示 Shift+B
9797
| `` z `` | 復原 | Undo last merge conflict resolution. |
9898
| `` e `` | 編輯檔案 | 使用外部編輯器開啟 |
9999
| `` o `` | 開啟檔案 | 使用預設軟體開啟 |
100-
| `` M `` | 開啟外部合併工具 | 執行 `git mergetool` |
100+
| `` M `` | View merge conflict options | View options for resolving merge conflicts. |
101101
| `` <esc> `` | 返回檔案面板 | |
102102

103103
## 主面板(預存)
@@ -347,7 +347,7 @@ _說明:`<c-b>` 表示 Ctrl+B、`<a-b>` 表示 Alt+B,`B`表示 Shift+B
347347
| `` D `` | 重設 | View reset options for working tree (e.g. nuking the working tree). |
348348
| `` ` `` | 顯示檔案樹狀視圖 | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory.<br><br>The default can be changed in the config file with the key 'gui.showFileTree'. |
349349
| `` <c-t> `` | 開啟外部差異工具 (git difftool) | |
350-
| `` M `` | 開啟外部合併工具 | 執行 `git mergetool` |
350+
| `` M `` | View merge conflict options | View options for resolving merge conflicts. |
351351
| `` f `` | 擷取 | 同步遠端異動 |
352352
| `` - `` | Collapse all files | Collapse all directories in the files tree |
353353
| `` = `` | Expand all files | Expand all directories in the file tree |

0 commit comments

Comments
 (0)