tri-pane.xplr
xplr plugin that implements ranger-like three pane layout support.
Installation
Install manually
-
Add the following line in
~/.config/xplr/init.lualocal 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/tri-pane.xplr ~/.config/xplr/plugins/tri-pane -
Require the module in
~/.config/xplr/init.luarequire("tri-pane").setup() -- or require("tri-pane").setup({ layout_key = "T", -- In switch_layout mode as_default_layout = true, left_pane_width = { Percentage = 20 }, middle_pane_width = { Percentage = 50 }, right_pane_width = { Percentage = 30 }, left_pane_renderer = custom_function_to_render_left_pane, right_pane_renderer = custom_function_to_render_right_pane })
Usage
If you have set as_default_layout = false, you need to switch to this mode manually by
pressing ctrl-w and then T.