Welcome to Fabric.el, a wrapper around Fabric AI into your Spacemacs environment. Supercharge your text editing workflow by simplifying the application of AI-driven patterns directly within your editor.
- AI Integration: Directly integrates with Fabric AI, bringing advanced AI capabilities to your fingertips.
- Effortless Pattern Application: Apply AI patterns to your entire buffer or just a selected region with ease.
- Workflow Efficiency: Custom keybindings designed for Spacemacs enhance your workflow, making AI tools more accessible than ever.
To get started with Fabric.el, follow these simple steps:
- Clone the Repository: First, clone this repository into your
.emacs.d/private
directory or any preferred location for Spacemacs packages.git clone https://github.com/velocitatem/fabric.el.git
- Load the Package: Add the following lines to your
.spacemacs
orinit.el
file to load the package:(load "/path/to/fabric.el/fabric.el")
- Configure Keybindings (Optional): Customize your keybindings as needed, following the predefined examples in the package.
Imagine you're working on a large text file and want to apply a specific AI pattern to enhance its content. With Fabric.el, you can simply:
- Write whatever prompt you want into a buffer or highlight a region you want to send to the LLM.
- Use
fabric-run-pattern-on-buffer
to apply the selected pattern to the entire buffer orfabric-run-pattern-on-region
for a specific section. - Watch as Fabric AI transforms your content, all within your Spacemacs environment in a separate buffer of course.
We welcome contributions from everyone! If you're interested in improving Fabric.el or adding new features, please fork the repository, make your changes, and submit a pull request. Let's make Fabric.el even better together!
Enhance your Spacemacs experience with AI today. Try Fabric.el and take your productivity to new heights!
made with fabric