An open API service indexing awesome lists of open source software.

https://github.com/kicamon/ranger.nvim

Ranger plugin for neovim
https://github.com/kicamon/ranger.nvim

neovim plug-in ranger vim

Last synced: 5 months ago
JSON representation

Ranger plugin for neovim

Awesome Lists containing this project

README

          

# ranger.nvim
Ranger lightweight plugin for neovim

### Screenshot
![Screenshot](./Screenshot.gif)

### Dependencies: [ranger](https://github.com/ranger/ranger)

### Install
**lazy.nvim**

```lua
{
"Kicamon/ranger.nvim",
lazy = true,
cmd = "Ranger",
config = function()
require('ranger').setup()
end
}
```

**vim-plug**

```vim
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
```lua
require('ranger').setup({
width = 0.8,
height = 0.8,
position = 'cc',
})
```

#### position
```
+--------------+-------------------+---------------+
| | | |
| tl | | tr |
| | | |
+--------------+ +---------------+
| |
| +-------------+ |
| | | |
| | cc | |
| | | |
| +-------------+ |
| |
+--------------+ +---------------+
| | | |
| bl | | br |
| | | |
+--------------+-------------------+---------------+
```

### License MIT