Skip to content

Commit

Permalink
remove references to shortcuts/keybindings
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Oct 10, 2024
1 parent dcec763 commit 1375bec
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 39 deletions.
7 changes: 3 additions & 4 deletions R/pal.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
#'
#' @description
#' Pals are persistent, ergonomic LLM assistants designed to help you complete
#' repetitive, hard-to-automate tasks quickly. When created, they automatically
#' generate RStudio add-ins registered to keyboard shortcuts. After selecting
#' some code, press the keyboard shortcut you've chosen and watch your code
#' be rewritten.
#' repetitive, hard-to-automate tasks quickly. After selecting some code,
#' press the keyboard shortcut you've chosen to trigger the pal addin (we
#' suggest Cmd + Ctrl + P), select the pal, and watch your code be rewritten.
#'
#' @param role The identifier for a pal prompt. By default one
#' of `r glue::glue_collapse(paste0("[", glue::double_quote(default_roles), "]", "[pal_", default_roles, "]"), ", ", last = " or ")`.
Expand Down
6 changes: 0 additions & 6 deletions R/pal_cli.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@
#' pal("cli")
#' ```
#'
#'
#' We recommended binding the cli pal to the keyboard shortcut
#' `Cmd+;+C` ([written `Cmd+; Cmd+C`](https://www.emacswiki.org/emacs/key-chord.el))
#' via `Tools > Modify Keyboard Shortcuts > Search "Pal"` in RStudio.
#' Pals are typically prefixed with `Command + ;` (or `Alt + ;` on non-macOS).
#'
#' @section Cost:
#'
# TODO: make this a template that takes in the token counts and prices as input
Expand Down
5 changes: 0 additions & 5 deletions R/pal_roxygen.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@
#' pal("roxygen")
#' ```
#'
#' We recommended binding the roxygen pal to the keyboard shortcut
#' `Cmd+;+R` ([written `Cmd+; Cmd+R`](https://www.emacswiki.org/emacs/key-chord.el))
#' via `Tools > Modify Keyboard Shortcuts > Search "Pal"` in RStudio.
#' Pals are typically prefixed with `Command + ;` (or `Alt + ;` on non-macOS).
#'
#' @section Cost:
#'
#' The system prompt from a roxygen pal includes something like 1,000 tokens.
Expand Down
5 changes: 0 additions & 5 deletions R/pal_testthat.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@
#' pal("testthat")
#' ```
#'
#' We recommended binding the testthat pal to the keyboard shortcut
#' `Cmd+;+T` ([written `Cmd+; Cmd+T`](https://www.emacswiki.org/emacs/key-chord.el))
#' via `Tools > Modify Keyboard Shortcuts > Search "Pal"` in RStudio.
#' Pals are typically prefixed with `Command + ;` (or `Alt + ;` on non-macOS).
#'
#' @section Cost:
#'
#' The system prompt from a testthat pal includes something like 1,000 tokens.
Expand Down
7 changes: 3 additions & 4 deletions man/pal.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions man/pal_cli.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions man/pal_roxygen.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions man/pal_testthat.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1375bec

Please sign in to comment.