Commit Graph

1235 Commits

Author SHA1 Message Date
1327019fdb Add rspec-dired-verify-marked for dired mode testing
Implemented `rspec-dired-verify-marked` function to run RSpec on files marked in dired mode. Bound the new function to the key "C-c , m" in `rspec-dired-mode-map`. This allows for batch testing of selected files within the dired interface, streamlining the testing process for multiple files.
2024-10-29 10:45:08 -04:00
951024ed40 Use rg for grep, find-grep and find-grep-dired 2024-10-29 10:44:55 -04:00
813d5f9e17 Merge branch 'master' of github.com:jdormit/dotfiles 2024-10-22 12:51:14 -04:00
7fb508a2d0 Set up web dev environment 2024-10-22 12:50:56 -04:00
ae4178f270 Make Ollama config pull models dynamically 2024-10-22 16:48:49 +00:00
6448c9f70e Merge branch 'master' of github.com:jdormit/dotfiles 2024-10-11 12:30:37 -04:00
3c178e80e4 Use tsx-ts-mode for TSX files 2024-10-11 12:30:23 -04:00
183bfafd95 Merge branch 'master' of github.com:jdormit/dotfiles 2024-10-04 12:27:45 -04:00
0aa619200f Add new mode hooks for markdown and js 2024-10-04 12:26:58 -04:00
ebab6d32b9 Use icons in dired 2024-10-02 11:17:37 -04:00
f132f9fa7b Set up nvm 2024-10-02 11:17:31 -04:00
6352fbb697 Use web-mode for astro 2024-09-19 10:39:40 -04:00
b04ecc05d1 Add cargo mode 2024-09-16 20:08:00 -04:00
63f8fb86c9 Add tinyllama 2024-09-16 19:54:07 -04:00
0ccb10c8e2 Add CSV mode 2024-09-12 20:19:12 -04:00
ef5b7f03d6 Add commmand to run rspec on files changed from the main branch 2024-09-12 20:17:14 -04:00
fd961c9416 Add some autoloads 2024-09-12 20:17:08 -04:00
2f4d415cba Add anthropic gptel backend 2024-09-09 11:57:42 -04:00
5f11045ae0 Add ability to edit rspec command before running 2024-09-06 19:29:18 -06:00
e1be78e05f Enable rspec-dired-mode in dired buffers 2024-09-06 19:29:05 -06:00
d3a2bcd6f5 Add run-command comint runner 2024-09-05 06:18:59 -06:00
ad1ba5f7fa Use rspec-mode to run Ruby tests 2024-09-05 06:18:36 -06:00
1823e4bcf6 Fontify markdown source blocks 2024-09-05 06:18:27 -06:00
4af3063f30 Close diff when PR is submitted 2024-09-05 06:18:19 -06:00
47727d73f9 Call apheleia-format-buffer normally when there's no region 2024-08-29 13:25:24 -04:00
d5030f749f Bind consult-history in minibuffer 2024-08-28 09:42:12 -04:00
9a1f0aea68 Trim output before inserting 2024-08-28 09:41:54 -04:00
59ab43f820 Add command to format code with gptel 2024-08-22 16:02:54 -04:00
af5e7ab1e0 Add custom apheleia function for formatting regions
Implemented a custom `apheleia` function to format selected regions or entire buffer using Apheleia, handling temp files and regions. Updated keybinding for `C-c f` to use this new function.
2024-08-22 13:01:48 -04:00
685230b4a8 Autoload gptel-context commands manually 2024-08-20 11:06:37 -04:00
d1147a81c3 Default to creating a new buffer when invoking gptel 2024-08-20 10:18:34 -04:00
6898a3e8e5 Add LLM-based PR review
Added `gptel-pr-review` to `init-ai.el` for reviewing pull requests with specific prompts using gptel. Introduced `forge-pullreq-diff` in `init-git.el` to retrieve PR diffs as strings. These changes integrate AI capabilities for improved PR feedback and comment functionality.
2024-08-19 15:37:29 -04:00
e2538b3666 Delete outdated packages 2024-08-19 12:02:37 -04:00
79029fc03b Fix loading of projectile-command-map 2024-08-19 12:02:22 -04:00
3a5d946938 Increase Ollama context window and override gptel--request-data
Added a custom variable `gptel-ollama-context-window` to specify the number of characters for Ollama requests and overridden the `gptel--request-data` method to include this context window in the request data.
2024-08-19 12:01:56 -04:00
d2b7817dc1 Add optional region support to aimenu
This change modifies the function aimenu-get-buffer-with-line-numbers to accept optional start and end arguments, allowing it to add line numbers to a specified region instead of the entire buffer. Additionally, it adjusts usage in aimenu-show-outline to handle active region if present.
2024-08-15 00:04:09 -04:00
e2580c7abe Fix aimenu use-package declaration 2024-08-13 23:30:12 -04:00
555d78eadc Set unique-buffer-name-style 2024-08-13 20:15:07 -04:00
4d022e32d2 Refine commit message prompt to be more specific
Updated the prompt text to include "Be specific" to improve clarity and detail in generated commit messages.
2024-08-12 16:31:54 -04:00
6b4430b854 Optimize Emacs startup and UI settings
Streamlined startup by optimizing garbage collection, UI elements, and performance settings. Moved redundant configurations from init.el to early-init.el for better startup efficiency. Made adjustments to init-ui.el for better tool-bar handling post-init.
2024-08-12 16:31:11 -04:00
f32fbd670b Add optional instruction input for custom outlines
Modified aimenu function to accept an optional instruction argument, allowing users to provide specific instructions for generating the outline. Updated related logic to handle the new argument and adjusted the system message accordingly.
2024-08-12 12:34:36 -04:00
73897be017 Use gpt-4o-mini for aimenu 2024-08-12 11:49:00 -04:00
862c55dfdc Require gptel 2024-08-12 11:48:53 -04:00
76bea3d41a Add keybinding for gptel-quick to ai-map 2024-08-12 11:39:07 -04:00
71861b026a Add aimenu for AI-powered imenu outlines
This commit introduces aimenu, a new package that generates imenu-like outlines using a language model. The new package includes functions for generating and handling outlines, managing cache, and interacting with the user to select headers.
2024-08-12 11:38:59 -04:00
c622de4d80 Add gemma2:2b model option 2024-08-10 22:58:47 -04:00
7c9f4475ce Add swift config 2024-08-10 22:58:17 -04:00
4b7e74afa5 Don't use first person in system prompt 2024-08-07 13:10:54 -04:00
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