github / github/copilot.vim

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

Aberta
#265 1 comentário 2 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Vim Script
Estrelas
11.7k
Forks
810
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

**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.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.