Skip to content

Kicamon/ranger.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ranger.nvim

Ranger lightweight plugin for neovim

Screenshot

Screenshot

Dependencies: ranger

Install

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()

command

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

Configuration

defualt config

require('ranger').setup({
  width = 0.8,
  height = 0.8,
  position = 'cc',
})

position

+--------------+-------------------+---------------+
|              |                   |               |
|      tl      |                   |       tr      |
|              |                   |               |
+--------------+                   +---------------+
|                                                  |
|                 +-------------+                  |
|                 |             |                  |
|                 |     cc      |                  |
|                 |             |                  |
|                 +-------------+                  |
|                                                  |
+--------------+                   +---------------+
|              |                   |               |
|     bl       |                   |       br      |
|              |                   |               |
+--------------+-------------------+---------------+

License MIT

Releases

No releases published

Packages

No packages published

Languages