Skip to content

πŸš€ Elevate your Neovim game with this slick plugin! Select code in visual mode, unleash instant execution for seamless debugging and lightning-fast testing. Your coding flow just got a turbo boost! πŸ’»βœ¨ #Neovim #PluginMagic

License

Notifications You must be signed in to change notification settings

AxtinM/quickrun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

QuickRun Neovim Plugin

Supercharge your Neovim experience with QuickRun, a versatile plugin designed for efficient code execution in visual mode. Save time on debugging and testing with a seamless integration that currently supports Python, Lua, JavaScript, and TypeScript. Expect more languages to join the party in future updates!

Demo

QuickRun Demo

Features

  • Visual Mode Awesomeness: Select your code, hit a keystroke, and watch the magic happen.
  • Language Support: Current support for Python, Lua, JavaScript, and TypeScript.
  • Packer Integration: Effortless installation using Packer. Keep your setup clean and organized.

Installation

Packer

Add the following to your Neovim configuration file:

use {'axtinm/quickrun', config = function() require('quickrun').setup() end}

Setup

Add this to your nvim config

    local qrun = require("quickrun")

    -- Map a key in visual mode
    vim.keymap.set('x', '<leader>r', qrun.run, {})
    -- Map a key in visual line mode
    vim.keymap.set('x', '<leader>R', qrun.run, {})

Custom Configuration

if you want to customize your own quickrun display, then you can delete config (key=value) in you're packer file

Packer

use {'axtinm/quickrun'}

Config File Setup

    local qrun = require("quickrun")
    qrun.setup({
        style = "popup", -- 'popup' or 'attached'
        position = "bottom", -- 'bottom', 'top', 'left', 'right'
        width = 80,
        height = 24,
        })
    -- Map a key in visual mode
    vim.keymap.set('x', '<leader>r', qrun.run, {})
    -- Map a key in visual line mode
    vim.keymap.set('x', '<leader>R', qrun.run, {})

Usage

  1. In visual mode, select the code you want to execute.
  2. Press the designated key.
  3. Watch QuickRun do its thing!

Future Roadmap

  • Expanded Language Support: More languages will be added based on user demand.
  • User-Driven Improvements: Open to suggestions and contributions! Share your ideas and let's make QuickRun even better.

Contribution

Feel free to fork this repository, contribute improvements, or report issues. Your feedback is invaluable in making QuickRun the go-to tool for Neovim enthusiasts.

About

πŸš€ Elevate your Neovim game with this slick plugin! Select code in visual mode, unleash instant execution for seamless debugging and lightning-fast testing. Your coding flow just got a turbo boost! πŸ’»βœ¨ #Neovim #PluginMagic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages