Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Neovim
  3. code_runner.nvim

code_runner.nvim

MITLua

A blazing-fast Neovim plugin written in pure Lua that runs code in multiple modes and manages project-specific commands.

GitHubGitHub
688 stars38 forks0 contributors

What is code_runner.nvim?

Code Runner is a Neovim plugin that allows developers to execute code directly within the editor across multiple programming languages. It solves the problem of switching between terminals or IDEs by providing a fast, configurable runner with project-aware commands. The plugin supports various display modes and is compatible with VS Code's configuration format.

Target Audience

Neovim users who frequently run code snippets or projects and want a fast, integrated execution environment without leaving the editor. It's ideal for developers working with multiple languages or complex project setups.

Value Proposition

Developers choose Code Runner for its blazing-fast performance, extensive customization options, and seamless integration with Neovim. Unlike heavier IDE runners, it remains lightweight while offering advanced features like project management, interactive arguments, and custom hooks.

Overview

Neovim plugin.The best code runner you could have, it is like the one in vscode but with super powers, it manages projects like in intellij but without being slow

Use Cases

Best For

  • Running code snippets in multiple programming languages without leaving Neovim
  • Managing project-specific build and run commands in a lightweight editor
  • Executing code in floating windows or split terminals for better workflow
  • Migrating from VS Code Code Runner to a faster Neovim-based solution
  • Adding interactive command-line argument prompts for compiled languages
  • Creating custom execution hooks for complex workflows like PDF previews

Not Ideal For

  • Teams relying on graphical debuggers or integrated testing suites with breakpoints
  • Users wanting zero-configuration runners with pre-set templates for all languages
  • Developers working primarily in editors other than Neovim or preferring GUI-based IDEs

Pros & Cons

Pros

Blazing Fast Execution

Written in pure Lua, it runs code directly in Neovim without the overhead of external IDEs or Electron bloat, ensuring minimal latency.

Flexible Display Modes

Supports floating windows, tabs, splits, toggle terminals, and tmux panes, allowing users to tailor output viewing to their workflow.

VS Code Config Compatibility

Uses the same JSON configuration format as the VS Code Code Runner extension, easing migration and reducing setup time for former VS Code users.

Project-Aware Command Management

Allows defining project-specific run commands with patterns, similar to IDE features, without adding performance overhead.

Cons

Dependency on External Plugins

Key modes like toggle runner require installing betterTerm.nvim, and tmux pane support needs vimux, adding setup complexity and potential compatibility issues.

Manual Configuration Overhead

Users must write shell commands for each filetype and project in Lua or JSON, which can be error-prone and time-consuming compared to plug-and-play solutions.

Limited Out-of-the-Box Support

Does not include pre-configured commands for all languages; users need to set up runners from scratch, which may deter beginners or those needing quick starts.

Open Source Alternative To

code_runner.nvim is an open-source alternative to the following products:

V
VS Code Code Runner

Code Runner is a Visual Studio Code extension that allows users to run code snippets or files in multiple programming languages directly within the editor.

Frequently Asked Questions

Quick Stats

Stars688
Forks38
Contributors0
Open Issues6
Last commit18 days ago
CreatedSince 2021

Tags

#neovim-config#developer-tools#code-runner#workflow-automation#terminal-integration#nvim-lua#neovim-plugin#neovim-configuration#project-management#nvim-plugin#neovim#lua#nvim#vim-plugin

Built With

N
Neovim
L
Lua

Included in

Neovim20.6k
Auto-fetched 1 day ago

Related Projects

overseer.nvimoverseer.nvim

A task runner and job management plugin for Neovim

Stars1,894
Forks101
Last commit27 days ago
sniprunsniprun

A neovim plugin to run lines/blocs of code (independently of the rest of the file), supporting multiples languages

Stars1,707
Forks52
Last commit2 months ago
iron.nvimiron.nvim

Interactive Repl Over Neovim

Stars1,349
Forks109
Last commit4 months ago
molten-nvimmolten-nvim

A neovim plugin for interactively running code with the jupyter kernel. Fork of magma-nvim with improvements in image rendering, performance, and more

Stars1,195
Forks65
Last commit3 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub