README: Update README for MELPA

This commit is contained in:
Karthik Chikmagalur 2023-03-19 17:50:51 -07:00
parent 9f8a984729
commit f0eba0cf4f

View file

@ -13,14 +13,13 @@ GPTel is a simple, no-frills ChatGPT client for Emacs.
** Installation ** Installation
*** Package.el GPTel is on MELPA. Install it with =M-x package-install⏎= =gptel=.
Clone this repository and run =M-x package-install-file=.
Installing the =markdown-mode= package is optional. (Optional: Install =markdown-mode=.)
*** Straight *** Straight
#+begin_src emacs-lisp #+begin_src emacs-lisp
(straight-use-package '(gptel :host github :repo "karthink/gptel")) (straight-use-package 'gptel)
#+end_src #+end_src
Installing the =markdown-mode= package is optional. Installing the =markdown-mode= package is optional.
@ -56,11 +55,11 @@ The default mode is =markdown-mode= if available, else =text-mode=. You can set
*** In any buffer: *** In any buffer:
Select a region of text, call =M-x gptel-send=. 1. Select a region of text and call =M-x gptel-send=. The response will be inserted below your region.
2. You can select both the original prompt and the response and call =M-x gptel-send= again to continue the conversation.
The response will be inserted below your region. You can select both the original prompt and the resposne and call =M-x gptel-send= again to continue the conversation. 3. Call =M-x gptel-send= with a prefix argument to set chat parameters, or to start a dedicated session from the selected region:
You can select a region and start a dedicated session, or set chat parameters by calling =M-x gptel-send= with a prefix-arg:
[[https://user-images.githubusercontent.com/8607532/224949877-08c44cb4-7bff-4ffc-963a-16fef7a4271f.png]] [[https://user-images.githubusercontent.com/8607532/224949877-08c44cb4-7bff-4ffc-963a-16fef7a4271f.png]]