ranger.vim
ranger.vim copied to clipboard
Add :RangerCD command
What's the problem?
It would be nice if I could use ranger.vim
to change directories in a more visual way, which is currently the only reason I still use NerdTree. A fork of ranger.vim, https://github.com/rafaqz/ranger.vim, provides this feature, but I like this fork's simplicity.
How does this fix it?
This change enhances OpenRangerIn()
so that it can be made to do more than just choose files via Ranger. It also adds a command, :RangerCD
that spawns Ranger and changes to the last directory encountered.
That would be a really nice feature !
It is really boring to need to use first . ranger
to go to the correct directory and then to start vim. This is really the command I need !
Sadly, the other plugin you mentioned : rafaqz/ranger.vim does not allow you to keep netrw as the default, so it erases :Lexplore
and :Hexplore
...
This feature would be really useful !