Ranger lightweight plugin for neovim
Dependencies: ranger
lazy.nvim
{
"Kicamon/ranger.nvim",
lazy = true,
cmd = "Ranger",
config = function()
require('ranger').setup()
end
}
vim-plug
Plug "Kicamon/ranger.nvim", {['on'] = 'Ranger' }}
lua require('ranger').setup()
open | description |
---|---|
Ranger |
Open files in buffers |
Ranger tabe |
Open files in tabs |
Ranger left |
Open the file in the left window |
Ranger down |
Open the file in the lower window |
Ranger up |
Open the file in the top window |
Ranger right |
Open the file in the right window |
defualt config
require('ranger').setup({
width = 0.8,
height = 0.8,
position = 'cc',
})
+--------------+-------------------+---------------+
| | | |
| tl | | tr |
| | | |
+--------------+ +---------------+
| |
| +-------------+ |
| | | |
| | cc | |
| | | |
| +-------------+ |
| |
+--------------+ +---------------+
| | | |
| bl | | br |
| | | |
+--------------+-------------------+---------------+