Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 823 Bytes

README.md

File metadata and controls

44 lines (30 loc) · 823 Bytes

xplr-zoxide.gif

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/zoxide.xplr ~/.config/xplr/plugins/zoxide
  • Require the module in ~/.config/xplr/init.lua

    require("zoxide").setup()
    
    -- Or
    
    require("zoxide").setup{
      bin = "zoxide",
      mode = "default",
      key = "Z",
    }
    
    -- Type `Z` to spawn zoxide prompt.