kelly-lin / ranger.nvim Goto Github PK
View Code? Open in Web Editor NEWRanger plugin for neovim
License: MIT License
Ranger plugin for neovim
License: MIT License
Hi,
This is a great plugin, I enjoy using it much more than vinegar/dirvish.
One thing I'd want though is the possibility for ranger taking only the space of the window it was invoked on.
So if I have a split with 2 files open and I invoke "open" on the left pane, only left pane is taken by ranger.
Ideally I would be able to use C-w C-l and C-w C-h to switch between the panes like I would normally do.
Hi,
thanks for the plugin.
I tried binding <C-s>
to OPEN_MODE.split, but it crashes my terminal. Any idea why?
Regards
Hi,
I am not able to open the files in the editor by <CR>
or l
or any other opening commands.
I am using neo-tree also as filemanger. I am attaching the video to get more clarity. If you could help debug the issue . it would be much appreciated.
My Neovim version is the lates stable and i have updated ranger and the neovim plugins
Hello there. Hope you're doing well. Thank you for creating ranger-nvim
; it's the best ranger
plugin for me.
As titled, I'd like the feature to open ranger
in a floating window instead of default fullscreen, like below:
The above is achieved by using another plugin that supports ranger
called fm-nvim. The following config is inspired by fm-nvim
and maybe it can serve as a starting point?
require("ranger-nvim").setup({
ui = {
-- Default UI ("full" or "float")
default = "float",
float = {
-- Floating window border (see ':h nvim_open_win')
border = "none",
-- Highlight group for floating window/border (see ':h winhl')
float_hl = "Normal",
border_hl = "FloatBorder",
-- Floating Window Transparency (see ':h winblend')
blend = 0,
-- Num from 0 - 1 for measurements
height = 0.8,
width = 0.8,
-- X and Y Axis of Window
x = 0.5,
y = 0.5,
},
},
})
Any input is much appreciated. Thank you!
i usually don't want to edit individual files unless i am configuring small applications. this plugin is marvelous for quick navigation, but it would be amazing if i could switch projects by using this to open a folder in nvim, this might already exist, but i did not see it documented.
Hey, thanks for making this. Just a quick question, when deleting a file, is there some way to make sure the buffer for the deleted file is also closed?
When opening a ranger window, it uses the default nvim UI elements (ruler, statusbar, etc) that are not necessary in ranger. This can be easily fixed by using the "minimal" style when creating the ranger window with vim.api.nvim_open_win. The following patch solves this minor issue:
winStyle.txt
Hi, I'm comming over from rnvimr
and since I like simplicity and don't need most of the features of it, I like this plugin a lot, but one feature I find missing.
There is no way to hide the ranger window, only to close it. This is often unwanted when, for example, I want to hop between files and have open multiple tabs in ranger, where I operate with the files. rnvimr
has this as default behaviour, where to close it you have to explicitly execute :q
in ranger.
Usually, when I open a terminal and press, e.g., ":mkdir test" or ":touch test.py", I see this in the window below. But when I use this plugin, I don't see anything that I type. This may also relate to the fact, that my color scheme does not seem to be loaded?
Left image: "normal" ranger.
Right image: ranger startet from nvim.
I am using Lazy as a package manager. I use Neovim v0.9.1.
Hello! I hope this message finds you well. I am writing to inform you that I have fixed an issue in the project where paths with spaces were not supported. I have submitted a merge request and would be grateful if you could kindly review it and consider merging it when you have a moment. Thank you very much for your time and consideration.
Hi! First of all I want a thank you for the plugin, it's working perfectly and it fits my needs of a simple integration of ranger in neovim, perfectly. Without dependencies and so on. Very cool!!
I wanted to suggest to add a neovim command. I wasn't needing it, because the keymap that you provided works perfectly, but it was a little hacky to integrate it with Alpha.nvim. So I made this line to make ":Ranger" a command to add it:
vim.cmd('command! Ranger lua require("ranger-nvim").open(true)')
Thank you for your time!
Hi, its a nice integration of ranger into neovim.
Right now, when you enter ranger from neovim, the keymaps defined in neovim still persists in ranger, and it results in a lot of delays and misstypings.
For example:
Could you make it possible to disable all the keymaps from neovim while being in ranger mode ?
It could be a property in setup() function like disable_neovim_keymaps = true
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.