Commit Graph

1221 Commits

Author SHA1 Message Date
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
e29116f2f6 Add utility function to render ansi colors in a file 2024-07-09 13:20:24 -04:00
f394365ff9 Replace pixel-scroll with ultra-scroll-mac 2024-07-09 13:20:13 -04:00
fbc12a5434 Add casual-calc 2024-07-09 10:42:36 -04:00
6a33416fad Add "ask AI" mu4e action 2024-07-08 11:06:39 -04:00
8ac32f0955 Add posframe 2024-07-03 16:15:18 -04:00
e0f367faad Add gptel-quick 2024-07-03 16:09:55 -04:00
ccaf60abbd Add dbg macro 2024-07-03 15:21:40 -04:00
893a673616 Add gptel 2024-07-03 15:21:34 -04:00
9acc16c9aa Add some utility AI replacement functions 2024-07-02 15:07:57 -04:00
11755d6201 Add spinner indicating when the AI is responding, and inhibit input during that time 2024-07-02 14:41:14 -04:00
211904a190 Fix terraform devdocs eldoc docs 2024-06-28 13:58:29 -04:00
f8c3f76cbd Add ollama-copilot-mode to switch to local LLM for copilot 2024-06-28 13:21:47 -04:00
c140740a32 When prompting about a whole buffer, don't put whole buffer in chat 2024-06-27 21:49:16 -05:00
78bc060018 Open a new Llama chat if you call llama-ask* without an existing chat 2024-06-18 16:00:09 -04:00
f3c529781c Fix delete-file implementation 2024-06-18 12:35:05 -04:00
68955452a5 Add dape for debugging 2024-06-13 13:49:30 -04:00
7aea6199cd Fix org-daily capture template 2024-06-13 13:49:23 -04:00
5f63c40b97 Use quit-window instead of bury-buffer 2024-06-13 13:49:10 -04:00
33cd6207f9 Enable evil-mode in the minibuffer 2024-06-06 16:04:19 -04:00
2960fc5ad1 Set up Avy 2024-06-06 11:49:48 -04:00
78dc31a1d9 Use pixel-scroll-precision-mode to scroll by pixel instead of by line. 2024-06-06 11:49:31 -04:00
5362bb63e3 Don't let switch-to-buffer mess with window layout 2024-06-06 09:50:17 -04:00
f993466d81 Run rspec in spec root if found 2024-06-06 09:50:08 -04:00
5169285be0 Add comfy-ui command 2024-06-05 13:13:57 -04:00
f1698e3247 Remove eval, add filter mechanism 2024-05-29 14:36:26 -04:00
d36967e371 Minor tweaks 2024-05-24 01:03:44 -04:00
8db9cc7e8f Make a version of llama-replace-in-region that does not have context 2024-05-23 22:59:43 -04:00
6191654511 Give the AI the ability to evaluate elisp 2024-05-23 18:31:13 -04:00
cdd674fdcd Many more llama improvement 2024-05-23 13:28:24 -04:00
e91b1d6480 Make llama chat nicer 2024-05-23 10:49:23 -04:00
8ae6544709 Use correct straight-use-package recipe format for a local repo 2024-05-23 00:53:32 -04:00
cdd892d4e1 Switch out llm for llama 2024-05-23 00:53:18 -04:00
5faa99158d Make the default llm chat aware that its inside of Emacs 2024-05-21 11:01:13 -04:00
b231ec9327 Add new autoloaded commands to use-package declaration and set default model 2024-05-21 10:27:02 -04:00
3d39b0c3df Fix llm output buffer sentinal formatting and add autoloads 2024-05-21 10:26:45 -04:00
df79eee678 Add llm-chat command and improve prompt code structure 2024-05-20 11:33:32 -04:00
c618c4d3ce Use llama3 as default llm 2024-05-17 13:30:27 -04:00
3c09eb3cbd Enable llm.el to work with ollama models 2024-05-17 13:30:09 -04:00
71c86332c5 Enable copilot in yaml- and json-ts-modes 2024-05-17 13:29:52 -04:00
87584357a9 Set some customizations for llm integration 2024-05-16 10:37:26 -04:00
f4da3fc9e2 Add interface to the llm command-line tool 2024-05-15 13:28:36 -04:00
ef0a072d18 Extend daily note to be able to prompt for date 2024-05-14 11:54:58 -04:00
33c8999722 Support more than 2 captured treesit nodes 2024-05-11 12:28:11 -04:00
9f4e0f88ad Use an alist to encapsulate terraform block metadata 2024-05-10 23:40:36 -04:00
e72ae38079 Fix terraform browse documentation command 2024-05-10 16:06:45 -04:00
da98498fd4 Add command to browse a URL or google the symbol at point 2024-05-10 16:06:41 -04:00
232f8053f0 Differentiate between resources and data for terraform devdocs eldoc 2024-05-10 12:31:41 -04:00
b0b5048176 Add devdocs-based eldoc for terraform 2024-05-09 14:38:14 -04:00
055bc788e5 Use gfm-mode for markdown files 2024-05-08 13:26:12 -04:00
9d967bfa7f Tell copilot that commit messages and forge posts are markdown 2024-05-08 13:25:56 -04:00
a274d3ba9b Add hcl and sql treesit parsers 2024-05-08 13:25:41 -04:00
650a90b812 Make origami-treesit a proper minor mode 2024-05-08 10:59:18 -04:00
889abf2606 Add folding for ruby hash pairs and fix folding for calls 2024-05-08 10:36:41 -04:00
a0c0f6d1e2 Add ruby support to origami-treesit and make folding level configurable 2024-05-07 16:58:51 -04:00
0209cf16c5 Make which-key more useful 2024-05-07 11:12:22 -04:00
12c22a5dfb Include rake tasks without descriptions in run-command recipe 2024-05-06 15:47:36 +00:00
e1e27ab1a2 Add yaml-pro keybinds 2024-05-06 11:04:58 -04:00
81c2ad6963 Fix navi behavior when path doesn't exist and autoloads 2024-05-06 10:02:59 -04:00
a9ea6b4b2f Enable treesit folding in regular yaml-mode 2024-05-05 20:36:28 -04:00
a544811fae Benchmark init and optimize it a bit 2024-05-04 23:05:38 -04:00
9fdc85de65 Fix straight use-package invocation for navi 2024-05-04 22:03:40 -04:00
f7c927bca1 Make origami-treesit more generic 2024-05-04 22:02:51 -04:00
81106aae04 Autoload Navi class definitions 2024-05-03 21:50:11 -04:00
7c67af0b5f Write a treesit-based origami parser for yaml 2024-05-03 21:40:25 -04:00
178b7038ca Add proper parent to embark navi keymap 2024-05-03 21:40:12 -04:00
3a74967ee3 Use yaml-ts-mode and yaml-pro-mode instead of yaml-language-server 2024-05-03 21:39:54 -04:00