Skip to content

e2r2fx/codecompanion-fast-apply.nvim

Repository files navigation

codecompanion-fast-apply.nvim

Description

A tiny CodeCompanion extension that provides a fast_apply tool to apply code edits using morphllm fast apply.

Motivation

Making code changes with any model other than Claude is a pain. The example below is achieved with Gemini 2.5 Flash.

Usage

codecompanion-fast-apply.mp4

Installation (lazy.nvim):

{
  "olimorris/codecompanion.nvim"",
  dependencies = { "e2r2fx/codecompanion-fast-apply.nvim" },
  opts = {
    extensions = {
      fast_apply = {
        enabled = true,
        opts = {
          adapter = "openai_compatible",
          model = "morph-v3-large",
          url = "https://api.morphllm.com/v1",
          api_key = "cmd:some command to get your api key",
        },
      },
    }
  }
}

Quick notes

Nix users

This repository provides a Nix flake. To enter the development shell and run the test suite:

nix develop --impure --accept-flake-config --command devenv test

If you don't use Nix just run make test

License: MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors