kelly-lin / ranger.nvim

Ranger plugin for neovim
MIT License
147 stars 11 forks source link

[feature request] Use only window that "open" was invoked on #8

Open PiotrBosak opened 1 year ago

PiotrBosak commented 1 year ago

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.

kelly-lin commented 1 year ago

Hey @PiotrBosak,

Sure! This should be pretty straight forward to implement. I will probably leave how it is currently as the default behavior but add in a mode parameter to open so people can opt in to it.

I will leave this issue open so I can keep track and close it when I implement it.

marcelarie commented 1 year ago

I would love this to be implemented.