Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for sticky prompt section with > #503

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

deathbeam
Copy link
Collaborator

@deathbeam deathbeam commented Nov 17, 2024

  • Everything in blockquote is copied to the next prompt and added at start
    automatically. This is useful for preserving context/agents etc.
  • Remove SHOW_CONTEXT prompt as with sticky its no longer necessary imo and
    claude works fine without additional debugging.
  • Use new sticky feature with default prompts so the system prompt choice is
    remembered automatically
  • Add new toggle_sticky mapping for toggling sticky line under cursor
  • Update README with sticky prompts, prompts and system prompts

Example:

> #files

explain me this

---

> #files

image

@deathbeam deathbeam added the enhancement New feature or request label Nov 17, 2024
@deathbeam deathbeam force-pushed the sticky branch 23 times, most recently from cebaa5e to dae69b2 Compare November 17, 2024 04:59
- Everything in blockquote is copied to the next prompt and added at start
  automatically. This is useful for preserving context/agents etc.
- Remove SHOW_CONTEXT prompt as with sticky its no longer necessary imo and
  claude works fine without additional debugging.
- Use new sticky feature with default prompts so the system prompt choice is
  remembered automatically
- Add new `toggle_sticky` mapping for toggling sticky line under cursor
- Update README with sticky prompts, prompts and system prompts

Example:

```markdown
> #files

explain me this

---

> #files
```

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
@deathbeam deathbeam merged commit 50b3946 into CopilotC-Nvim:canary Nov 17, 2024
1 check passed
@deathbeam deathbeam deleted the sticky branch November 17, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant