run.nvim

snazzy floating window for file/script execution

MIT License

Stars
15

Installation

  • Packer
use 'Manas140/run.nvim'
  • Lazy
  {
    dir='~/Projects/run.nvim',
    config = function ()
      require('run').setup()
    end
  }
  • Vim Plug
Plug 'Manas140/run.nvim'

Configuration

  • Use Default
require('run').setup()
  • Configure
require("run").setup {
  ui = {
    gap = [0.1-0.9],
    border = "[none|single|double|rounded|solid|shadow]",
    border_cl = "Comment", -- provide a highlight 
    bg = "Normal", -- provide a highlight
  },
  cmd = {
    -- variables, $path for entire path, $dir for current dir, $name for name without extention
    filetype = "command $path $dir $name",
  },
}

Usage

:Run

References