macvim-dev / macvim-dev/macvim

Copy [CMD]+[C] from command/status bar doesn't copy selected characters into the clipboard.

オープン
#854 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Feature Request
主要言語
Vim Script
スター
7.9k
フォーク
691
PR マージ指標
30日以内にマージされた PR はありません

説明

Steps to reproduce:

  1. Start mac vim with empty or no file [mvim]
  2. Press i and type some letters f.i.: Strange Issue
  3. Escape out of insert mode.
  4. Double click on the word Strange to select it.
  5. Press CMD+C (Strange is now in the clipboard)
  6. Search for some random characters [/nothing]
  7. mvim will display in bottom most status/message bar: E486: Pattern not found: nothing
  8. Double click on the word Pattern in the status/error bar at the bottom of the screen.
  9. Press CMD+C (Note that the Edit menu flashes)
  10. Press i for insert mode.
  11. Press CMD+V
  12. Note that mvim pastes "Strange" and not "Pattern"

Expected Behaviour:
It should paste Pattern or better yet, if something is selected on the status bar and the Copy command is given to Mac Os x, the selected characters should be copied to the OS clipboard.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、記載された手順を使って MacVim で問題を再現し、下部のステータス/メッセージバーにおける選択と CMD+C の処理に注目してください。その選択に使用される MacVim のコマンドおよびクリップボードの経路を追跡します。「Pattern」をコピーすると「Strange」が保持されるのではなく、CMD+V で利用できるようになれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
macos, vim
領域
desktop
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。