Send files to running Neovim sessions using nvim-ctrl.
-
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.