Skip to content

sayanarijit/nvim-ctrl.xplr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

nvim-ctrl-xplr.gif

Send files to running Neovim sessions using nvim-ctrl.

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

    require("nvim-ctrl").setup()
    
    -- Or
    
    require("nvim-ctrl").setup{
      bin = "nvim-ctrl",
      mode = "default",
      keys = {
        ["ctrl-e"] = "tabedit",
        ["e"] = "e",
      },
    }
    
    -- Type `e` and enjoy.

About

Send files to running Neovim sessions using nvim-ctrl

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages