git-gui:将键盘焦点移至“已更改的文件”
我尝试仅通过键盘使用计算机,而不触摸鼠标。
在 git-gui 中,如何将键盘焦点移动到已更改文件列表,以便可以暂存它们 (Ctrl + T)一对一?我知道我可以使用 Ctrl + I 暂存所有更改的文件,但它不适用于暂存新创建的文件。
I'm trying to use my computer with keyboard only, without touching the mouse.
In git-gui
, how do I move the keyboard focus to the list of changed files, so I can stage them (Ctrl + T) one-by-one? I know I can stage all changed files with Ctrl + I, but it doesn't work for staging newly created files.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用键盘控制一些内容:
但是我发现无法跳转到 [Un ]Stated 更改框以及[un]舞台帅哥或台词。
You can control a few things with the keyboard:
However I found no way to jump to the [Un]Staged Changes boxes and also to [un]stage hunks or lines.
已制作补丁以启用
ALT+1
(数字最多为 4)来聚焦 git-gui 界面的小部件:ALT+1
focus "Unstaged Changes"ALT+3
聚焦差异视图ALT+4
聚焦提交消息对话框您可以阅读有关实现的更多信息讨论此处
A patch was made to enable
ALT+1
(and numbers up to 4) to focus the widgets of the git-gui interface:ALT+1
focus "Unstaged Changes"ALT+2
focus "Staged Changes"ALT+3
focus the diff viewALT+4
focus the commit message dialogYou can read more about the implementation discussions here