Commit Graph

1415 Commits

Author SHA1 Message Date
5b0cab188e Move backend selection into interactive call 2024-08-07 13:09:13 -04:00
cc12ad22b4 Expand gptel-directive for org-mode with more guidelines
Updated the gptel-directive for org-mode to provide detailed instructions on how to return Emacs Lisp, Python, and shell-script code blocks. Additionally, included several examples to illustrate the expected code block format and evaluation criteria.
2024-08-07 13:01:35 -04:00
6f353f7e45 Load init-navigation later 2024-08-06 11:59:32 -04:00
5873205a25 Enable Markdown export from org-mode 2024-08-06 11:59:16 -04:00
f4ff08e0ba Add keybinding setup for ace-link in eww mode
Configured ace-link keybinding for eww mode to ensure it works correctly by defining it within a setup function and adding a hook for eww-mode.
2024-08-06 11:59:05 -04:00
82bd3725a2 Generate PR diffs properly 2024-08-06 11:58:50 -04:00
f0a47640e5 Open AWS console links in default browser 2024-08-06 11:58:23 -04:00
2f02bc6e1b Add new directives for code review and prompt generation
This commit introduces two new directives into the gptel configuration: one for code review and another for prompt generation. The code review directive provides guidelines for giving feedback on code snippets, while the prompt generation directive outlines steps for creating effective prompts.
2024-08-05 10:03:30 -04:00
c0f2631b00 Add directive for stable diffusion prompt generation
This change adds a new directive to the gptel configuration for creating detailed prompts for stable diffusion image generators. The directive specifies how to translate a simple natural language description into a more detailed and descriptive prompt to ensure high-quality image generation.
2024-07-25 21:31:47 -04:00
38db89e9be Open ComfyUI in default browser 2024-07-25 21:31:24 -04:00
8f6b50d84e Remove llama configuration from init-ai.el 2024-07-25 21:10:26 -04:00
a47f4e537d Add gptel-chat-with-buffer function and keybinding
This commit introduces the gptel-chat-with-buffer function, allowing users to start a chat with the buffer content. It also updates keybindings, assigning "b" to the new function and moving gptel-select-backend to "B".
2024-07-25 21:10:14 -04:00
e63466ca1f Extract org-mode LLM directive into variable 2024-07-25 16:22:18 -04:00
27faface1b Add ob-async 2024-07-25 16:22:10 -04:00
71d26e5e05 Add imenu for eww
Add support for Imenu integration to EWW mode by defining a custom index function that uses HTML headings from the current buffer as menu items, and then add this hook to eww-mode-hook so that it can be triggered automatically when eww buffers are opened. This change includes code borrowed from 3b46f9c0e0
2024-07-25 16:15:31 -04:00
a00ecb3fc0 Enable shell source code blocks in Org-mode Babel 2024-07-25 00:28:07 -04:00
ccf97514f6 Update gptel--system-message for automatic code evaluation
Removed the need for confirmation before evaluating code in Org-Mode source blocks, allowing automatic execution.
2024-07-25 00:27:56 -04:00
ed63a1ea0f Add gptel-org function
Implemented a gptel-org function to allow interacting with GPTel within an Org-Mode buffer, setting the appropriate system message for context. Updated init-org.el to load Emacs-Lisp and Python Babel languages and disabled org-confirm-babel-evaluate for smoother code execution.
2024-07-25 00:10:48 -04:00
a7b98cad02 Add keybinding for gptel-abort 2024-07-24 16:19:58 -04:00
8d7dec78f5 Add shell command directive to gptel configuration
This change introduces a new directive for generating shell commands to the gptel configuration. The directive specifies that the response should be plain text with no additional description or formatting.
2024-07-24 16:09:16 -04:00
0adc712d2f Update ollama models
Changed the model names from "llama3:latest" and "mistral:latest" to "llama3.1:latest" and "mistral-nemo:latest" respectively in the GPTel Ollama backend configuration.
2024-07-24 16:00:22 -04:00
28da68fcd1 Prevent SVG rendering in EWW buffer
Added functionality to ignore SVG files during rendering in EWW to address rendering issues associated with SVGs.
2024-07-24 16:00:10 -04:00
a37891f4fc Configure webjump 2024-07-24 14:21:08 -04:00
906560dae0 Add key binding for generating git commit messages 2024-07-24 13:01:19 -04:00
0973393714 Add vterm AWS profile switch command and keybinding
Added a new function `vterm-aws-switch-profile` to switch AWS profiles in the current vterm buffer and associated it with the keybinding `C-c a` for quick access. This facilitates easier management of AWS profiles within vterm sessions.
2024-07-24 12:08:14 -04:00
8ad4c70070 Add bookmark support and keybindings to EWW in Emacs
This commit adds the ability to access EWW bookmarks. It modifies the init-eww.el configuration file by introducing a function to visit bookmarks and updating the keybindings to include commands for accessing and listing bookmarks.
2024-07-24 11:41:07 -04:00
4a7ccb378d Only load embark target finder for forge in Magit buffers 2024-07-24 11:26:17 -04:00
05d94e2646 Refines commit message prompt directive
Updated the guidelines for generating commit messages to avoid using the word 'enhance' and user experience references, and request plain text responses without syntax.
2024-07-24 10:42:04 -04:00
77138e6dc9 Handle AWS SSO login buffer cleanup
Added process sentinel to close the *aws-sso-login* buffer when the AWS SSO login process finishes
2024-07-24 10:40:08 -04:00
f9b49ef7b6 Autoload gptel-request 2024-07-24 10:28:22 -04:00
3141955f9c Add language detection to YAML scalar editing
Integrated language-detection to automatically detect and set major modes based on buffer/string content. Enhanced YAML editing with language detection for buffer initialization.
2024-07-24 10:26:33 -04:00
d60fa4e873 Move eww init to its own file and add syntax highlighting to pre tags 2024-07-24 00:25:57 -04:00
ef62f0c172 Set up evil-collection keybindings for ibuffer 2024-07-23 16:40:46 -04:00
a4f90da304 Add consult-line binding to embark-general-map
Added the "/" key binding in embark-general-map to trigger consult-line, enhancing quick line searching functionality.
2024-07-23 13:18:30 -04:00
454ffb7d33 Add EWW functions for URL handling and buffer renaming
This commit introduces three new custom functions for EWW: `eww-rename-buffer-to-title` for renaming buffers based on page titles, `eww-capture-urls-on-page` to capture all links on the current page, `eww-visit-url-on-page` to select and visit links using completion, and `eww-jump-to-url-on-page` to jump to URLs on the page. These enhancements improve the usability and navigation of EWW.
2024-07-23 13:18:09 -04:00
f3353bb124 Add eww configuration and custom URL prompt function
This commit adds configuration for the built-in `eww` web browser in Emacs. It introduces a custom prompting function that suggests URLs or keywords based on the browsing history, current URL, and other suggestions, enhancing the user experience. Additionally, a key binding for the `eww` function is added in `eww-mode-map`.
2024-07-23 11:00:57 -04:00
f49adb3b73 Update OpenAI reference to ChatGPT in init-ai.el 2024-07-21 08:06:51 -04:00
9fb96b3099 Refactor gptel backend selection and configuration
Reorganized backend definitions and selection process for gptel, introducing `gptel-backend-openai` and `gptel-backend-ollama` variables. Simplified backend selection logic and improved the `gptel-select-backend` function to dynamically prompt for models.
2024-07-21 00:49:29 -04:00
70599ad053 Add ace-link navigation configuration 2024-07-19 23:45:01 -04:00
ea7185c359 Get rid of spotify git hosts 2024-07-19 23:40:35 -04:00
ac0b59b569 Add eww and arc-mode setup to evil-collection 2024-07-19 23:40:21 -04:00
91ce6952ea Set avy-style to pre 2024-07-19 23:40:14 -04:00
6b9161a797 Add AI keybindings 2024-07-19 23:40:04 -04:00
31220b41b9 Support multiple GPT backends in gptel config
Enhanced the gptel configuration to support multiple backends (Ollama and OpenAI) and added a function to select the desired backend. Default backend is set to OpenAI.
2024-07-16 22:42:22 -04:00
9360580a94 Add Forge diff-for-pr function for pull request creation
This commit adds a new function forge-diff-for-pr to generate a Git diff for use in pull request creation. The function is called automatically when creating a pull request using Forge, providing an easy way to view changes between the source and target branches.
2024-07-16 14:24:30 -04:00
3537134c23 Add Terraform console functionality to Emacs.
This commit adds the ability to run a Terraform console at a specified path in a comint buffer, making it easier to interactively explore and manage Terraform state.
2024-07-16 14:24:16 -04:00
be07e673f9 Update gptel-commit-message prompt 2024-07-16 14:23:02 -04:00
bcb8d468a6 Add function to generate commit messages with gptel 2024-07-15 16:16:11 -04:00
0b8be7b2f7 Add function to jump to tf plan output 2024-07-15 16:16:11 -04:00
8b75209521 Remove casual-calc 2024-07-13 09:27:45 -04:00