kingToolbox / kingToolbox/WindTerm
建议:功能请求手动将文件面板同步到当前终端所在目录
- Dominant language
- C
- Stars
- 32.3k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
### 需求原因
我在使用终端进行目录跳转(比如使用 `cd` 命令)时,经常希望能在左侧的文件面板中快速查看当前所在目录的文件。但目前 WindTerm 并没有提供一种方式可以**手动将文件面板跳转到终端当前所在的路径**。现在我只能通过执行 `pwd`,手动复制路径,然后粘贴到文件面板的地址栏中,操作较为繁琐。
### 功能需求
因为我看到在文件面板右键有将目录文件复制到终端这个功能。
我希望 WindTerm 可以增加一个类似的功能:
**通过一个按钮、右键菜单或快捷键,让文件面板跳转到当前终端所处的目录路径**,类似文件面板中“在终端中打开”的反向操作。
比如:
- 在终端界面右键菜单中加入:“在文件面板中显示当前目录”
- 一个顶部按钮:“同步到终端路径”
- 支持通过 snippet 或自定义按钮调用该操作
### 其他补充说明
这个功能对于需要频繁在终端与文件树之间切换的用户非常有帮助,也类似于一些 IDE 中的“在文件管理器中显示”或“定位到当前文件”功能。
非常感谢 WindTerm 的开发者带来这么出色的工具,期待功能不断完善!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the existing file-panel right-click action that sends a directory to the terminal, then inspect how the terminal's current directory is exposed. Add a reverse action available from the terminal or file panel, with optional snippet or custom-button support. Done means the file panel navigates to the active terminal directory without manually copying pwd output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli, desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100