Skip to content

sayanarijit/dragon.xplr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

xplr-dragon.gif

Drag and drop files using dragon.

Requirements

Installation

Install manually

  • Add the following line in ~/.config/xplr/init.lua

    local home = os.getenv("HOME")
    package.path = home
    .. "/.config/xplr/plugins/?/init.lua;"
    .. home
    .. "/.config/xplr/plugins/?.lua;"
    .. package.path
  • Clone the plugin

    mkdir -p ~/.config/xplr/plugins
    
    git clone https://github.com/sayanarijit/dragon.xplr ~/.config/xplr/plugins/dragon
  • Require the module in ~/.config/xplr/init.lua

    require("dragon").setup()
    
    -- Or
    
    require("dragon").setup{
      mode = "selection_ops",
      key = "D",
      drag_args = "",
      drop_args = "",
      keep_selection = false,
      bin = "dragon",
    }
    
    -- Select files and type `:sD` to drag
    -- Type `:sD` without selecting anything to drop

About

dragon integration for xplr

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages