gitui-org / gitui-org/gitui

it always return to 'Status [1]' tab after editing a file from 'Files [3]' tab. any way to change it?

未关闭
#2,011 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Rust
星标
22.5k
派生
773
PR 合并指标
30 天内没有已合并 PR

描述

**Describe the bug**
I set $EDITOR to vim and I need to edit more than one files from the 'Files' tab. However, each time when I quit from vim, gitui always return to the first 'Status' tab. I can understand the purpose of this but I do need to continue editing other files instead of checking the changed status.

is there any config to change this? thanks!

**To Reproduce**
Steps to reproduce the behavior:
1. Go to tab 3
2. navigate to and open a file
3. quit the editor
4. it return to tab 'Status'

**Expected behavior**
I would like it stay on the 'Files' tab so that I could edit other files

贡献指南

打开贡献指南

调研方向

在 gitui 中从 Files tab 打开一个文件,使用 vim 编辑该文件,然后退出编辑器,以复现这一行为。首先跟踪编辑器退出后的选项卡转换;当返回 Files tab,从而无需手动导航返回即可打开另一个文件时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
rust
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。