github / github/copilot.vim

Feat: Accept Copilot Suggestion Up To Character (Find Motion Support)

オープン
#265 コメント 1 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
Vim Script
スター
11.7k
フォーク
810
PR マージ指標
30日以内にマージされた PR はありません

説明

**Summary:**
Requesting a feature to accept Copilot suggestions up to and including (`f` motion) or up to before (`t` motion) a specified character (i.e., leverage Vim’s `f` and `t` motions).

**Example:**
Given the suggestion:
```
The quick brown fox jumps over the lazy dog.
```
- Typing a key sequence like `fj` would accept and insert:
```
The quick brown fox j
```
(up to and including the first `j` in the suggestion).

- Typing a key sequence like `tj` would accept and insert:
```
The quick brown fox
```
(up to but not including the first `j` in the suggestion).

**Rationale:**
- Provides granular acceptance of suggestions.
- Mimics familiar Vim motions for efficiency.

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

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

評価

この issue はまだ評価されていません。

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

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