Skip to content

Commit ce3cfae

Browse files
committed
Add keybinding to focus secondary main view
1 parent 74350cd commit ce3cfae

17 files changed

Lines changed: 233 additions & 18 deletions

docs-master/Config.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,7 @@ keybinding:
622622
- "4"
623623
- "5"
624624
focusMainView: "0"
625+
focusSecondaryView: "9"
625626
nextMatch: "n"
626627
prevMatch: "N"
627628
startSearch: /

docs-master/keybindings/Keybindings_en.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
6868
| `` - `` | Collapse all files | Collapse all directories in the files tree |
6969
| `` = `` | Expand all files | Expand all directories in the file tree |
7070
| `` 0 `` | Focus main view | |
71+
| `` 9 `` | Focus secondary view | |
7172
| `` / `` | Filter the current view by text | |
7273

7374
## Commit summary
@@ -115,6 +116,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
115116
| `` <ctrl+t> `` | Open external diff tool (git difftool) | |
116117
| `` * `` | Select commits of current branch | |
117118
| `` 0 `` | Focus main view | |
119+
| `` 9 `` | Focus secondary view | |
118120
| `` <enter> `` | View files | |
119121
| `` w `` | View worktree options | |
120122
| `` / `` | Search the current view by text | |
@@ -158,6 +160,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
158160
| `` - `` | Collapse all files | Collapse all directories in the files tree |
159161
| `` = `` | Expand all files | Expand all directories in the file tree |
160162
| `` 0 `` | Focus main view | |
163+
| `` 9 `` | Focus secondary view | |
161164
| `` / `` | Filter the current view by text | |
162165

163166
## Input prompt
@@ -194,6 +197,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
194197
| `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. |
195198
| `` <ctrl+t> `` | Open external diff tool (git difftool) | |
196199
| `` 0 `` | Focus main view | |
200+
| `` 9 `` | Focus secondary view | |
197201
| `` <enter> `` | View commits | |
198202
| `` w `` | View worktree options | |
199203
| `` / `` | Filter the current view by text | |
@@ -223,6 +227,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
223227
| `` <tab> `` | Switch view | Switch to other view (staged/unstaged changes). |
224228
| `` <esc> `` | Exit back to side panel | |
225229
| `` 0 `` | Focus main view | |
230+
| `` 9 `` | Focus secondary view | |
226231
| `` / `` | Search the current view by text | |
227232

228233
## Main panel (patch building)
@@ -287,6 +292,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
287292
| `` <ctrl+t> `` | Open external diff tool (git difftool) | |
288293
| `` * `` | Select commits of current branch | |
289294
| `` 0 `` | Focus main view | |
295+
| `` 9 `` | Focus secondary view | |
290296
| `` <enter> `` | View commits | |
291297
| `` w `` | View worktree options | |
292298
| `` / `` | Filter the current view by text | |
@@ -306,6 +312,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
306312
| `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. |
307313
| `` <ctrl+t> `` | Open external diff tool (git difftool) | |
308314
| `` 0 `` | Focus main view | |
315+
| `` 9 `` | Focus secondary view | |
309316
| `` <enter> `` | View commits | |
310317
| `` w `` | View worktree options | |
311318
| `` / `` | Filter the current view by text | |
@@ -329,6 +336,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
329336
| `` <tab> `` | Switch view | Switch to other view (staged/unstaged changes). |
330337
| `` <esc> `` | Exit back to side panel | |
331338
| `` 0 `` | Focus main view | |
339+
| `` 9 `` | Focus secondary view | |
332340
| `` / `` | Search the current view by text | |
333341

334342
## Stash
@@ -341,6 +349,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
341349
| `` n `` | New branch | Create a new branch from the selected stash entry. This works by git checking out the commit that the stash entry was created from, creating a new branch from that commit, then applying the stash entry to the new branch as an additional commit. |
342350
| `` r `` | Rename stash | |
343351
| `` 0 `` | Focus main view | |
352+
| `` 9 `` | Focus secondary view | |
344353
| `` <enter> `` | View files | |
345354
| `` w `` | View worktree options | |
346355
| `` / `` | Filter the current view by text | |
@@ -356,6 +365,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
356365
| `` a `` | Show/cycle all branch logs | |
357366
| `` A `` | Show/cycle all branch logs (reverse) | |
358367
| `` 0 `` | Focus main view | |
368+
| `` 9 `` | Focus secondary view | |
359369

360370
## Sub-commits
361371

@@ -373,6 +383,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
373383
| `` <ctrl+t> `` | Open external diff tool (git difftool) | |
374384
| `` * `` | Select commits of current branch | |
375385
| `` 0 `` | Focus main view | |
386+
| `` 9 `` | Focus secondary view | |
376387
| `` <enter> `` | View files | |
377388
| `` w `` | View worktree options | |
378389
| `` / `` | Search the current view by text | |
@@ -403,6 +414,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
403414
| `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. |
404415
| `` <ctrl+t> `` | Open external diff tool (git difftool) | |
405416
| `` 0 `` | Focus main view | |
417+
| `` 9 `` | Focus secondary view | |
406418
| `` <enter> `` | View commits | |
407419
| `` w `` | View worktree options | |
408420
| `` / `` | Filter the current view by text | |

docs-master/keybindings/Keybindings_ja.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
9595
| `` <ctrl+t> `` | 外部差分ツールを開く(git difftool) | |
9696
| `` * `` | 現在のブランチのコミットを選択 | |
9797
| `` 0 `` | メインビューにフォーカス | |
98+
| `` 9 `` | Focus secondary view | |
9899
| `` <enter> `` | ファイルを表示 | |
99100
| `` w `` | ワークツリーオプションを表示 | |
100101
| `` / `` | 現在のビューをテキストで検索 | |
@@ -117,6 +118,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
117118
| `` - `` | すべてのファイルを折りたたむ | ファイルツリー内のすべてのディレクトリを折りたたみます |
118119
| `` = `` | すべてのファイルを展開 | ファイルツリー内のすべてのディレクトリを展開します |
119120
| `` 0 `` | メインビューにフォーカス | |
121+
| `` 9 `` | Focus secondary view | |
120122
| `` / `` | 現在のビューをテキストでフィルタリング | |
121123

122124
## コミット概要
@@ -142,6 +144,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
142144
| `` <ctrl+t> `` | 外部差分ツールを開く(git difftool) | |
143145
| `` * `` | 現在のブランチのコミットを選択 | |
144146
| `` 0 `` | メインビューにフォーカス | |
147+
| `` 9 `` | Focus secondary view | |
145148
| `` <enter> `` | ファイルを表示 | |
146149
| `` w `` | ワークツリーオプションを表示 | |
147150
| `` / `` | 現在のビューをテキストで検索 | |
@@ -170,6 +173,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
170173
| `` n `` | 新しいブランチ | 選択したスタッシュエントリから新しいブランチを作成します。これは、スタッシュエントリが作成されたコミットをgitがチェックアウトし、そのコミットから新しいブランチを作成した後、スタッシュエントリを追加のコミットとして新しいブランチに適用することで機能します。 |
171174
| `` r `` | スタッシュの名前を変更 | |
172175
| `` 0 `` | メインビューにフォーカス | |
176+
| `` 9 `` | Focus secondary view | |
173177
| `` <enter> `` | ファイルを表示 | |
174178
| `` w `` | ワークツリーオプションを表示 | |
175179
| `` / `` | 現在のビューをテキストでフィルタリング | |
@@ -185,6 +189,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
185189
| `` a `` | ブランチログの表示モードを順に切り替え | |
186190
| `` A `` | Show/cycle all branch logs (reverse) | |
187191
| `` 0 `` | メインビューにフォーカス | |
192+
| `` 9 `` | Focus secondary view | |
188193

189194
## セカンダリ
190195

@@ -193,6 +198,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
193198
| `` <tab> `` | ビューを切り替え | 他のビュー(ステージされた変更/ステージされていない変更)に切り替えます。 |
194199
| `` <esc> `` | サイドパネルに戻る | |
195200
| `` 0 `` | メインビューにフォーカス | |
201+
| `` 9 `` | Focus secondary view | |
196202
| `` / `` | 現在のビューをテキストで検索 | |
197203

198204
## タグ
@@ -207,6 +213,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
207213
| `` g `` | リセット | 選択した項目へのリセットオプション(ソフト/ミックス/ハード)を表示します。各リセットタイプの詳細は次の通りです:<br>- ソフトリセット:変更を保持し、ステージされた状態にします<br>- ミックスリセット:変更を保持し、ステージされていない状態にします<br>- ハードリセット:すべての変更を破棄します |
208214
| `` <ctrl+t> `` | 外部差分ツールを開く(git difftool) | |
209215
| `` 0 `` | メインビューにフォーカス | |
216+
| `` 9 `` | Focus secondary view | |
210217
| `` <enter> `` | コミットを表示 | |
211218
| `` w `` | ワークツリーオプションを表示 | |
212219
| `` / `` | 現在のビューをテキストでフィルタリング | |
@@ -242,6 +249,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
242249
| `` - `` | すべてのファイルを折りたたむ | ファイルツリー内のすべてのディレクトリを折りたたみます |
243250
| `` = `` | すべてのファイルを展開 | ファイルツリー内のすべてのディレクトリを展開します |
244251
| `` 0 `` | メインビューにフォーカス | |
252+
| `` 9 `` | Focus secondary view | |
245253
| `` / `` | 現在のビューをテキストでフィルタリング | |
246254

247255
## メインパネル(ステージング)
@@ -307,6 +315,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
307315
| `` <tab> `` | ビューを切り替え | 他のビュー(ステージされた変更/ステージされていない変更)に切り替えます。 |
308316
| `` <esc> `` | サイドパネルに戻る | |
309317
| `` 0 `` | メインビューにフォーカス | |
318+
| `` 9 `` | Focus secondary view | |
310319
| `` / `` | 現在のビューをテキストで検索 | |
311320

312321
## メニュー
@@ -333,6 +342,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
333342
| `` <ctrl+t> `` | 外部差分ツールを開く(git difftool) | |
334343
| `` * `` | 現在のブランチのコミットを選択 | |
335344
| `` 0 `` | メインビューにフォーカス | |
345+
| `` 9 `` | Focus secondary view | |
336346
| `` <enter> `` | コミットを表示 | |
337347
| `` w `` | ワークツリーオプションを表示 | |
338348
| `` / `` | 現在のビューをテキストでフィルタリング | |
@@ -364,6 +374,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
364374
| `` g `` | リセット | 選択した項目へのリセットオプション(ソフト/ミックス/ハード)を表示します。各リセットタイプの詳細は次の通りです:<br>- ソフトリセット:変更を保持し、ステージされた状態にします<br>- ミックスリセット:変更を保持し、ステージされていない状態にします<br>- ハードリセット:すべての変更を破棄します |
365375
| `` <ctrl+t> `` | 外部差分ツールを開く(git difftool) | |
366376
| `` 0 `` | メインビューにフォーカス | |
377+
| `` 9 `` | Focus secondary view | |
367378
| `` <enter> `` | コミットを表示 | |
368379
| `` w `` | ワークツリーオプションを表示 | |
369380
| `` / `` | 現在のビューをテキストでフィルタリング | |
@@ -395,6 +406,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
395406
| `` u `` | アップストリームオプションを表示 | ブランチのアップストリームに関連するオプションを表示します(例:アップストリームの設定/解除やアップストリームへのリセット)。 |
396407
| `` <ctrl+t> `` | 外部差分ツールを開く(git difftool) | |
397408
| `` 0 `` | メインビューにフォーカス | |
409+
| `` 9 `` | Focus secondary view | |
398410
| `` <enter> `` | コミットを表示 | |
399411
| `` w `` | ワークツリーオプションを表示 | |
400412
| `` / `` | 現在のビューをテキストでフィルタリング | |

docs-master/keybindings/Keybindings_ko.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
7373
| `` <ctrl+t> `` | Open external diff tool (git difftool) | |
7474
| `` * `` | Select commits of current branch | |
7575
| `` 0 `` | Focus main view | |
76+
| `` 9 `` | Focus secondary view | |
7677
| `` <enter> `` | 커밋 보기 | |
7778
| `` w `` | View worktree options | |
7879
| `` / `` | Filter the current view by text | |
@@ -84,6 +85,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
8485
| `` <tab> `` | 패널 전환 | Switch to other view (staged/unstaged changes). |
8586
| `` <esc> `` | Exit back to side panel | |
8687
| `` 0 `` | Focus main view | |
88+
| `` 9 `` | Focus secondary view | |
8789
| `` / `` | 검색 시작 | |
8890

8991
## Stash
@@ -96,6 +98,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
9698
| `` n `` | 새 브랜치 생성 | Create a new branch from the selected stash entry. This works by git checking out the commit that the stash entry was created from, creating a new branch from that commit, then applying the stash entry to the new branch as an additional commit. |
9799
| `` r `` | Rename stash | |
98100
| `` 0 `` | Focus main view | |
101+
| `` 9 `` | Focus secondary view | |
99102
| `` <enter> `` | View selected item's files | |
100103
| `` w `` | View worktree options | |
101104
| `` / `` | Filter the current view by text | |
@@ -116,6 +119,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
116119
| `` <ctrl+t> `` | Open external diff tool (git difftool) | |
117120
| `` * `` | Select commits of current branch | |
118121
| `` 0 `` | Focus main view | |
122+
| `` 9 `` | Focus secondary view | |
119123
| `` <enter> `` | View selected item's files | |
120124
| `` w `` | View worktree options | |
121125
| `` / `` | 검색 시작 | |
@@ -163,6 +167,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
163167
| `` <tab> `` | 패널 전환 | Switch to other view (staged/unstaged changes). |
164168
| `` <esc> `` | Exit back to side panel | |
165169
| `` 0 `` | Focus main view | |
170+
| `` 9 `` | Focus secondary view | |
166171
| `` / `` | 검색 시작 | |
167172

168173
## 메인 패널 (Patch Building)
@@ -230,6 +235,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
230235
| `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. |
231236
| `` <ctrl+t> `` | Open external diff tool (git difftool) | |
232237
| `` 0 `` | Focus main view | |
238+
| `` 9 `` | Focus secondary view | |
233239
| `` <enter> `` | 커밋 보기 | |
234240
| `` w `` | View worktree options | |
235241
| `` / `` | Filter the current view by text | |
@@ -245,6 +251,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
245251
| `` a `` | Show/cycle all branch logs | |
246252
| `` A `` | Show/cycle all branch logs (reverse) | |
247253
| `` 0 `` | Focus main view | |
254+
| `` 9 `` | Focus secondary view | |
248255

249256
## 서브모듈
250257

@@ -287,6 +294,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
287294
| `` g `` | View reset options | View reset options (soft/mixed/hard) for resetting onto selected item. |
288295
| `` <ctrl+t> `` | Open external diff tool (git difftool) | |
289296
| `` 0 `` | Focus main view | |
297+
| `` 9 `` | Focus secondary view | |
290298
| `` <enter> `` | 커밋 보기 | |
291299
| `` w `` | View worktree options | |
292300
| `` / `` | Filter the current view by text | |
@@ -329,6 +337,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
329337
| `` <ctrl+t> `` | Open external diff tool (git difftool) | |
330338
| `` * `` | Select commits of current branch | |
331339
| `` 0 `` | Focus main view | |
340+
| `` 9 `` | Focus secondary view | |
332341
| `` <enter> `` | View selected item's files | |
333342
| `` w `` | View worktree options | |
334343
| `` / `` | 검색 시작 | |
@@ -351,6 +360,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
351360
| `` - `` | Collapse all files | Collapse all directories in the files tree |
352361
| `` = `` | Expand all files | Expand all directories in the file tree |
353362
| `` 0 `` | Focus main view | |
363+
| `` 9 `` | Focus secondary view | |
354364
| `` / `` | Filter the current view by text | |
355365

356366
## 커밋메시지
@@ -372,6 +382,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
372382
| `` g `` | 초기화 | View reset options (soft/mixed/hard) for resetting onto selected item. |
373383
| `` <ctrl+t> `` | Open external diff tool (git difftool) | |
374384
| `` 0 `` | Focus main view | |
385+
| `` 9 `` | Focus secondary view | |
375386
| `` <enter> `` | 커밋 보기 | |
376387
| `` w `` | View worktree options | |
377388
| `` / `` | Filter the current view by text | |
@@ -407,6 +418,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
407418
| `` - `` | Collapse all files | Collapse all directories in the files tree |
408419
| `` = `` | Expand all files | Expand all directories in the file tree |
409420
| `` 0 `` | Focus main view | |
421+
| `` 9 `` | Focus secondary view | |
410422
| `` / `` | Filter the current view by text | |
411423

412424
## 확인 패널

0 commit comments

Comments
 (0)