Add an option so that opening a file from macOS’s "external editor" mechanism does not bring macvim to foreground
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- macos, vim
- 領域
- desktop
研究方向
首先追蹤 MacVim 對 macOS external-editor 或 remote-command 的處理,以及 breakpoint 或 frame 發生變更時啟用應用程式的位置。完成的標準是:可設定的選項預設保留目前的前景行為,同時允許開啟遠端檔案時讓 lldb 保持焦點;透過 external-editor 工作流程驗證這一點。
由索引模型根據 Issue 內容生成。
描述
In macOS, I am setting the default editor for source code files to open with macvim be default so that macvim can be the editor when debugging on lldb with lldb --editor. However, whenever a breakpoint is hit, or a frame changed, the focus automatically goes from lldb to macvim. I wish I could keep the focus on lldb instead.
Describe the solution you'd like
Maybe there could be an option called macvim_dont_bring_to_foreground, set to 0 by default, that enables the current behavior (bringing macvim to foreground when a remote command arrives), and can be set to 1 to disable the foreward bringing).
Describe alternatives you've considered
I have considered using vim in the terminal instead, by the server part of +clientserver is disabled.
Additional context
Add any other context or screenshots about the feature request here.
EDIT: lldb don’t use $EDITOR but the host’s external editor instead.
- 主要語言
- Vim Script
- 星號
- 7.9k
- 分支
- 690
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
macvim-dev/macvim 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
macvim-dev/macvim#1697 · 5 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 76/100
macvim-dev/macvim#1658 ·
-
難度 2/5 1-3 小時 新手友好度 76/100
macvim-dev/macvim#1657 ·
-
難度 2/5 1-3 小時 新手友好度 76/100
macvim-dev/macvim#1655 ·
-
難度 2/5 半天 新手友好度 72/100
macvim-dev/macvim#1653 ·
查看 macvim-dev/macvim 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 74/100
維護者通常 1 天內回覆
-
[Desktop][Windows] Two Cline entries in Notifications Settings - PowerShell toast uses wrong AppID未關閉
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
nix-community/plasma-manager#670 ·
維護者通常 7 天內回覆
-
bug has-stack-trace
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
Nextcloud Desktop 34.0.4 fails TestLocalDiscovery::testFileOpenedAsDirectoryCompletesDiscoveryJob()未關閉0. Needs triage bug
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 1 天內回覆