Skip to content

Kicamon/ranger.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ranger.nvim

Ranger plugin for neovim

Screenshot

Screenshot

Dependencies

ranger

Install

lazy.nvim

{
  "Kicamon/ranger.nvim",
  config = function()
    require('ranger').setup()
  end
}

vim-plug

Plug "Kicamon/ranger.nvim"
lua require('ranger').setup()

Usage

use command Ranger or shortcut keys

Configuration

defualt config

require('ranger').setup({
  win = {
    width = 0.8,
    height = 0.8,
    position = 'cc',
  },
  open = {
    ['edit'] = '<leader>re',
    ['tabedit'] = nil,
    ['split'] = nil,
    ['vsplit'] = nil,
  }
})

position

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

open

open description
edit open files in buffers
tabedit open files in tabs
split open files in horizontal split
vsplit open files in vertical split

License MIT

Releases

No releases published

Packages

No packages published

Languages