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
- Host: GitHub
- URL: https://github.com/kicamon/ranger.nvim
- Owner: Kicamon
- License: mit
- Created: 2023-12-05T15:21:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-22T18:37:57.000Z (over 1 year ago)
- Last Synced: 2025-03-29T14:06:11.638Z (about 1 year ago)
- Topics: neovim, plug-in, ranger, vim
- Language: Lua
- Homepage:
- Size: 6.4 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ranger.nvim
Ranger lightweight plugin for neovim
### Screenshot

### 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